• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cant install Plesk

D

Daniel P

Guest
Hi Guys,

I have just purchased a server and installed Ubuntu 12.04.

I then ran the below and it starts to install however I seem to receive the following error below and it will not let me access the web interface. Any ideas would be really appreciated?

"wget -O - http://autoinstall.plesk.com/one-click-installer | sh"


Error:

Warning!
Unable to determine the host or domain name of your computer.
Setting it to localhost.localdomain

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

***** problem report *****
ERROR while trying to check the hostname
Check the error reason(see log file: /tmp/plesk_10.4.4_installation.log), fix and try again
Synchronizing the Debian APT package index files...

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.
If you cannot resolve the issue on your own, contact product technical support for assistance.
 
Hi Guys,

I have just purchased a server and installed Ubuntu 12.04.

I then ran the below and it starts to install however I seem to receive the following error below and it will not let me access the web interface. Any ideas would be really appreciated?

"wget -O - http://autoinstall.plesk.com/one-click-installer | sh"


Error:

Warning!
Unable to determine the host or domain name of your computer.
Setting it to localhost.localdomain

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

***** problem report *****
ERROR while trying to check the hostname
Check the error reason(see log file: /tmp/plesk_10.4.4_installation.log), fix and try again
Synchronizing the Debian APT package index files...

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.
If you cannot resolve the issue on your own, contact product technical support for assistance.

Well that sounds exactly a host name problem ...Please set or change your hostname with the command

#hostname NEW_NAME

Then you can try again installing plesk.
 
Output below:


root@redfire1:~# hostname
redfire1

root@redfire1:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.177.129.116 redfire1
.my.IP.address redfire1

Regards

Dan
 
Just tried renaming the hostname to existing hostname and reinstalling and it seems to be working now. Many thanks for your help!

Regards

Dan
 
Output below:


root@redfire1:~# hostname
redfire1

root@redfire1:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.177.129.116 redfire1
.my.IP.address redfire1

Regards

Dan

Great that it worked for you ...Otherwise a hostname should be a full qualified domain name.
 
We should provide more clear description when hostname isn’t a full qualified domain name. Corresponding request was already submitted.
 
Back
Top