Mal wieder CGI - Internal Server Error

Apache, Lighttpd, nginx, Cherokee
Post Reply
orsus
Posts: 8
Joined: 2003-05-14 20:37
 

Mal wieder CGI - Internal Server Error

Post by orsus »

Hallo,

Das CGI streikt auf meinem Server und gibt immer die Fehlermld:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
aus.

Im Error.log wird kein Error gelogt.

In der Datei suexec.log findet sich folgende Meldung:
[2003-05-14 20:38:57]: info: (target/actual) uid: (web1/web1) gid: (ftponly/ftponly) cmd: hallo.cgi
[2003-05-14 20:38:57]: error: target uid/gid (636/101) mismatch with directory (636/0) or program (636/0)
Hab etwas rumgesucht doch nichts gefunden. Hab bisher am Perl überhaupt keine Veränderung in der httpd gemacht (bis auf den Header auch auf pl erweitert - original datei hab ich auch wieder eingespielt aber tut sich nuent)

Danke für Eure Hilfe im Vorraus.
jamesb
Posts: 661
Joined: 2002-05-08 15:35
Location: Karlsruhe
Contact:
 

Re: Mal wieder CGI - Internal Server Error

Post by jamesb »

Orsus wrote:
[2003-05-14 20:38:57]: info: (target/actual) uid: (web1/web1) gid: (ftponly/ftponly) cmd: hallo.cgi
[2003-05-14 20:38:57]: error: target uid/gid (636/101) mismatch with directory (636/0) or program (636/0)
Da ist doch schon der Fehler: Die Dateirechte stimmen nicht mit dem überein, was SuExec erwartet (Erwartet wird 636/101, die Datei hat 636/0).

Lösung: "chown 636.101 /pfad/zur/datei/dateiname"

JamesB
orsus
Posts: 8
Joined: 2003-05-14 20:37
 

hmm es bleibt dabei

Post by orsus »

info: (target/actual) uid: (web1/web1) gid: (ftponly/ftponly) cmd: hallo.cgi
[2003-05-14 20:49:52]: error: target uid/gid (636/101) mismatch with directory (636/0) or program (636/101)
nun denke ich ist es das directory nur das laesst sich via chown nicht aendern.

Danke für die schnelle Antwort!
orsus
Posts: 8
Joined: 2003-05-14 20:37
 

funktioniert nun..

Post by orsus »

war nur etwas zu voreilig.

danke fuer die schnelle hilfe ;)
Post Reply