PERL Script »Internal Server Error«

loisl

Registered User
huhu,
Ein PERL Script liefert mir beim Aufruf »Internal Server Error« ERR 500!

Vermutlich habe ich da was an Pearl noch nicht oder nicht richtig installiert!
Kann mir bitte jemand sagen in welchen Logs oder wie ich herausfinde was der Fehler ist und wie ich den dann beheben kann )-;

Sonstige Infos:
Das ganze ist ein ROOT-Server mit vollen Zugriff
Verwaltungs-System: ispCP Omega

Vielen lieben Dank schon mal im Voraus
loisl
 
Das Error Log des Apache httpd (/var/log/apache2/error_log, bzw. die Datei, die in der jeweiligen Konfiguration festgelegt ist) und das SuExec Log (/var/log/apache2/suexec.log) sollten dich weiterbringen.
 
hi Roger Wilco,

in der /var/apache2/error.log haben wir doch schon was

Code:
[Sun Aug 31 06:25:41 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Aug 31 06:25:41 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Aug 31 06:25:41 2008] [notice] FastCGI: process manager initialized (pid 22824)
[Sun Aug 31 06:25:41 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 22825)
[Sun Aug 31 06:25:41 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Sun Aug 31 06:25:43 2008] [notice] caught SIGTERM, shutting down
[Sun Aug 31 06:25:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Aug 31 06:25:48 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Aug 31 06:25:48 2008] [notice] FastCGI: process manager initialized (pid 23007)
[Sun Aug 31 06:25:48 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 23008)
[Sun Aug 31 06:25:48 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Sun Aug 31 06:44:43 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ph********.de/php5-fcgi-starter" (uid 2006, gid 2006) started (pid 5475)
[Sun Aug 31 08:06:08 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/if********.de/php5-fcgi-starter" (uid 2003, gid 2003) started (pid 6350)
[Sun Aug 31 09:52:48 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ho***********.de/php5-fcgi-starter" (uid 2007, gid 2007) started (pid 6885)
[Sun Aug 31 10:13:40 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/lo****.eu/php5-fcgi-starter" (uid 2013, gid 2013) started (pid 7041)
[Sun Aug 31 10:13:45 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fa**********.eu/php5-fcgi-starter" (uid 2005, gid 2005) started (pid 7044)
[Sun Aug 31 10:22:39 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/if******.de/php5-fcgi-starter" (uid 2011, gid 2011) started (pid 7064)
Can't locate LWP/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at index.cgi line 13.
BEGIN failed--compilation aborted at index.cgi line 13.
Can't locate LWP/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at index.cgi line 13.
BEGIN failed--compilation aborted at index.cgi line 13.
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
 
suexec.log

Code:
[2008-08-31 06:25:41]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2008-08-31 06:25:48]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2008-08-31 06:44:43]: uid: (vu2006/vu2006) gid: (2006/2006) cmd: php5-fcgi-starter
[2008-08-31 08:06:08]: uid: (vu2003/vu2003) gid: (2003/2003) cmd: php5-fcgi-starter
[2008-08-31 09:52:48]: uid: (vu2007/vu2007) gid: (2007/2007) cmd: php5-fcgi-starter
[2008-08-31 10:13:40]: uid: (vu2013/vu2013) gid: (2013/2013) cmd: php5-fcgi-starter
[2008-08-31 10:13:45]: uid: (vu2005/vu2005) gid: (2005/2005) cmd: php5-fcgi-starter
[2008-08-31 10:22:39]: uid: (vu2011/vu2011) gid: (2011/2011) cmd: php5-fcgi-starter
[2008-08-31 13:22:29]: uid: (2005/vu2005) gid: (2005/2005) cmd: index.cgi
[2008-08-31 13:22:57]: uid: (2005/vu2005) gid: (2005/2005) cmd: index.cgi
[2008-08-31 13:24:52]: uid: (2005/vu2005) gid: (2005/2005) cmd: index.cgi
[2008-08-31 13:24:52]: file is writable by others: (/var/www/virtual/fa*******.eu/cgi-bin/index.cgi)
[2008-08-31 13:24:57]: uid: (2005/vu2005) gid: (2005/2005) cmd: index.cgi
[2008-08-31 13:24:57]: file is writable by others: (/var/www/virtual/fa*******.eu/cgi-bin/index.cgi)
[2008-08-31 13:25:11]: uid: (2005/vu2005) gid: (2005/2005) cmd: index.cgi
[2008-08-31 13:25:11]: file is writable by others: (/var/www/virtual/fa*******.eu/cgi-bin/index.cgi)
 
Hallo!
Anhand der Meldung file is writable by others: dürfte klar sein, wo das Problem liegt, oder?

mfG
Thorsten
 
soooo habe mal dir rechte auf 644 bzw. 755 gesetzt und nun bekomme ich nur eine Meldung in der error.log
Code:
Can't locate LWP/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at index.cgi line 13.
BEGIN failed--compilation aborted at index.cgi line 13.
 
Vielen lieben Dank ....

genau das hat mich weiter gebrach ;-)

habe das/die fehlenden Module mit

Code:
apt-get install libwww-perl

nachinstalliert und es klappt

danke und lg loisl
 
Back
Top