17 August 2005
Weird RedHat Apache Error
Posted by Mikhail Esteves under: Tips .
If you try starting Apache and keep getting an error like: Address already in use: make_sock: could not bind to address a:b:c:d:80, try the following:
1) Edit /etc/hosts and ensure your hostname is in the aliases for 127.0.0.1
2) Ensure the /etc/hostname file exists and has your hostname in it.
3) Do a /etc/init.d/tux stop — Tux is a webserver that eats up port 80 and so Apache complains.
4) Do /etc/init.d/httpd start and all should work fine.
Alternatively, change the port to 81 in httpd.conf if you need Tux running for some reason.
apache, httpd, redhat, linux, tips