Bug report #7048

QGIS Mapserver Internal Server Error

Added by dr - about 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:Marco Hugentobler
Category:QGIS Server
Affected QGIS version:master Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:16136

Description

Trying to run QGIS Mapserver on Ubuntu 12.04 (1.9.0+git20130123+595a45f~precise-ubuntugis1) installed from http://qgis.org/ubuntugis-nightly. Open web page http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities and get Internal Server Error. Apache logs:

[Sat Jan 26 00:29:55 2013] [warn] [client ::1] mod_fcgid: error reading data, FastCGI server closed connection
[Sat Jan 26 00:29:55 2013] [error] [client ::1] Premature end of script headers: qgis_mapserv.fcgi
[Sat Jan 26 00:29:55 2013] [error] [client ::1] File does not exist: /var/www/favicon.ico
[Sat Jan 26 00:30:00 2013] [error] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(6333) exit(communication error), get signal 6, possible coredump generated

History

#1 Updated by dr - about 11 years ago

If put *.qgs file into cgi-bin directory - all works fine. Is it normal behavior?

#2 Updated by Giovanni Manghi almost 11 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

I guess you cannot ask for capabilities without specifying a project file (with &map=...). If a QGIS in in cgi-bin this is assumed as default.

Also available in: Atom PDF