Re: [mapserver-users] mapserver on ubuntu 14.04 - error message
@tbonfort Yes, after I enabled CGI it worked. Many thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-on-ubuntu-14-04-error-message-tp5237603p5238048.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
Re: [mapserver-users] mapserver on ubuntu 14.04 - error message
On 2015-11-20 2:24 PM, red1981 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. Glad to hear positive feedback, thanks for using MS4W :) -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver on ubuntu 14.04 - error message
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 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
[mapserver-users] mapserver on ubuntu 14.04 - error message
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