'Listen' disappear from Apache conf
Server has 4 IPs, sometimes after cpanel updates one particular IP's Listen directive get removed from apache conf.
I have to manually add Listen x.x.x.x to httpd.conf to get sites on that IP online.
Whats happening ?
-
Hi :), Have you manually added the IP to the server or from the WHM? Also try rebuilding the apache conf file - ]
- Create a copy of your httpd.conf file with your direct modifications.
- Run the /scripts/rebuildhttpdconf script to rebuild your httpd.conf file.
0 -
Hello, Yes, as mentioned, please run the following command and let us know of any output: /scripts/rebuildhttpdconf
Also, what method did you use to add these IP addresses to the server? Thank you.0 -
Running '/scripts/rebuildhttpdconf', I am getting this output. Shared IP x.x.x.x is reserved. Apache will not listen on this IP Under whm > Show/Edit Reserved IPs, none of the IP is selected. Although the problematic IP is dedicated to an account. 0 -
Got the issue, The IP was marked reserved under 'Home >> Service Configuration >> Apache Configuration >> Reserved IP Address Editor' Thanks for the help, I couldn't have figured by my own :) 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments