[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debian] Apache stürzt bei REMOTE_ADDR=127.0.0.1 ab



Moin,

seit neustem stürzt mir mein Apache (s.u.) ab, wenn er versucht
rauszukriegen wie er selbst heisst (so interpretier ich das jedenfalls). 

Ich starte ein 'telnet localhost 80' und es gibt einen 

---------------------------------------------------------------------------
localhost:~# strace -p 21993
semop(0, 0x8096b10, 1)                  = 0
select(18, [16 17], NULL, NULL, NULL)   = 1 (in [17])
accept(17, {sin_family=AF_INET, sin_port=htons(1289), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3
semop(0, 0x8096b16, 1)                  = 0
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x805b814, [], SA_INTERRUPT|0x4000000}, 8) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0
setsockopt(3, IPPROTO_TCP1, [1], 4)     = 0
--- SIGSEGV (Segmentation fault) ---
chdir("/etc/apache")                    = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
getpid()                                = 21993
kill(21993, SIGSEGV)                    = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) ---
---------------------------------------------------------------------------

der SEGV tritt _immer_ nach dem "getsockname(... 127.0.0.1)" auf, und nur
dann, wenn ich per 'telnet localhost 80' oder 'telnet 127.0.0.1' vom selben
Rechner abrufe. Von anderen Rechnern aus funktionierts.

Ich schätze, ich habe was in der nsswitch.conf (die habe ich aber seit der
woody-installation überhaupt nicht geänder) oder der /etc/hosts

---------------------------------------------------------------------------
127.0.0.1       localhost localhost.localdomain
# 127.0.0.1     localhost localhost.foo.de
 
195.XXX.XXX.65  eth0 eth0.foo.de
 
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
---------------------------------------------------------------------------

vermurkst. Meine Apache-Konfiguration ist nicht sehr exotisch, bloss daß
ich mod-ssl benutze (und das funktioniert auch einwandfrei).


Any hints? Kann das an einer kaputten /etc/hosts liegen?


Danke!

-- 
Jens Benecke ········ http://www.hitchhikers.de/ - Europas Mitfahrzentrale

MSTD, n: MicroSoft Transmitted Disease. Propagates only due to Microsoft's
insistence on distributing [software] that resembles Petri dishes.
See also ILOVEYOU, Melissa, Code Red, Sircam, IIS.
                     -- http://www.everything2.com/index.pl?node=MSTD 

Attachment: pgp9Ek1hMrwhn.pgp
Description: PGP signature


Reply to: