You haven't enable cgi handling, your apache server is returning the mapserv binary instead of executing it.
-- thomas On 20 November 2015 at 12:24, red1981 <robert.dani...@gmx.de> wrote: > Hi, > > I'm rather new to mapserver and my knowledge of Linux isn't great either. So > this maybe a problem which is not directly related to mapserver. But any > help is appreciated and the error message isn't easy to google... > > First I made a local ms4w installation on a windows machine which works > fine. Via localhost I can access the WMS I set up in QGIS and ArcGIS. > > Now I want to do the same on a Linux server (Ubuntu 14.04) so I can access > the wms from anywhere. I used several tutorials and installed apache2 and > mapserver. When I enter the IP in my browser I see the Apache default page > so that works. Then I tried to access mapserver with > http://[IP]/cgi-bin/mapserv and expected the "No query information to > decode" error but instead I got a long error message. > > This is the error message (edited down to remove a lot of strange symbols): > > ELF /lib64/ld-linux-x86-64.so.2 GNU > libmapserver.so.1 _Jv_RegisterClasses _ITM_deregisterTMCloneTable > __gmon_start__ _ITM_registerTMCloneTable msIO_installHandlers > msResetErrorList msFreeMapServObj msDebug loadParams msCGIWriteError > msIO_fprintf msGetVersion msCGIWriteLog msSetup msGetGlobalDebugLevel > msCGIDispatchRequest msCGILoadMap msAllocMapServObj msCleanup libfcgi.so.0 > FCGI_Accept FCGI_fread FCGI_fwrite _fcgi_sF libc.so.6 fflush exit signal > puts getpid putenv stdout stderr gettimeofday __libc_start_main _edata > __bss_start _end /usr/lib/x86_64-linux-gnu > __libc_csu_init _IO_stdin_used __libc_csu_fini __data_start > msCleanupOnSignal GLIBC_2.2.5 > In msCleanupOnSignal. > QUERY_STRING= REQUEST_METHOD=GET fcgi CGI Request %d on process %d > mapserv request processing time (msLoadMap not incl.): %.3fs > mapserv total execution time: > 5680f.debug #² .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 > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/mapserver-on-ubuntu-14-04-error-message-tp5237603.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users