• 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

ERROR while trying to get domain name

D

dafer

Guest
I have installed Plesk on fresh operating system, but when preparing system for plesk installation, I get this:

------------------
Preparing system for Plesk installation
===============================================================================

There are 92 standard packages, that are necessary for Plesk and which
were not found in your system.

There are 2 standard packages, that are installed, but will be upgraded
for product installation.

System packages download size: 109.75 Mb


N) Install Plesk and all required packages; P) Go back;
Q) Cancel installing; L) Show list of packages;
Select action [N]: n
Get Plesk product packages.
Get system update packages.
Start packages installation
Install package drweb-qmail
Unable to determine the domain name of your computer.
Please, run the 'domainname' or 'hostname -f' command
from the console and make sure that the command returns your domain name.

ERROR while trying to get domain name
Check the error reason(see log file: /tmp/psa_8.0.1_FedoraCore_4_build80060613.20_installing.log), fix and try again

Aborting...

error: %post(drweb-qmail-4.33-fc4.build80060613.20.i586) scriptlet failed, exit status 1
Error while execute command rpm -U /root/psa/PSA_8.0.1/dist-rpm-FedoraCore-4-i386/opt/drweb/drweb-qmail-4.33-fc4.build80060613.20.i586.rpm
ERROR: error while executing RPM
ERROR: Installation failed
--------------------------

Can any help me? Thanks in advance
 
Preparing system for Plesk installation

Try hostname -f
or hostname the.domain.com
(the.domain.com is your domain name)

if hostname unknow
goes to tour hosts file and add the domain name and IP

Jc
 
Back
Top