cgi-bin --> Internal Server Error

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

cgi-bin --> Internal Server Error

Postby kiki » 04. January 2006 09:53

Hi

Ich habe mal ne Frage.. Ich würde gern wissen, warum sich das index.cgi nicht öffnen lässt.
Code: Select all
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5 DAV/2 mod_perl/2.0.1 Perl/v5.8.7 Server at srv-knoppix Port 80

Ich habe Xampp 1.5 für Linux (hier Debian) und möchte BugZilla zum laufen bekommen... Nur läßt sich nicht mal die index.cgi öffnen.

Hier die 'tail -f /opt/lampp/logs/error_log'
Code: Select all
Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Can't locate Date/Format.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/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) at Bugzilla/Error.pm line 32., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at Bugzilla/Error.pm line 32., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Compilation failed in require at Bugzilla/Util.pm line 45., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at Bugzilla/Util.pm line 45., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Compilation failed in require at CGI.pl line 43., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at CGI.pl line 43., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Compilation failed in require at /opt/lampp/htdocs/bugzilla/index.cgi line 33., referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Premature end of script headers: index.cgi, referer: http://srv-knoppix/bugzilla/
[Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] File does not exist: /opt/lampp/htdocs/favicon.ico


Mein httpd.conf Eintrag
Code: Select all
Alias /bugzilla "/opt/lampp/htdocs/bugzilla"

<Directory "/opt/lampp/htdocs/bugzilla">
    Order allow,deny
    Allow from all
    #Deny from all
</Directory>


Gruß Martin
Wissen ist Macht
kiki
 
Posts: 6
Joined: 04. January 2006 08:43
Location: Erfurt

Postby Wiedmann » 04. January 2006 11:13

Du hast die Antwort selbst gepostet:
Wed Jan 04 09:49:58 2006] [error] [client 127.0.0.1] Can't locate Date/Format.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/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) at Bugzilla/Error.pm line 32., referer: http://srv-knoppix/bugzilla/
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

mmhhh

Postby kiki » 04. January 2006 14:13

daran erkennt man, dass ich überhaupt keine Ahnung habe, was "Can't locate Date/Format.pm" bedeutet. Fehlt mir jetzt ein PlugIn oder wie. Ich habe mich im Leben noch nie damit auseinandergesetzt (Perl)...
Sry hilft mir nicht weiter :(
Wissen ist Macht
kiki
 
Posts: 6
Joined: 04. January 2006 08:43
Location: Erfurt

Postby Wiedmann » 04. January 2006 14:21

Deinem Perl fehlt eben dieses Modul (gibt es bei CPAN). Das hätte dir aber der Support deiner Software (BugZilla) auch sagen können sollen ;-) Wenn es nicht sogar in den Requirements steht.

Aber um beim XAMPP zu bleiben:
Warum verwendest du nicht das Perl vom XAMPP sondern das Perl von deinem System?
--> Dazu musst du den SheBang (erste Zeile) der Perl-Scripte entsprechend anpassen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

ja

Postby kiki » 04. January 2006 16:03

Also ich hatte ja eine Zeit lang einen symLink (ln -s /opt/lampp/bin/perl /usr/bin/perl) aber irgendwie kann ich mir nicht vorstellen, dass das System so leicht zu überlisten ist... :?:

Aber es gibt ja 'ne nette alternative: apt-get install bugzilla

So und jetzt habe ich zwei bugzilla's drauf, das eine in lampp/htdocs und das andere unter /var/www... *nerv* und mit einen einfachen copy-paste funzt auch nicht (viel-zu-viele Verweise in /etc)...
Frage: ist es möglich in der httpd.conf ein alias einzutragen und darauf zu verweisen (oder gibt es da vielleicht Rechtprobs)

Danke für deine Gedult
Wissen ist Macht
kiki
 
Posts: 6
Joined: 04. January 2006 08:43
Location: Erfurt


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 20 guests