On 07/05/07, MJ Ray mjr@phonecoop.coop wrote:
"Jenny Hopkins" hopkins.jenny@gmail.com wrote: [...]
[crit] (98)Address already in use: make_sock: could not bind to port 80
netstat -t -l -n -p | grep 80 then shows only xinetd is listening on port 80.
The only way I can persuade apache to start is to comment out the 'Include hosts.conf' line in httpd.conf, start the server, allow the hosts.conf to be included once again, and restart. [...]
Why is xinetd listening on port 80? Are both trying to listen to port 80 on a particular IP address?
I think it must be from the svn entry in xinetd.conf: server_args = -i -r /home/balloon/svn/ --listen-host=balloonboard.org
What is in hosts.conf? What does netstat show when apache is running?
sudo netstat -t -l -n -p | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 13823/apache
What does it show if xinetd is stopped and apache is restarted?
apache still won't start when xinetd is stopped. Same error [crit] (98)Address already in use: make_sock: could not bind to port 80 but now sudo netstat -t -l -n -p | grep 80 has no resulting output.
I'm ferreting through the different virtual hosts logs to see if any particular requests are sending a SIGTERM.
I've recently had problems with bind ignoring the IP address it was told to listen on and dumbly refusing to listen on any if the primary address was taken. Has something changed in recent kernels or libc? Also, anyone got a recommendation for a better-behaving slave DNSd?
This is a hosted machine with an old 2.4 kernel.
More question than answers,
No answers to your questions, sorry :-(
Many thanks,
Jenny