Hi Larry, Thx . You have reason. Initially I guess the problem was easyly a configuration question,but perhaps there other question.
I send the mail to Dev List. Thx. 2014-06-21 21:50 GMT+02:00 Larry Shaffer <[email protected]>: > Hi Andrea, > > I suggest posting this to the dev list and asking Marco Hugentobler for > assistance. I personally do not know enough about threading on Linux to help > with that issue. Sorry. > > You could also create an issue ticket and assign to Marco, though posting to > the dev list should probably be the first step. > > On a side note: is the log file populated with output when running the > server with the OK project file? > > Regards, > > Larry Shaffer > Dakota Cartography > Black Hills, South Dakota > > > On Sat, Jun 21, 2014 at 1:36 PM, Andrea Peri <[email protected]> wrote: >> >> Hi, Larry. >> >> Thx for hint. >> >> I set the two variables and the log file is create. >> :) >> >> But unfortunately it is absolutely empty. >> :( >> >> It seem the qgis-server will crash quite istantaneously. >> >> As I report before , I Guess this is something due to the qgis project >> because another project will work without any problem. >> >> So I set a local environment and run the qgis-server from a shell with >> a gdb debug to see effectively what it send to stdout. >> >> This is what it report: >> >> ................... >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >> 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. >> [New Thread 0x7fffe307c700 (LWP 823)] >> [New Thread 0x7fffe27ea700 (LWP 824)] >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x00007ffff0e50421 in __dynamic_cast () >> from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 >> (gdb) >> .................. >> >> I see the version my linux run is the >> libstdc++.so.6 (libc6,x86-64) => >> /usr/lib/x86_64-linux-gnu/libstdc++.so.6 >> >> There is some know issue of qgis-server with the libstdc++.so.6 >> ? >> >> 2014-06-21 20:53 GMT+02:00 Larry Shaffer <[email protected]>: >> > Hi Andrea, >> > >> > You can set the QGIS_LOG_FILE environment variable to have the >> > qgis_mapserv.fcgi process log to a file. It needs to be set within the >> > server process environment (if it has a loadable FCGI module) or within >> > the >> > FCGI-spawning process environment, e.g. uWSGI or spawn-fcgi. >> > >> > For Apache: >> > >> > <IfModule mod_fastcgi.c> (or mod_fcgid.c) >> > ... >> > SetEnv QGIS_LOG_FILE /path/to/qgis_server.log >> > </IfModule> >> > >> > Of course, the log needs to be writable by your Apache or FCGI-spawning >> > process user. >> > >> > NOTE: if using latest master builds (or upcoming 2.4 release), the env >> > var >> > is now QGIS_SERVER_LOG_FILE, with the new env var QGIS_SERVER_LOG_LEVEL >> > to >> > define verbose level [0,1]. >> > >> > I haven't tested this, but the amount of debug output is usually >> > relative to >> > the CMake build type, e.g. Release vs. RelWithDebInfo or Debug, like is >> > the >> > case for the QGIS desktop output. Pretty sure that is always a >> > compile-time >> > choice, and can't be be overridden at run-time. Your qgis_mapserv.fcgi >> > binary may need to be (re)built as RelWithDebInfo or Debug to trigger >> > enough >> > output to debug your issue. >> > >> > [0] >> > >> > https://github.com/qgis/QGIS/commit/29c39b9f0209ddedd0d51eda1dc926e6e0f2ea9e >> > [1] >> > >> > https://github.com/qgis/QGIS/commit/bdf1ac8d46d89869e58884c5f55ff711a1f5f76d >> > >> > Regards, >> > >> > Larry Shaffer >> > Dakota Cartography >> > Black Hills, South Dakota >> > >> > >> > On Sat, Jun 21, 2014 at 9:25 AM, Andrea Peri <[email protected]> >> > wrote: >> >> >> >> Hi, >> >> >> >> Our qgis-server is crashing on a project . >> >> This is quite strange because on the same project on a qi-desktop (on >> >> another machine) it run without any problem. >> >> And also the qgis-server run without any problem with another different >> >> project. >> >> >> >> I try to read from the log of server web to see any useful information >> >> but the log none report of qgis. >> >> The web server ,og come from the stdout so perhaps there is some >> >> specific setting to say to QS to output to stdout log ? >> >> >> >> Thx, >> >> >> >> >> >> -- >> >> ----------------- >> >> Andrea Peri >> >> . . . . . . . . . >> >> qwerty àèìòù >> >> ----------------- >> >> _______________________________________________ >> >> Qgis-user mailing list >> >> [email protected] >> >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> > >> > >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- > > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
