Author Topic: Wrong info in CWP info block  (Read 958 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Wrong info in CWP info block
« on: February 08, 2017, 09:15:16 AM »
The CWP info block at the end of the right column report a wrong information.
Near 'Server IP' there is a wrong host name
The format should be:
Server IP: 123.123.123.123 | server1.mydomain.it
But what i see is:
Server IP: 123.123.123.123 | server1.mydomserver1.mydomain.it.it
My rdns is correct and points to server1.mydomain.it
My hostname seems to be correctly set in both cwp and centos6 to server1.mydomain.it
Where cwp gui fetch this wrong information? ho can I fix it?
Thanks
« Last Edit: February 08, 2017, 10:01:51 AM by Luca2186 »

Offline
*****
Re: Wrong info in CWP info block
« Reply #1 on: February 08, 2017, 12:25:35 PM »
check the /etc/hosts file

Offline
*
Re: Wrong info in CWP info block
« Reply #2 on: February 09, 2017, 09:29:25 AM »
Thank you, the problem was in /etc/hosts.
I found both correct and incorrect hosts in it, I deleted all the wrong hosts and than ran  /etc/init.d/network restart just to be sure.
« Last Edit: February 09, 2017, 09:32:28 AM by Luca2186 »