<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am still trying to find out why QGIS server crashes on one of my
machines (master version).<br>
<br>
If I run qgis_mapserv.fcgi on the command line I get the following
output:<br>
<br>
-------------------<br>
<title>Konsole output</title>
<div>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">an@laotop:~/cgi$
./qgis_mapserv.fcgi </span><br>
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
environment variable.
<br>
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
environment variable.
<br>
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
environment variable.
<br>
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
environment variable.
<br>
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
environment variable.
<br>
Content-Length: 206
<br>
Content-Type: text/xml; charset=utf-8
<br>
<br>
<ServiceExceptionReport version="1.3.0"
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>>
<br>
<ServiceException code="Service configuration
error">Service unknown or
unsupported</ServiceException>
<br>
</ServiceExceptionReport><br>
------------------<br>
<br>
Could it be that my ECW/JP2 warning are causing the crash (500
http error code)? Is this the problem?<br>
<br>
--------------<br>
<br>
On another matter:<br>
QGIS_SERVER_LOG_FILE / _LEVEL never worked for me. I specified
the following in /etc/apache2/mods-enabled/fcgid.conf:<br>
<br>
</span><br>
<span style="font-family:monospace">
<title>Konsole output</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<div>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">
FcgidInitialEnv QGIS_SERVER_LOG_FILE </span><span
style="font-weight:bold;color:#ff54ff;background-color:#ffffff;">"/var/log/apache2/qgis_server.log"</span><span
style="color:#000000;background-color:#ffffff;">
</span><br>
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0<br>
<br>
</span></div>
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?<br>
<br>
Thanks for any ideas,<br>
Andreas<br>
</span></div>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<br>
</body>
</html>