
Hello all, I use kubuntu daper and I just install otrs 2.04 on apache2. But I get an internal server error 500 when I go to ../otrs/installer.pl I tried the setpermission script with: 'SetPermissions.sh /usr/share/otrs otrs:www-data' but this gives some courious permissions with otrs:nogroup on the files. I think this is not correct. Is the script not working? Can I do something to set permission correct? Or is something else wrong? Can someone help? tia stefan

ups , is ja ne deutsch Mailingliste! sorry ! Kann denn trotzdem jemand helfen? mit bestem Dank und internettem Gruß stefan
Hello all,
I use kubuntu daper and I just install otrs 2.04 on apache2. But I get an internal server error 500 when I go to ../otrs/installer.pl
I tried the setpermission script with: 'SetPermissions.sh /usr/share/otrs otrs:www-data'
but this gives some courious permissions with otrs:nogroup on the files.
I think this is not correct. Is the script not working? Can I do something to set permission correct? Or is something else wrong?
Can someone help?
tia
stefan

Hi Stefan, On Sat, Jun 17, 2006 at 09:59:28PM +0200, stefan wrote:
I use kubuntu daper and I just install otrs 2.04 on apache2. But I get an internal server error 500 when I go to ../otrs/installer.pl
I tried the setpermission script with: 'SetPermissions.sh /usr/share/otrs otrs:www-data'
You have to replace the colon by a blank.
but this gives some courious permissions with otrs:nogroup on the files.
The permissions should be ok for the installer. Are you sure the permissions are the problem? Wat says Apache's error.log? ciao Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Hello Henning
On Sat, Jun 17, 2006 at 09:59:28PM +0200, stefan wrote:
I use kubuntu daper and I just install otrs 2.04 on apache2. But I get an internal server error 500 when I go to ../otrs/installer.pl
I tried the setpermission script with: 'SetPermissions.sh /usr/share/otrs otrs:www-data'
You have to replace the colon by a blank.
okay I tried it --no change
The permissions should be ok for the installer. Are you sure the permissions are the problem? Wat says Apache's error.log?
In apache error.log is nothing what could cause the problem What else could it be? tia stefan

