Hostname error while installing

flipsidetw

Registered
Mar 6, 2014
4
0
1
cPanel Access Level
Website Owner
Greetings all! I've installed centos 6.5 & trying to install cpanel. But everytime I get this error "hostname () is not set properly error. Please change your hostname to a fully qualified domain name........"
I've edited /etc/hosts & added a hostname like this :

192.168.0.101 server1.myworld.com server1

Disabled firewall & SELinux. What am I doing wrong? Plz any solution someone! Tnx!!!
 

TheJudge

Member
Mar 6, 2014
8
0
1
cPanel Access Level
Root Administrator
Hi,

...and to make it persistent across reboot edit /etc/sysconfig/network file by adding HOSTNAME=server.domain.com entry or edit the existing one if there is one..

Regards,
Raul
 

flipsidetw

Registered
Mar 6, 2014
4
0
1
cPanel Access Level
Website Owner
Hello :)

Please set the hostname of your server with the "hostname" command. EX:

Code:
hostname server.domain.com
Thank you.
Tnx. It worked finally. But it's taking too long to install. I'm not sure if it's working or not but I went out to a party while cPanel was installing & after like 3 hrs I'm seeing lines of most of them like this,
Code:
[20140307.000XXX]     Retrieving and staging /cpanelsync/11.42.0.19/binaries/linux-x86_64/perl/...........
[20140307.000XXX]     Retrieving and staging /cpanelsync/11.42.0.19/binaries/linux-x86_64/perl/...........
[20140307.000XXX]     Retrieving and staging /cpanelsync/11.42.0.19/binaries/linux-x86_64/perl/...........
I'm totally new so I don't know what's going on. Is it really installing? If it is, then how long will it take to finish. Tnx!
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Feel free to submit a support ticket using the link in my signature so we can review the installation and complete it for you if necessary. You can post the ticket number here so we can update this thread with the outcome.

Thank you.