[Qgis-user] getPrint qgis_mapserver.fcgi

Andreas Neumann a.neumann at carto.net
Wed May 13 04:04:28 PDT 2015


Hi Dieter,

Then I don't know. The only - maybe stupid - question I have: did you 
start xvfb and is it really running and accepting connections? Also - 
did you start xvfbd and then restart Apache - so it can find the 
X-Server? Is perhaps a firewall blocking access to xvfb (quite unlikely, 
but possible).

Andreas

On 13.05.2015 11:49, dieter_lehmann wrote:
> Hi Andreas,
>
> thanks for the hint, I've installed xvfb, changed fcgid.conf, started 
> xvfb, restarted apache -  with no luck.
>
> Xvfb is running with :99
>
> Same error as before.
>
>
>
> Dieter
>
>
>
> Am 13.05.2015 um 11:07 schrieb Andreas Neumann:
>> Hi Dieter,
>>
>> Is there a X-Server running on the server? Printing to PDF requires 
>> the X-Server and a configuration variable in the FCGID conf.
>>
>> See also http://www.itopen.it/qgis-server-setup-notes/
>>
>> Andreas
>>
>> On 13.05.2015 10:57, dieter_lehmann wrote:
>>> Hello,
>>>
>>> I have some problems using the getPrint Request with 
>>> qgis_mapserver.fcgi (on Ubuntu 14.04.2 LTS, qgis-server version: 
>>> 2.8.2+20trusty) - installed via the repro from qgis.org.
>>>
>>> Printing as PDF with Qgis is working on this machine without problems.
>>>
>>> Sending the getPrint Request (f.g. through qgis-webclient), an 
>>> internal Server error occur. In the qgis-server log shows the 
>>> follwing up:
>>> End of script output before headers: qgis_mapserv.fcgi...
>>>
>>>
>>> When I change the request to create a PNG, at least the map without 
>>> legend is shown, but the layout is corrupted.
>>>
>>> Any ideas?
>>>
>>> Thanks a lot,
>>> Dieter
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list