Parallels Plesk update fails: " ERROR while trying to check the hostname"

Created:

2016-11-16 13:09:20 UTC

Modified:

2016-12-21 20:04:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Parallels Plesk update fails: " ERROR while trying to check the hostname"

Symptoms

  1. A Parallels Plesk upgrade started in the background fails with the following message:

    Error: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
    Warning! Not all packages were installed.
    Please check if your system services are operable.
    Please resolve this issue and try installing the packages again.
  2. An attempt to run /usr/local/psa/admin/bin/autoinstaller fails with the following error:

    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 successful installation.
  3. The following error can be observed in /tmp/autoinstaller3.log :

    ===> Updated /etc/psa/psa.conf
    Trying to save legacy variables... done
    Trying to resolve hostname 'myplesk.tld' and validate its IP address...
    Can not bind a socket to address myplesk.tld:715 - Cannot assign requested address
    Please, check your network configuration

    ERROR while trying to check the hostname
    Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

    ***** problem report *****
    ERROR while trying to check the hostname
    Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

Cause

The wrong hostname or IP address is specified in /etc/hosts .

Resolution

On Linux, check /etc/hosts . On Windows, check %WINDIR%\\System32\\drivers\\etc\\hosts .

Make sure that the correct IP address for the hostname is specified. The format would be SERVER_IP SERVER_HOSTNAME, for example:

192.168.0.1 hostname.tld

You can find out the correct hostname by running the following command on Linux:

hostname -f

Alternatively, on Windows, run:

hostname
Have more questions? Submit a request
Please sign in to leave a comment.