PDF Erstellung schlägt fehl mit FastCGI

Hilfe zu Znuny Problemen aller Art
Locked
Gundy
Znuny newbie
Posts: 21
Joined: 09 Nov 2006, 20:42
Location: Hamburg

PDF Erstellung schlägt fehl mit FastCGI

Post by Gundy »

Hallo allerseits,

nach dem Umstieg auf FastCGI mag mein OTRS Testsystem keine PDFs mehr erstellen, weder über die Funktion Tickets drucken noch über das Statistik Modul. Im Browser wird das durch einen Error 500 quittiert.
Im error.log steht dann folgendes:

Code: Select all

[Wed Nov 22 10:40:41 2006] [warn] mod_fcgid: read data timeout in 20 seconds
[Wed Nov 22 10:40:43 2006] [error] [client 217.91.105.143] Premature end of script headers: index.fpl
[Wed Nov 22 10:40:48 2006] [notice] mod_fcgid: process 5292 going graceful shutdown, sending SIGTERM
[Wed Nov 22 10:40:51 2006] [notice] mod_fcgid: process /opt/otrs/bin/fcgi-bin/index.fpl(5292) exit(communication error), get stop signal 15 
Momentan läuft das ganze auf einem Debian 4 RC1 mit apache 2 und mod_fcgi. Der Rechner ist ein 2GHz Celeron mit 256 MB Ram. Getestet habe ich das mit OTRS 2.1.2 und 2.1.3.

Gruß Gundy
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Post by Andre Bauer »

Richte dir bitte mal eine Signatur ein, damit man gleich nen Überblick über dein System hat.

Wenn du Debian 4.0 nutzt, sollte das ganze doch auch mit mod_perl rennen, was ja in DEbian 3.0 nicht ging. Warum probierst du nicht erstmal das?
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
Gundy
Znuny newbie
Posts: 21
Joined: 09 Nov 2006, 20:42
Location: Hamburg

Post by Gundy »

Mit mod_perl lief es, allerdings habe ich hier im Forum Stellenweise gelesen, dass es mit FastCGI schneller ginge. Für das vorherige 400MHz System hat das auch zugetroffen.
Bevor ich auf FastCGI umgestiegen bin hat das PDF erstellen jeden Falls funktioniert.

Reicht es eigentlich mod_perl dem Apache zur Verfügung zu stellen (mods-enabled), oder muß man in der /etc/apache2/conf.d/otrs.conf noch weitere Einstellungen vornehmen?

Haltet ihr das Problem für einen Bug, so dass ich dies dem Entwicklerteam melden sollte?

Gruß Gundy
OTRS 2.1.7 als Produktivsystem (unterliegt nicht meiner Administration)
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Post by Andre Bauer »

Also ich nutze mod_fastcgi nur, weil mod_perl unter Debian Sarge in Verbindung mit OTRS nicht funktioniert. Auf meinem Testsystem läuft otrs mit mod_perl. Ich habe das Gefühl, dass beide Systeme fast gleich schnell sind. Genau lässt sich das wegen der unterschiedlichen Hardware aber leider nicht sagen.

Wenn du die vom OTRS mitgelieferte Apache Configdatei nutzt und mod_perl aktivierst, sollte es sofort funktionieren. Ob es gleichzeitig mit FCGI funktioniert Kann ich leider nicht sagen.

Wenn bei dir der PDF Export als FCGI nicht funktioniert, solltest du natürlich nen Bugreport aufmachen.
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
Rosemarrylove
Znuny newbie
Posts: 1
Joined: 16 Jun 2010, 07:36
Znuny Version: OTRS 3

Re: PDF Erstellung schlägt fehl mit FastCGI

Post by Rosemarrylove »

It looks like you have two versions of ghostscript installed which are conflicting with each other. Try uninstalling the other software with ghostscript then try reinstalling PrimoPDF and see if that resolves the problem for you.
Rose...marry....
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: PDF Erstellung schlägt fehl mit FastCGI

Post by jojo »

Rosemarrylove wrote:It looks like you have two versions of ghostscript installed which are conflicting with each other. Try uninstalling the other software with ghostscript then try reinstalling PrimoPDF and see if that resolves the problem for you.
OTRS is not using Ghostscript or PrimoPDF. The Perl PDF::API2 is used.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked