Bug report #16374
Updated by Giovanni Manghi over 7 years ago
Clean installation of QGISserver (2.18.x) in OSGeo4W64 combined with the provided httpd.conf does not work UNLESS you also install QGISDesktop.
On a WindowsServer here (with Apache installed) I had QGIS-desktop installed. And after install of QGIS-server there I had it running withing minutes!!
After showing off to people they wanted me to install it on an internal test server (mirror of the other one).
BUT after a fresh QGISServer install on OSGeo4W64 there and confirming ALL other (apache configs etc etc) were the same, QGISserver(!) still had problems:
[Thu Mar 23 13:44:00.106380 2017] [mpm_winnt:notice] [pid 5812:tid 224] AH00354: Child: Starting 500 worker threads.
[Thu Mar 23 13:44:22.730526 2017] [fcgid:warn] [pid 5812:tid 4404] (OS 109)The pipe has been ended. : [client fe80::a9e5:eb17:87ab:6393:57808] mod_fcgid: get overlap result error
[Thu Mar 23 13:44:22.730526 2017] [core:error] [pid 5812:tid 4404] [client fe80::a9e5:eb17:87ab:6393:57808] End of script output before headers: qgis_mapserv.fcgi.exe
Final test was to fix the only difference I could find: installation of QGIS Desktop on that machine too. To be clear: there was not QGIS installed there before.
And then everything works!
I could not find out what, but apparently in the default packages there is something missing which is installed with QGIS Desktop. I do not know what no further information in my logs.
On a WindowsServer here (with Apache installed) I had QGIS-desktop installed. And after install of QGIS-server there I had it running withing minutes!!
After showing off to people they wanted me to install it on an internal test server (mirror of the other one).
BUT after a fresh QGISServer install on OSGeo4W64 there and confirming ALL other (apache configs etc etc) were the same, QGISserver(!) still had problems:
[Thu Mar 23 13:44:00.106380 2017] [mpm_winnt:notice] [pid 5812:tid 224] AH00354: Child: Starting 500 worker threads.
[Thu Mar 23 13:44:22.730526 2017] [fcgid:warn] [pid 5812:tid 4404] (OS 109)The pipe has been ended. : [client fe80::a9e5:eb17:87ab:6393:57808] mod_fcgid: get overlap result error
[Thu Mar 23 13:44:22.730526 2017] [core:error] [pid 5812:tid 4404] [client fe80::a9e5:eb17:87ab:6393:57808] End of script output before headers: qgis_mapserv.fcgi.exe
Final test was to fix the only difference I could find: installation of QGIS Desktop on that machine too. To be clear: there was not QGIS installed there before.
And then everything works!
I could not find out what, but apparently in the default packages there is something missing which is installed with QGIS Desktop. I do not know what no further information in my logs.