[Qgis-developer] QGIS Server crashes and logging

Andreas Neumann a.neumann at carto.net
Fri Sep 18 07:12:12 PDT 2015


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

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


More information about the Qgis-developer mailing list