Apache2
Erik P. Skaalerud
erik at pentadon.com
Fri May 7 17:49:02 PDT 2004
Somehow, my apache2 server refuses to work anymore on dragonfly.
No logs in /var/log/ gives me any output on why it wont work. in
/var/log/httpd-error.log it just shows:
"[Sat May 08 02:04:18 2004] [notice] Apache/2.0.49 (Unix) configured --
resuming normal operations"
This is a 100% standard config that came with the port install.
Trying to connect to port only only gives out connection refused.
Some various output:
[root at mail:/etc/rc.d]$ telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
[root at mail:/etc/rc.d]$ sockstat -46 | grep www
www httpd 93560 3 tcp46 *:80 *:*
www httpd 93559 3 tcp46 *:80 *:*
www httpd 93558 3 tcp46 *:80 *:*
www httpd 93557 3 tcp46 *:80 *:*
www httpd 93556 3 tcp46 *:80 *:*
[root at mail:/etc/rc.d]$ ps auxw | grep www
www 93556 0.0 0.9 4116 2748 ?? IL 2:04AM 0:00.00
/usr/local/sbin/httpd -k start
www 93557 0.0 0.9 4116 2748 ?? IL 2:04AM 0:00.01
/usr/local/sbin/httpd -k start
www 93558 0.0 0.9 4116 2748 ?? IL 2:04AM 0:00.00
/usr/local/sbin/httpd -k start
www 93559 0.0 0.9 4116 2748 ?? IL 2:04AM 0:00.00
/usr/local/sbin/httpd -k start
www 93560 0.0 0.9 4116 2748 ?? IL 2:04AM 0:00.00
/usr/local/sbin/httpd -k start
[root at mail:/etc/rc.d]$ netstat -al | grep http
tcp46 0 0 *.http *.* LISTEN
[root at mail:/etc/rc.d]$ ipfw list
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any
[root at mail:/etc/rc.d]$ ip6fw list
00100 allow ipv6 from any to any via lo0
00200 allow ipv6-icmp from :: to ff02::/16
00300 allow ipv6-icmp from fe80::/10 to fe80::/10
00400 allow ipv6-icmp from fe80::/10 to ff02::/16
65000 allow ipv6 from any to any
65535 deny ipv6 from any to any
[root at mail:/etc/rc.d]$ uname -a
DragonFly mail.bsdtech.com 1.0-CURRENT DragonFly 1.0-CURRENT #0: Mon May 3
05:18:16 CEST 2004 root at xxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC
i386
- Erik
More information about the Bugs
mailing list