Forum Moderators: phranque

Message Too Old, No Replies

Re-install Apache and it will not start

Apache, restart

         

ebola100

4:33 am on Apr 15, 2007 (gmt 0)

10+ Year Member



I reinstalled Apache with Yum on Fedora Core. Then when I type in service httpd start I get "Failed".

Typing in sh -v /etc/init.d/httpd start

gives me:

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

The only thing I changed with httpd.conf is the servername, I used the name of my website.

At first I left the Listen 80 alone. Didn't work. Tried changing it to my IP address but the message still says "Could not bind to address 0.0.0.0:80. It's like Apache is not noticing the changes I make to httpd.conf.

Any advice?

jdMorgan

2:49 pm on Apr 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Something -- and probably the old Apache installation, is still bound to the socket for port 80. The new Apache installation cannot connect to that socket until it is free. So, it looks like the old installation was not completely removed prior to installing the new.

Jim

ebola100

8:49 pm on Apr 15, 2007 (gmt 0)

10+ Year Member



Thanks. I didn't know how to manually uninstall apache and I thought the GUI would take care of everything...so I just reinstalled the OS after backing up my files.