[Qgis-developer] QGIS Server crashes and logging

René-Luc Dhont rldhont at gmail.com
Fri Sep 18 07:14:38 PDT 2015


Hi Andreas,

ECW is not causing crash.

You can add QGIS log to have more logs

  FcgidInitialEnv QGIS_LOG_FILE "/var/log/apache2/qgis.log"
  FcgidInitialEnv QGIS_LOG_LEVEL 0

Regards,
René-Luc

Le 18/09/2015 16:12, Andreas Neumann a écrit :
> Hi,
>
> I am still trying to find out why QGIS server crashes on one of my 
> machines (master version).
>
> If I run qgis_mapserv.fcgi on the command line I get the following output:
>
> -------------------
> Konsole output
> an at laotop:~/cgi$ ./qgis_mapserv.fcgi
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP 
> environment variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP 
> environment variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP 
> environment variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP 
> environment variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP 
> environment variable.
> Content-Length: 206
> Content-Type: text/xml; charset=utf-8
>
> <ServiceExceptionReport version="1.3.0" 
> xmlns="http://www.opengis.net/ogc">
> <ServiceException code="Service configuration error">Service unknown 
> or unsupported</ServiceException>
> </ServiceExceptionReport>
> ------------------
>
> Could it be that my ECW/JP2 warning are causing the crash (500 http 
> error code)? Is this the problem?
>
> --------------
>
> On another matter:
> QGIS_SERVER_LOG_FILE / _LEVEL never worked for me. I specified the 
> following in /etc/apache2/mods-enabled/fcgid.conf:
>
>
> Konsole output
>  FcgidInitialEnv QGIS_SERVER_LOG_FILE "/var/log/apache2/qgis_server.log"
>  FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
>
> I created the file /var/log/apache2/qgis_server.log and made sure it 
> is writable by everyone - however, it always stays empty. Is level 0 
> the most verbose code? Why is it not working?
>
> Thanks for any ideas,
> Andreas
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150918/a16fd9ce/attachment-0001.html>


More information about the Qgis-developer mailing list