Apache will not start after IP change

Posted by Doron on Server Fault See other posts from Server Fault or by Doron
Published on 2012-04-03T00:27:41Z Indexed on 2012/04/03 5:31 UTC
Read the original article Hit count: 237

Filed under:
|
|

I'm running CentOS 5.8 and I had to change my server's IP address. Afterwards, I'm unable start Apache. I am also running virtualmin. The error I'm receiving is: Failed to start service

 Starting httpd: httpd: Could not reliably determine the server's fully qualified domain   name, using 184.106.146.125 for ServerName
 (99)      
 Cannot assign requested address: make_sock: could not bind to address 50.56.33.100:8080
 no listening sockets available, shutting down
 Unable to open logs

I edited my httpd.conf to point to the new IP address like such:

 #Listen 12.34.56.78:80
 Listen 184.106.146.125:80

And looking at the error it still seems to be referring to the old ip address (50.*).

© Server Fault or respective owner

Related posts about apache2

Related posts about centos