<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Andreas,<br>
<br>
ECW is not causing crash.<br>
<br>
You can add QGIS log to have more logs<br>
<br>
<span style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> FcgidInitialEnv
QGIS_LOG_FILE </span><span
style="font-weight:bold;color:#ff54ff;background-color:#ffffff;">"/var/log/apache2/qgis.log"</span><span
style="color:#000000;background-color:#ffffff;"> </span><br>
FcgidInitialEnv QGIS_LOG_LEVEL 0</span></span><br>
<br>
Regards,<br>
René-Luc<br>
<br>
<div class="moz-cite-prefix">Le 18/09/2015 16:12, Andreas Neumann a
écrit :<br>
</div>
<blockquote cite="mid:55FC1BBC.2090505@carto.net" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
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
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.opengis.net/ogc"><a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a></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=windows-1252">
<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=windows-1252">
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>