[client ::1] Directory index forbidden by Options directive: /srv/www/

Apache, Lighttpd, nginx, Cherokee
sundriver
Posts: 20
Joined: 2006-02-16 09:54
Location: BB
 

[client ::1] Directory index forbidden by Options directive: /srv/www/

Post by sundriver »

Hallo@all,

Vor wenigen Tagen bin ich auf neue Hardware umgezogen, seither spamt mir irgend ein Prozess das error.log mit Einträgen wie diesen:

Code: Select all

[Tue Sep 18 15:46:59 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:00 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:02 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:04 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:05 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:07 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:08 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:09 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:10 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:11 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:12 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:13 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:14 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:22 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:23 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:24 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:25 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:26 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:27 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:34 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
[Tue Sep 18 15:47:35 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
zu. Ich habe schon alle vHosts und die httpd.conf sowie die confixx_mhost.conf auf ungültige Einträge überprüft und auch sonst wo kann ich nix finden was den DocRoot auf /srv/www sucht. Bei mir ist alles in /srv/www/htdocs/ .

Auch Google konnte mir nicht helfen. Mein System ist SuSE10.1 mit Apache2.2.0 , PHP 5.2.4 suPHP, MySQL 5.018 MAX und Confixx3.3.1 und läuft bis dato sehr stabil und Präzise. Keine auffälligkeiten in den anderen Logs.

Ich habe dann kurzerhand eine index.html in das Verzeichnis gelegt und im error.log bekomme ich nun folgendes:

Code: Select all

[error] [client ::1] No user or group set - set suPHP_UserGroup
War auch irgendwo klar da suPHP UID und GID benöting da es im Paranoid Mode läuft.

Meine Frage ist nun WER ist client::1 ? Wenn ich über die Konsole lynx localhost aufrufe bekomme ich das gleiche, allerdings ist hier der client 127.0.0.1 was auch völlig richtig ist.

Welche Möglichkeiten habe ich denn heraus zu finden von wem /srv/www aufgesucht wird bzw wie kann ich abstellen das diese Einträge mir das Logfile aufblasen bis logrotate das wieder bügelt? Den logLevel habe ich im Moment auf debug aber mehr Infos bekomme ich dennoch nicht im log.

Weis von euch eventuell jemand Rat?

cu
Sundriver
User avatar
Joe User
Project Manager
Project Manager
Posts: 11183
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: [client ::1] Directory index forbidden by Options directive: /srv/www/

Post by Joe User »

Code: Select all

grep '::1' /etc7hosts
Es ist die IPv6-Adresse für localhost...
sundriver
Posts: 20
Joined: 2006-02-16 09:54
Location: BB
 

Re: [client ::1] Directory index forbidden by Options directive: /srv/www/

Post by sundriver »

@Joe User,

Besten Dank!
Auf grep hätte ich direkt selbst kommen können.. Du hast völlig Recht, hier der Eintrag
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
Die Frage die ich jezt habe ist, was passiert wenn ich das auskommentiere, ist die IPv6 im normalen Betrieb auf der Netzwerkebene notwendig? Und, welcher Prozess ruft über diesen loopback /srv/www auf,oder ist genau das die Ursache?

cu
Sundriver
User avatar
Joe User
Project Manager
Project Manager
Posts: 11183
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: [client ::1] Directory index forbidden by Options directive: /srv/www/

Post by Joe User »

Sundriver wrote:was passiert wenn ich das auskommentiere
Nichts.
Sundriver wrote:ist die IPv6 im normalen Betrieb auf der Netzwerkebene notwendig?
Nein, noch nicht
Sundriver wrote:Und, welcher Prozess ruft über diesen loopback /srv/www auf,oder ist genau das die Ursache?
Das musst Du mittels Deiner Logs, netstat und lsof selbst herausfinden.
sundriver
Posts: 20
Joined: 2006-02-16 09:54
Location: BB
 

Re: [client ::1] Directory index forbidden by Options directive: /srv/www/

Post by sundriver »

Bestens, das hilft mir schonmal mächtig weiter.

Danke :-)

cu
Sundriver
sundriver
Posts: 20
Joined: 2006-02-16 09:54
Location: BB
 

Re: [client ::1] Directory index forbidden by Options directive: /srv/www/

Post by sundriver »

Shit, ich komm doch nicht weiter..

netstat -n zeigt mir in dem Moment wo dieser Logeintrag in der error_log generiert wird:
[Tue Sep 18 15:47:09 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/
dieses hier:
tcp 0 0 xx.xx.139.22:80 xx.xx.139.22:40426 TIME_WAIT
tcp 0 0 xx.xx.139.22:80 xx.xx.139.22:40427 TIME_WAIT
tcp 0 0 xx.xx.139.22:80 xx.xx.139.22:40428 TIME_WAIT
tcp 0 0 xx.xx.139.22:80 xx.xx.139.22:40429 TIME_WAIT
tcp 0 0 xx.xx.139.22:80 xx.xx.139.22:40430
//EDIT: Problem gelöst, es wurde, aus was für einen grund auch immer, die default-httpd.conf mit includiert..

cu
Sundriver