|
Re: Problema neidentificata Apache2.0.50/FreeBSD 5.2.1: msg#00098org.user-groups.bsd.romanian.rofug.general
Serghei Amelian wrote: Ghici ce se intampla daca apache nu asculta si pe ipv6... AA: Imi cer scuze, dar nu reusesc sa ghicesc. Ce se intampla? Se intampla ca "telnet 127.0.01 80" sa mearga, iar "telnet localhost 80" sa nu mearga, fireste. AA: telnet 127.0.01 sigur nu merge, telnet 127.0.0.1 trebuie sa mearga. La fel si telnet localhost trebuie sa mearga, chiar daca apache nu asculta pe ipv6. Va asigur ca sunt multi daemoni care asculta doar pe IPV4, si cu toate astea telnet localhost pe portul lor merge, la fel cum merg si conexiunile din exterior (atata timp cat configuratia serverului este corecta). Ganditi-va ca era o vreme cand IPV6 nu era inca implementat deloc, si totusi telnet localhost mergea bine pe orice port deschis si nefiltrat... Acelasi lucru ramane valabil si pentru UDP. cp# ifconfig lo0 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 cp# Deci interfata lo0 este capabila si de inet6.. cp# sockstat | grep tcp6 cp# sockstat | grep udp6 named named 472 4 udp6 *:1024 *:* cp# Dar pe serverul in cauza, in afara de DNS nu asculta nimeni pe IPv6. Si totusi: cp# telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ^C # cp# host localhost localhost has address 127.0.0.1 cp# cp# nslookup localhost Server: xxx.xxxx.net Address: x.x.x.x Name: localhost Address: 127.0.0.1 cp# ^EOF Eu am avut o problema similara acum cativa ani, si cauza a fost setarea incorecta a variabilei hostname. Comportamentul apache-ului era simplu: segmantation fault. (1.3.23 parca) Pentru Paul: te rog baga ErrorLevel Debug in httpd.conf, restarteaza apache, si sigur o sa vezi ceva in error_log file. Mai exact: HostnameLookups Off ErrorLog /hsphere/local/home/cpanel/apache/logs/error_log LogLevel debug TransferLog /hsphere/local/home/cpanel/apache/logs/access_log Cu stima, -- Alin-Adrian Anton Spintech Systems GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E __________________________________________________________ Send 'unsubscribe rofug' to listar-gQFem4m/dK4@xxxxxxxxxxxxxxxx to unsubscribe |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problema neidentificata Apache2.0.50/FreeBSD 5.2.1: 00098, Serghei Amelian |
|---|---|
| Next by Date: | Re: Problema neidentificata Apache2.0.50/FreeBSD 5.2.1: 00098, Serghei Amelian |
| Previous by Thread: | Re: Problema neidentificata Apache2.0.50/FreeBSD 5.2.1i: 00098, Serghei Amelian |
| Next by Thread: | Re: Problema neidentificata Apache2.0.50/FreeBSD 5.2.1: 00098, Serghei Amelian |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |