vanager+mysqldumper

  • Thread starter Thread starter Weble
  • Start date Start date
W

Weble

Guest
Hallo,

ich habe heute den MySQLDumper installiert, und wenn ich die Perl scripte über http ausführen will, liefert er mir immer das zurück:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@confixx.hiddn.de 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/1.3.26 Server at security.hiddn.de Port 80

Weiß jemand, wie ich Perl script auch über HTTP auführen kann, ohne das diese Fehlermeldung kommt?

Apache Error log:
[Tue Jun 28 18:22:16 2005] [error] [client ***.***.***.***] Premature end of script headers: /home/www/web0/html/cgi-bin/perltest.cgi


Weble
 
Last edited by a moderator:
Hallo!
Läuft das Script denn fehlerfrei auf der Console. Sprich, macht es eine Ausgabe oder auch schon eine Fehlermeldung? Gibt das Script korrekte HTTP Header aus? Was steht (sofern vorhanden) in der suexec.log? Stimmen die Berechtigungen der Script Datei?

Eines dieser Dinge muss es sein :).

mfG
Thorsten
 
Also auf der Shell sieht das so aus:
Content-Type: text/html; charset=ISO-8859-1

<html><h1>Perl-Test für MySQLDumper</h1>
<h6 style="font-size:11px;background-color:#ccffcc;">Unbedingt notwendige Funktionen für das Cronscript</h6><h4>teste DBI ...</h4>
DBI ist installiert.<br>
<h4>teste File::Find ...</h4>
File::Find ist installiert.<br>
<h4>teste File::Basename ...</h4>
File::Basename ist installiert.<br>
<h6 style="font-size:11px;background-color:#ccffcc;">Konfigurierbare Funktionen für das Cronscript</h6><h4>teste Compress::Zlib ...</h4>
Compress::Zlib ist installiert.<br>
<h4>teste Net::FTP ...</h4>
Net::FTP ist installiert.<br>
<h4>teste MIME::Lite ...</h4>
<!-- warning: Use of uninitialized value in numeric ne (!=) at ./perltest.pl line 85. -->
[Tue Jun 28 19:01:49 2005] perltest.pl: Use of uninitialized value in numeric ne (!=) at ./perltest.pl line 85.

MIME::Lite ist nicht vorhanden !<br>
</html>

Die Berechtigung des scripts ist 755 genauso wie der ordner cgi-bin

in der log datei steht das:
[2005-06-28 18:38:06]: error: target uid/gid (636/636) mismatch with directory (636/103) or program (636/636)
[2005-06-28 18:49:58]: info: (target/actual) uid: (web0/web0) gid: (web0/web0) cmd: perltest.cgi
[2005-06-28 18:49:58]: error: target uid/gid (636/636) mismatch with directory (636/103) or program (636/636)
 
Back
Top