[Vserver] Problem binding to 0.0.0.0

From: John Lyons <vserver_at_nsnoc.com>
Date: Thu 23 Mar 2006 - 13:43:28 GMT
Message-ID: <0f0e01c64e7f$c8c64d10$c301a8c0@John>

This is what we've got

Linux svr26.xxxxxxx 2.6.15-1.1833_FC4.vs2.0.2.0.rc10.1 #1 Thu Mar 2 12:57:13
EST 2006 i686 athlon i386 GNU/Linux

util-vserver-devel-0.30.210-4.fc4
util-vserver-build-0.30.210-4.fc4
util-vserver-lib-0.30.210-4.fc4
util-vserver-legacy-0.30.210-4.fc4
util-vserver-0.30.210-4.fc4
util-vserver-core-0.30.210-4.fc4
util-vserver-sysv-0.30.210-4.fc4

The problem is that v_httpd which calls
 /usr/lib/util-vserver/vsysvwrapper httpd start
is binding to 0.0.0.0:80 on the host server so no vservers can start httpd

If I stop v_httpd and start apache on a vserver then httpd starts on the
vserver as 0.0.0.0:80 and neither the host nor any other vserver on the box
can then start apache.

If I set the listen and bind directives within the vservers httpd.conf file
to set the vservers IP address and port 80 then apache fails with the error
below even though there are no apache process running anywhere on the host
or other vservers and nothing is bound to port 80
[crit] (98)Address already in use: make_sock: could not bind to port 80

Any clues on a fix, I've spent the best part of 2 hours trying to figure out
what the problem is.

Regards

John

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Mar 23 13:44:01 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 23 Mar 2006 - 13:44:05 GMT by hypermail 2.1.8