• 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

Adding New Domain Error

A

AlanMadrid

Guest
Hi, im having a problem when i try to add a new domain, i attached image with error

---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
CPU GenuineIntel, Intel(R) Xeon(R)CPU X5650 @ 2.67GHz
Version Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6
OS Linux 2.6.32-71.el6.x86_64

PROBLEM DESCRIPTION
Error while adding new domain

STEPS TO REPRODUCE
Adding new domain in "Websites & Domains > Add New Domain"

ACTUAL RESULT
Error: Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>' what(): Execution of hostname -f failed with return code 1. Stderr is hostname: Unknown host

--------------------------------------------------------------

Thank you for your time
 

Attachments

  • Screen Shot 2012-05-22 at 10.50.52 AM.png
    Screen Shot 2012-05-22 at 10.50.52 AM.png
    134.5 KB · Views: 9
What sort of output following command:

# cat /etc/hosts

Do you have there record like

127.0.0.1 localhost <your_hostname>

?
 
Hello,

the output is:


[root@hosting ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6



thank you

-A
 
Back
Top