- Plesk for Linux
Plesk installer shows warning in the beginning of upgrade:
CONFIG_TEXT: Your host name must resolve to the correct IP address of your server, unless you are using network address translation (NAT).
Please quit Parallels Installer, fix the host name resolution problem,
and then try installing again.
You can skip the hostname check and continue the installation, however,
in such a case, the installer cannot guarantee a successful installation.
Plesk upgrade to next release or Plesk updates installation fails:
CONFIG_TEXT: Can not bind a socket to address host.example.com:715 - Cannot assign requested address
CONFIG_TEXT: Please specify the host name in the /etc/hosts file or specify DNS configuration in the /etc/resolv.conf on your system.
ERROR while trying to check the hostname
CONFIG_TEXT: Warning: Host name check failed.
Can't bind to socket: Cannot assign requested address
Invalid hostname or IP address configuration in
Connect to Plesk via SSH
Identify the server hostname and IP address:
# ip a | grep inet | egrep -v "127.0.0.1|::1"
inet 203.0.113.2/32 brd 203.0.113.2 scope global venet0:0
Set actual IP address and hostname in
/etc/hostsfile identified on previous step:
CONFIG_TEXT: 203.0.113.2 server.example.com
If the server has several IP addresses, ping the hostname from local server or workstation to determine the main address:
# ping host.example.com
PING server.example.com (203.0.113.2) 56(84) bytes of data.
64 bytes from server.example.com (203.0.113.2): icmp_seq=1 ttl=56 time=54.9 ms
If the server is behind NAT, use the private server IP address.Click here to see the command used to check IP address from the local computer
# nslookup host.example.com
For CentOS7/CloudLinux7/RHEL7 only, specify the hostname from step 2:
# hostnamectl set-hostname host.example.com