[Lizmap] Getting bad response /usr/lib/cgi-bin/qgis_mapserv.fcgi

David Marteau dmarteau at 3liz.com
Tue Dec 15 02:36:08 PST 2020


Hi,

You are triggering the WFS3 API, check your URL path and make sure it is 
a WFS1 or WFS2 compliant url (i.e with SERVICE parameter)


Le 15/12/2020 à 09:16, Nicolas Boisteault a écrit :
>
> Hi,
>
> log message might have change a little bit with QGIS Server 3.16 I 
> guess. You'd better ask QGIS-user mailing list.
>
> Le 14/12/2020 à 22:10, Calvin D Green a écrit :
>> I am sorry for using this thread but I need help.
>>
>> I am installing QGIS Server on Ubuntu 20.04 (focal)
>>
>> Docs indicate one should run usr/lib/cgi-bin/qgis_mapserv.fcgi and 
>> expect:
>>
>> QFSFileEngine::open: No file name specified
>> 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.
>> Content-Length: 206
>> Content-Type: text/xml; charset=utf-8
>>
>> <ServiceExceptionReport version="1.3.0" 
>> xmlns="http://www.opengis.net/ogc <http://www.opengis.net/ogc>">
>>  <ServiceException code="Service configuration error">Service unknown 
>> or unsupported</ServiceException>
>> </ServiceExceptionReport>
>>
>> But I get:
>>
>>  Application path not initialized
>> Application path not initialized
>> 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.
>> "Loading native module /usr/lib/qgis/server/libdummy.so"
>> "Loading native module /usr/lib/qgis/server/liblandingpage.so"
>> "Loading native module /usr/lib/qgis/server/libwcs.so"
>> "Loading native module /usr/lib/qgis/server/libwfs.so"
>> "Loading native module /usr/lib/qgis/server/libwfs3.so"
>> "Loading native module /usr/lib/qgis/server/libwms.so"
>> "Loading native module /usr/lib/qgis/server/libwmts.so"
>> QFSFileEngine::open: No file name specified
>> Content-Length: 102
>> Content-Type: application/json
>> Server:  QGIS FCGI server - QGIS version 3.16.1-Hannover
>> Status:  400
>>
>> [{"code":"Bad request error","description":"Requested URI does not 
>> match any registered API handler"}]
>>
>> The commands I have entered into a fresh Ubuntu 20.04 image are:
>>
>> sudo dpkg --remove-architecture i386
>> sudo apt-key adv --keyserver keyserver.ubuntu.com 
>> <http://keyserver.ubuntu.com> --recv-key F7E06F06199EF2F2
>> gpg --export --armor  F7E06F06199EF2F2  | sudo apt-key add -
>> sudo add-apt-repository "deb https://qgis.org/debian 
>> <https://qgis.org/debian> focal main"
>> sudo apt update
>> sudo apt-get install python-qgis qgis-server libapache2-mod-fcgid
>> sudo apt autoremove
>>
>>
>> Please help.  Thank you
>>
>>
>>
>> -- 
>> Calvin D Green, 832-214-8540, calvindgreen at gmail.com 
>> <mailto:calvindgreen at gmail.com>
>>
>> _______________________________________________
>> Lizmap mailing list
>> Lizmap at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/lizmap
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20201215/b8f0b9d4/attachment-0001.html>


More information about the Lizmap mailing list