(fwd) Re: Any chance you could give some more details on using ports?

Erik P. Skaalerud erik at pentadon.com
Tue Jul 20 18:38:50 PDT 2004


Hi again Mark.

I just built apache2 from ports when INET6 isnt in kernel, and it works 
fine.

Erik


Please help me..

Justin is saying to report this to you.  In speaking with Erik, I get the 
impression Apache2 is not working with Dfly.  I know it compiles.  I have 
already done it.  But, Erik is saying something seems wrong with the IPV6 
stack.  All I know is I can't get it to run.  No daemon, no error 
messages, no nothing..

I need to get a Subversion server setup ASAP.  I would rather not use 
something else while this is getting resolved..  If I do, we might not be 
able to pitch Dfly again as a viable OS option.  Will this resolve soon?  
Is it a simple fix, or a difficult one?

Any info is greatly appreciated.  Help please..

-----------------------

Hi Mark.

I have given up on Apache2, it simply would not load anymore (look for
segfaults/core dumps in "dmesg -a").
Also, the IPV6 stack on DragonFly BSD is badly bugged. I've removed
INET6 from my kernel config and switched over to apache 1.3.x.
Works wonderful for me right now.

Erik


-----------------------

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


-----Original Message-----
Date: Thu, 15 Jul 2004 20:59:52 -0400 (EDT)
From: justin at xxxxxxxxxxxxxxxxxx
Subject: Re: Any chance you could give some more details on using ports?
If apache2 won't build, report the details to bugs at xxxxxxxxxxxxxxxxx
Someone there may be able to identify the problem.





More information about the Bugs mailing list