[mapserver-users] seemingly sucessfully compiled mapserver 7.0.1 on ubuntu 14.04 - but NO - gives binary output ?

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Tue Apr 5 00:20:50 PDT 2016


Hello Karsten,

looks like your Webserver-CGI-Config isn't correct. Is the directory
configured as executable?

Jörg

Am 05.04.2016 um 08:50 schrieb karsten:
> Hi All,
>  
> I just seemingly sucessfully compiled mapserver 7.0.1 on Ubuntu 14.04
> and can getv the follwoing output  from the executable:
> /usr/lib/cgi-bin# ./mapserv -v
> MapServer version 7.0.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ
> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV
> SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
> SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> Howvere when I try to get a get aresponse to a request e.g.
> 136.243.250.62/cgi-bin/mapserv
> or aslo when I try a getcapabiliteis request like
> http://136.243.250.62/cgi-bin/mapserv?map=/var/www/mapdata/ccrp/mapfiles/fingermillet2.map&VERSION=1.1.1&REQUEST=getCapabilities&SERVICE=wms
> I always get a 'binary file back' output like below the line . Would
> anybody know what could have gone wrong or where to start figuring this
> out ?
>  
> Cheers
> Karsten
>  
> 
> Karsten Vennemann
> Terra GIS LTD
> 
> .----------------binary output below? -----------------
> 
> ELF          >    ð@     @       P"          @ 8   @ 
       
> @       @ @     @ @     ø      ø                   8     
> 8@     8@     
       
                              @      
> @     
      
                    ð
      ð