Hallo Stefan, Ich antworte jetzt mal auf Deutsch, damit wir die Kurve kriegen. :-) On Mon, Jun 19, 2006 at 10:36:21PM +0200, stefan wrote:
I tried the setpermission script with: 'SetPermissions.sh /usr/share/otrs otrs:www-data'
You have to replace the colon by a blank.
okay I tried it --no change
Irgendwas sollte sich aber ändern, da das Script mit dem Doppelpunkt aufgrund von zu wenig Parametern gar nicht ausgeführt wird. Probier mal: ~otrs/bin/SetPermissions.sh /usr/share/otrs otrs nobody www-data Gruß Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Am Dienstag, 20. Juni 2006 11:09 schrieb stefan:
Am Dienstag, 20. Juni 2006 09:31 schrieb Henning Oschwald:
bin/SetPermissions.sh /usr/share/otrs otrs nobody www-data
leider bringt das auch nichts. Ich bekomme weiterhin error 500
Was kann ich noch probieren?
hat jemand eine Idee? Ich komm absolut nicht weiter :( mit bestem Dank und internettem Gruß stefan

Hallo Stefan, On Tue, Jun 20, 2006 at 11:09:04AM +0200, stefan wrote:
Am Dienstag, 20. Juni 2006 09:31 schrieb Henning Oschwald:
bin/SetPermissions.sh /usr/share/otrs otrs nobody www-data
leider bringt das auch nichts.
Das Log gibt wirklich nichts her? Da dein OTRS unter /usr/share liegt, hast Du vermutlich das Deb-Paket installiert(?), demnach sollten die Abhängigkeiten erfüllt sein. Prüfe das aber vorsichtshalber doch nochmal nach: ~otrs/bin/otrs.checkModules
Ich bekomme weiterhin error 500
Das kann leider alles Mögliche bedeuten und sagt lediglich aus, daß beim Ausführen eines Scripts ein Fehler aufgetreten ist. Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen. Viele Grüße Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Hallo Henning, Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
On Tue, Jun 20, 2006 at 11:09:04AM +0200, stefan wrote:
Am Dienstag, 20. Juni 2006 09:31 schrieb Henning Oschwald:
bin/SetPermissions.sh /usr/share/otrs otrs nobody www-data
leider bringt das auch nichts.
Das Log gibt wirklich nichts her? Da dein OTRS unter /usr/share liegt, hast Du vermutlich das Deb-Paket installiert(?), demnach sollten die Abhängigkeiten erfüllt sein. Prüfe das aber vorsichtshalber doch nochmal nach: ~otrs/bin/otrs.checkModules
das habe ich schon mehrmals, das sieht alles sauber aus.
Ich bekomme weiterhin error 500
Das kann leider alles Mögliche bedeuten und sagt lediglich aus, daß beim Ausführen eines Scripts ein Fehler aufgetreten ist. Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden. Wo soll ich suchen? :verzweifel tia stefan

Hallo Stefan, On Wed, Jun 21, 2006 at 12:34:13PM +0200, stefan wrote:
Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden.
Hmm... Ist Mod_Perl aktiviert? a2enmod perl Oder um mal weiter vorne anzusetzen: Hast Du die Konfigdatei für den Apache umkopiert? cp /usr/share/doc/otrs/examples/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf ciao Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Am Mittwoch, 21. Juni 2006 14:14 schrieb Henning Oschwald:
Hallo Stefan,
On Wed, Jun 21, 2006 at 12:34:13PM +0200, stefan wrote:
Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden.
Hmm... Ist Mod_Perl aktiviert? a2enmod perl
Oder um mal weiter vorne anzusetzen: Hast Du die Konfigdatei für den Apache umkopiert? cp /usr/share/doc/otrs/examples/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf
Die hatte ich zwar angelegt , habe sie aber dennoch kopiert und angepasst und siehe da , es gibt einbe Fehlermeldung: error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:18 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:17:50 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:50 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:18:02 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:18:02 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... (END) Also und "apache2-perl-startup.pl" habe ich auch nirgens! Was ist nun zu tun? tia stefan

okay ich hab alles nochmal runtergeschmissen und nochmals via apt gezogen und installiert. Ich konnte soweit auftretende Fehler lösen, dennoch ändert sich nichts, es bleibt beim error 500 stefan
Am Mittwoch, 21. Juni 2006 14:14 schrieb Henning Oschwald:
Hallo Stefan,
On Wed, Jun 21, 2006 at 12:34:13PM +0200, stefan wrote:
Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden.
Hmm... Ist Mod_Perl aktiviert? a2enmod perl
Oder um mal weiter vorne anzusetzen: Hast Du die Konfigdatei für den Apache umkopiert? cp /usr/share/doc/otrs/examples/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf
Die hatte ich zwar angelegt , habe sie aber dennoch kopiert und angepasst und siehe da , es gibt einbe Fehlermeldung:
error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:18 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:17:50 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:50 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:18:02 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:18:02 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... (END)
Also und "apache2-perl-startup.pl" habe ich auch nirgens!
Was ist nun zu tun?
tia stefan
-- *********************************************************************** no-panic-systems Stefan Fuhrmann H3,7 68159 Mannheim Germany ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* fon: +49.621.1568801 mailto: stefan.fuhrmann@no-panic-systems.de web: www.no-panic-systems.de ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* PGP- public key http://pgpkeys.pca.dfn.de:80/pks/lookup?op=get&search=0x383884BB213EB1C1 PGP- fingerprint FE34 1D07 34E3 AEC6 32A2 7057 3838 84BB 213E B1C1 ************************************************************************

Ich habs jetzt auch mit apache derectiven versucht nach einem Hinweis aus dem ispconfig forum, das funktioniert irgendwie auch nicht: cgi im web des vhosts ausgeschaltet soft link von cgi-bin im vhost zu /usr/share/otrs in den apache derectiven: "ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ " apache2 restart Was ist zu tun? mit bestem Dank und internettem Gruß stefan Am Mittwoch, 21. Juni 2006 22:27 schrieb stefan:
okay ich hab alles nochmal runtergeschmissen und nochmals via apt gezogen und installiert. Ich konnte soweit auftretende Fehler lösen, dennoch ändert sich nichts, es bleibt beim error 500
stefan
Am Mittwoch, 21. Juni 2006 14:14 schrieb Henning Oschwald:
Hallo Stefan,
On Wed, Jun 21, 2006 at 12:34:13PM +0200, stefan wrote:
Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden.
Hmm... Ist Mod_Perl aktiviert? a2enmod perl
Oder um mal weiter vorne anzusetzen: Hast Du die Konfigdatei für den Apache umkopiert? cp /usr/share/doc/otrs/examples/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf
Die hatte ich zwar angelegt , habe sie aber dennoch kopiert und angepasst und siehe da , es gibt einbe Fehlermeldung:
error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:18 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:17:50 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:50 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:18:02 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:18:02 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... (END)
Also und "apache2-perl-startup.pl" habe ich auch nirgens!
Was ist nun zu tun?
tia stefan

Also, im log des webs finde ich: "Premature end of script headers: installer.pl" laut google hat das Problem jemand mit user Berechtigungen gelöst http://lists.otrs.org/pipermail/otrs/2005-August/008582.html. ??? Das sollte doch das permission script machen , oder? okay, was sollen dann wo, was für Berechtigungen hin? mit bestem Dank und internettem Gruß stefan Am Freitag, 23. Juni 2006 10:47 schrieb stefan:
Ich habs jetzt auch mit apache derectiven versucht nach einem Hinweis aus dem ispconfig forum, das funktioniert irgendwie auch nicht:
cgi im web des vhosts ausgeschaltet soft link von cgi-bin im vhost zu /usr/share/otrs in den apache derectiven: "ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ " apache2 restart
Was ist zu tun?
mit bestem Dank und internettem Gruß
stefan
Am Mittwoch, 21. Juni 2006 22:27 schrieb stefan:
okay ich hab alles nochmal runtergeschmissen und nochmals via apt gezogen und installiert. Ich konnte soweit auftretende Fehler lösen, dennoch ändert sich nichts, es bleibt beim error 500
stefan
Am Mittwoch, 21. Juni 2006 14:14 schrieb Henning Oschwald:
Hallo Stefan,
On Wed, Jun 21, 2006 at 12:34:13PM +0200, stefan wrote:
Am Mittwoch, 21. Juni 2006 09:25 schrieb Henning Oschwald:
Das Problem lässt sich nur durch weitere Informationen aus dem Log näher eingrenzen.
Aber welches log soll ich nehmen? In apache2/error.log ist nichtmal der error 500 zu finden.
Hmm... Ist Mod_Perl aktiviert? a2enmod perl
Oder um mal weiter vorne anzusetzen: Hast Du die Konfigdatei für den Apache umkopiert? cp /usr/share/doc/otrs/examples/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf
Die hatte ich zwar angelegt , habe sie aber dennoch kopiert und angepasst und siehe da , es gibt einbe Fehlermeldung:
error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:18 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:17:50 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:17:50 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... [Wed Jun 21 21:18:02 2006] [error] Can't locate /usr/share/otrs/scripts/apache2-perl-startup.pl in @INC (@INC contains: /etc/perl /usr/local/l ib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /et c/apache2) at (eval 2) line 1.\n [Wed Jun 21 21:18:02 2006] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting... (END)
Also und "apache2-perl-startup.pl" habe ich auch nirgens!
Was ist nun zu tun?
tia stefan

Hi Stefan, On Mi, Jun 21, 2006 at 10:27:26 +0200, stefan wrote:
okay ich hab alles nochmal runtergeschmissen und nochmals via apt gezogen und installiert. Ich konnte soweit auftretende Fehler lösen, dennoch ändert sich nichts, es bleibt beim error 500
Ich habs hier jetzt mal nachzuvollziehen versucht, auf nem jungfräulichen Ubuntu Dapper. Zwar nur per chroot, aber das sollte keinen Unterschied machen: ----- - aptitude install otrs - cp /usr/share/doc/otrs/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf - /etc/init.d/apache2 restart ----- $browser http://localhost/otrs/installer.pl Funktioniert auf Anhieb. SetPermissions.sh wird schon im postinst-Script aufgerufen, ein manueller Aufruf ist nicht nötig. Bist Du sicher, daß Du vorm Neuinstallieren sämtliche alten Konfigurationsdateien und Einträge (z. B. in /etc/apache2/conf.d) beseitigt hast? Gruß und ein schönes Wochenende -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Also, ich hab otrs deinstalliert und mir das otrs tar im webverzeichnis entpackt. die Pfade in ~apache2/conf.d/otrs.conf angepasst. apache restart. weiterhin error 500 :( ich weiss kein Meter mehr weiter. :( hat jemand noch ne Idee? tia stefan
participants (2)
-
Henning Oschwald
-
stefan