Cpanel /etc/hosts alert issues (Ip Migration issues)

Written on 4:13 AM by David S Anand


scenario

After changing the primary ip of the Cpanel server following mail comes to the Admin from cpanel@server.xxxx.com

IMPORTANT: Do not ignore this email.
The hostname (server.xxxxx.com) resolves to . It should resolve to
xxx.xxx.xx.x. Please be sure to correct /etc/hosts as well as the 'A'
entry in zone file for the domain.

You may be able to
automaticly correct this problem by using the ' Add an A
entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager

But the host name resolves to the server properly.

ANSWER


The problem was not with the /etc/hosts ...etc
Check the /etc/ipaddrpool is the new ip listed. I got a old ip listed there.
check /etc/ips .

The problem was some one saved the old eth configuration in
/etc/sysconfig/network-scripts/fcfg-eth0.back - when the network is restarted
the old ip gets loaded and created an conflict.


After removing the old ip's config and restarting the network the old Ip is
gone but the secondary ips are also missing ....!!

Go to WHM and remove the secondary ips once and added the secondary
ip's again issue fixed.....!

The story continuous !!!
"Story teller"






If you enjoyed this post Subscribe to our feed

No Comment

Post a Comment