`     ð
`          
> (                    
      
`     
`     ð      ð     
>              T      T@     T@     D       D             
> Påtd   È      È@     È@     <       <             
> Qåtd                                                  Råtd  
> ð
      ð
`     ð
`                       
> /lib64/ld-linux-x86-64.so.2          GNU                
>       GNU 
O
 ~a¢; ¼k*BUÍš~6›   
         €!
> ˆ @
   "   *  
> j CÖºã’|(
Œ
CEÕìjš|2bÛíØqX
8ò‹
ÚÍ㞸ñ
:­KãÀêÓï
âž Ñ”ó                       
> µ                                             Ï  
>                    š                      e                    
>                       m                    
> /                       Â                       
>                    –                     Y                    
> l                      ¥                      å                     
>>                       `                     9 
>                    û                      £                    
> Ý                      ª                     
                    
> R                       t                     / 
>                                         y                    
> ’                      b    è `             Ï   
> !`             ˆ     !`            ¼    ø `             ·  
>  $@           h  
>  ð@             à    ø `                 !`            o  
>  @@     e       y   
 
> @             d     è `             ‘    À@            \   
> ´@             R  
>  °@              
>  Ý@     G        libmapserver.so.2 _ITM_deregisterTMCloneTable
> __gmon_start__ _Jv_RegisterClasses _ITM_registerTMCloneTable
> msIO_installHandlers msFreeMapServObj msDebug loadParams msCGIWriteError
> msIO_fprintf msGetVersion msCGIWriteLog msSetup msGetGlobalDebugLevel
> msCGIDispatchRequest msCGILoadMap msAllocMapServObj msCleanup
> msIO_setHeaderEnabled libc.so.6 fflush exit strncmp signal puts putchar
> putenv stdout stderr gettimeofday strcmp __libc_start_main _edata
> __bss_start _end
> /src/ms/mapserver-7.0.1/build:/usr/local/lib:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> __libc_csu_fini __data_start __libc_csu_init msCleanupOnSignal
> _IO_stdin_used GLIBC_2.2.5                                      
>                                O        
> ui           ø`                    !`                   
> !`        %            `                     `                  
> ( `                   0 `                   8 `                  
> @ `                   H `                   P `                   
> X `       
>            ` `        
           h `        
           p `       
>            x `                   € `                   ˆ `       
>             `                   ˜ `                     `    
>               ¨ `                   ° `                   ¸
> `                   À `                   È `                   Ð
> `                   Ø `        
           à `       
> 
           HƒìH‹Õ  H…Àtèƒ   HƒÄà              ÿ5  ÿ%Ä  @
> ÿ%  h    éàÿÿÿÿ%º  h   éÐÿÿÿÿ%²  h   éÀÿÿÿÿ%ª  h  
> é°ÿÿÿÿ%¢  h   é ÿÿÿÿ%š  h   éÿÿÿÿ%’  h   é€ÿÿÿÿ%Š  h  
> épÿÿÿÿ%‚  h   é`ÿÿÿÿ%z  h    éPÿÿÿÿ%r  h
>    é@ÿÿÿÿ%j <mailto:é@ÿÿÿÿ%j>  h
   é0ÿÿÿÿ%b  h
   é ÿÿÿÿ%Z  h
>    éÿÿÿÿ%R  h   é ÿÿÿÿ%J  h   éðþÿÿÿ%B  h   éàþÿÿÿ%:  h  
> éÐþÿÿÿ%2  h   éÀþÿÿÿ%*  h   é°þÿÿÿ%"  h   é þÿÿÿ%  h  
> éþÿÿÿ%  h   é€þÿÿÿ%
>   h   épþÿÿÿ%  h   é`þÿÿÿ%ú  h   éPþÿÿ1íI‰Ñ^H‰âHƒäðPTIÇÀ°@
> HÇÁ@@ HÇÇ$@ ègÿÿÿôfD  ¸ÿ ` UH-ø ` HƒøH‰åw]ø    H…Àtô]¿ø `
> ÿà€    ¸ø ` UH-ø ` HÁøH‰åH‰ÂHÁê?HÐHÑøu]ú    H…Òtô]H‰Æ¿ø `
> ÿ†   €=y   uUH‰åè~ÿÿÿ]Æf  óÃ@ Hƒ=H   t
¸    H…ÀtU¿ 
`
> H‰åÿÐ]é{ÿÿÿ ésÿÿÿUH‰åHƒì‰}üº    ¾    ¿    èþÿÿH‹  ¾È@ H‰Ç¸   
> è;ýÿÿè–þÿÿ¿    è
þÿÿUH‰åSHƒìh‰}œH‰uÇE¤   HÇE¨   
> è(þÿÿ…ÀtH‹E¨H‰Çè¸ýÿÿèSþÿÿ¿    èÉýÿÿè´ýÿÿƒøvHE°¾   
> H‰Çè^ýÿÿÇE    é‹  ‹E H˜HÅ    H‹EHÐH‹ ¾ß@
> H‰Çè®ýÿÿ…Àu&èýÿÿH‰ÇèÝýÿÿH‹6  H‰Çè
ýÿÿ¿    èTýÿÿ‹E H˜HÅ   
> H‹EHÐH‹ ¾â@ H‰Çè`ýÿÿ…ÀuÇE¤    ¿    è+ýÿÿéû   ‹E H˜HÅ    H‹EHÐH‹ º
>    ¾æ@ H‰Çè=üÿÿ…Àu.¿ô@ èoýÿÿ‹E H˜HÅ    H‹EHÐH‹ H‰ÇèPýÿÿé   
> ‹E H˜HÅ    H‹EHÐH‹ ¾@ H‰ÇèÇüÿÿ…Àt(‹E H˜HÅ    H‹EHÐH‹ ¾
@
> H‰ÇèŸüÿÿ…ÀuP¿@ èÑüÿÿ¿
>    è÷üÿÿ¿P@ è½üÿÿ¿`@ è³üÿÿ¿˜@ è©üÿÿ¿Ð@ èŸüÿÿ¿@ è•üÿÿ¿   
> èüÿÿƒE ‹E ;EœŒiþÿÿ¾Ý@ ¿
>    èlûÿÿ¾Ý@ ¿   è]ûÿÿèHüÿÿH‰E¨H‹E¨‹U¤‰PH‹E¨H‹XH‹E¨H‹@A¸    ¹   
> º    ¾    H‰Çèíúÿÿ‰CH‹E¨H‹@‹@ƒøÿuH‹E¨H‰ÇènûÿÿëpH‹E¨H‰Çè
> ûÿÿH‹U¨H‰BH‹E¨H‹@H…ÀuH‹E¨H‰Çè?ûÿÿëAH‹E¨H‹@‹€H
  ƒø~HEо   
> H‰ÇèéúÿÿH‹E¨H‰ÇèMûÿÿ…Àt
> H‹E¨H‰ÇèýúÿÿH‹E¨H‹@H…Àt{H‹E¨H‹@‹€H
> <mailto:H‹E¨H‰ÇèýúÿÿH‹E¨H‹@H…Àt{H‹E¨H‹@‹€H>
 
> ƒø~hHEྠ   H‰Çè›úÿÿH‹EàòH*ÈH‹EèòH*Àòa 
> ò^ÂòXÁH‹EÐòH*ÐH‹EØòH*Èò
?  ò^ËòXÊò\Á¿X@ ¸  
> èDûÿÿH‹E¨¾    H‰Çè³ùÿÿH‹E¨H‰Çè×ùÿÿèbúÿÿƒøvhHEÀ¾   
> H䂏
úÿÿH‹EÀòH*ÈH‹EÈòH*ÀòÒ 
> ò^ÂòXÁH‹E°òH*ÐH‹E¸òH*Èò
°  ò^ËòXÊò\Á¿˜@ ¸  
> èµúÿÿè€úÿÿ¿    èöùÿÿfD  AWA‰ÿAVI‰öAUI‰ÕATL%˜   UH-˜  
> SL)å1ÛHÁýHƒìè¥øÿÿH…ít
„    
> L‰êL‰öD‰ÿAÿÜHƒÃH9ëuêHƒÄ[]A\A]A^A_Ãff.„     óà  HƒìHƒÄà        
> In msCleanupOnSignal.
>  -v -nh QUERY_STRING= REQUEST_METHOD=GET --h --help       Usage: mapserv
> [--help] [-v] [-nh] [QUERY_STRING=value] Options :         -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;<      xöÿÿˆ   (øÿÿX   ùÿÿ°   \ùÿÿÐ   xýÿÿð  
> èýÿÿ8             zR x
   
  
> È÷ÿÿ*                  zR x
  $   
   èõÿÿ°   FJ
w€
> ?;*3$"    
   D   ]øÿÿG    A†C
>        
   d   „øÿÿ   A†C
> Eƒ    D   „  
> €üÿÿe    BEŽE E(ŒH0†H8ƒM@l8A0A(B BBB   
> Ì   ¨üÿÿ 
> 
> 
>  
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


Viele Grüße,
Jörg Thomsen

-- 
-----------------------------------
Aufwind durch Wissen!
Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu
-----------------------------------

-------------------------------
Jörg Thomsen
WhereGroup GmbH & Co. KG
Gillweg 3
14193 Berlin
Germany

Fon: +49 (0)30 / 91 70 39 74
Fax: +49 (0)30 / 89 09 53 21

joerg.thomsen at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com



More information about the MapServer-users mailing list