1 votos

Salida extraña del servidor de mapas de REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

Cuando uso REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1 en mi navegador con el mapserv obtengo lo siguiente:

$ cat ~/Downloads/ms

ELF>@@!@8  @@@@888        TTTDDPtdLLQtdRtd  xx/lib64/ld-linux-x86-64.so.2GNUGNU@%(/|jx(|CCEj|2b
                                  :
                                    KqX
                                                  8lw=R ' "C `l !3    e   g  a
 ibmapserver.so.2_Jv_RegisterClasses_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTablemsIO_installHandlersmsResetErrorListmsFreeMapServObjmsDebugloadParamsmsCGIWriteErrormsGetVersionmsCGIWriteLogmsSetupmsGetGlobalDebugLevelmsCGIDispatchRequestmsCGILoadMapmsAllocMapServObjmsCleanupmsIO_setHeaderEnabledlibfcgi.so.0FCGI_AcceptFCGI_freadFCGI_fwrite_fcgi_sFlibc.so.6fflushexitstrncmpsignalputsputchargetpidputenvstdoutgettimeofday__cxa_finalize__libc_start_main_edata__bss_start_end/usr/lib          _used__libc_csu_fini__data_startmsCleanupOnSignalGLIBC_2.2.5ui        

        ( 0 8 @ H P X ` h p x        ! " # $HHE Ht+H5 % @% h% h% h% h% h% h% h% hp% `% h    P% h
@% h
          0% h
% h% h% h%z h%r h%j h%b h%Z h%R h%J hp%B h`%: hP%2 h@%* h0%" h % hAWAVAUATIUSHxt1=1QLv
Hw2H=HLHL9uH5
 HL$@HL$`HPHD$(H HD$hHT$HHHT$PLcvRH1H*L$H*TH*D$H=o^^XH*
H}-t}hj}`H=q                                                                    $X\1E<v}H5
rH=H=zH=nH=bH=V1<n^}hT}J1E1H=H;@LHE1111DpLAGHHx%HHCH~
H*D$PH=D^XH*L$0X\1HUH=KHH,
                                                                              H8D1}HULAD55
                                                                                                                             H=K1
lH=@f.DH                                                                                                                       1I^HHPTLH
 H=
 UH)HHw]H
 Ht]@H
 H=
 UH)HHHH?HHu]HG
 Ht]H@=m
 u'H=7
 UHt
      H=J
 h]D
 fffff.H= t&H
 HtUH= H]WKf.1H11L1DHHHcHH@HHHcHH@AWAAVIAUIATL% UH- SL)1HHHtLLDAHH9uH[]A\A]A^A_ff.HHREQUEST_METHOD=GET--helpOptions :fcgiCGI Request %d on process %d
QUERY_STRING=Usage: mapserv [--help] [-v] [-nh] [QUERY_STRING=value]  -h, --help              Display this help message.  -v                      Display version and exit.  -nh                     Suppress HTTP headers in CGI mode.  QUERY_STRING=value      Set the QUERY_STRING in GET request mode.mapserv request processing time (msLoadMap not incl.): %.3fs
mapserv total execution time: %.3fs
.A;h @`@zRx
                                                         *zRx
                                                                           $ FJ
\`DthD4GBBB B(D0C8DD8eBEE E(H0H8M@l8A0A(B BB ?;*3$"DX
                                                                                        `S
  o                                                                                      

   oo
ooZ
o &6FVfv&6FVfv  41ff45f23492ece94952837828d17cc05e8552.debug`7.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.jcr.dynamic.got.data.bss.gnu_debuglink
                                                                                                                                                88TT !tt$4o>
           FNoZ
Z
d[o

 j

t

       ~yB LPPT             4H 

Es la primera vez que me ocurre algo así con Mapserver, instalé la versión 7.0.7 en Linux mint:

$ dpkg -l | grep mapserver
ii  cgi-mapserver                                               7.0.7-1~trusty3                                      amd64        CGI executable for MapServer
ii  libmapserver2                                               7.0.7-1~trusty3                                      amd64        Shared library for MapServer
ii  mapserver-bin                                               7.0.7-1~trusty3                                      amd64        MapServer utilities

Actualización:

$ locate libmapserver
/usr/lib/x86_64-linux-gnu/libmapserver.so.2 (symbolic link to `libmapserver.so.7.0.7')
/usr/lib/x86_64-linux-gnu/libmapserver.so.7.0.7

http://localhost/cgi-bin/mapserv
No query information to decode. QUERY_STRING is set, but empty.

http://localhost/cgi-bin/mapserv?map=/mnt/WEBs/gdb.web/extras/map/es/capas.map
mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided.

1voto

Subimage Puntos 1492

Solución:

Añade la ppa de NextGIS ( https://launchpad.net/~nextgis/+archive/ubuntu/ppa ) y actualizar la versión del servidor de mapas:

$ dpkg -l | grep mapserv 
ii  cgi-mapserver                                               7.2.1+2-0trusty1                                     amd64        CGI executable for MapServer
ii  libmapserver1                                               7.2.1+2-0trusty1                                     amd64        Shared library for MapServer
ii  mapserver-bin                                               7.2.1+2-0trusty1                                     amd64        MapServer utilities

i-Ciencias.com

I-Ciencias es una comunidad de estudiantes y amantes de la ciencia en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X