The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel Installation Error

Discussion in 'General Discussion' started by freedom12, Jul 21, 2014.

  1. freedom12

    freedom12 Member

    Joined:
    Jun 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, When I try to install cPanel in CentOS 6 64, I get this error,

    Code:
    [root@weddingdressit home]# sh latest
    Verifying archive integrity... All good.
    Uncompressing Cpanel & WHM Installer.....
            ____                  _
        ___|  _ \ __ _ _ __   ___| |
       / __| |_) / _` | '_ \ / _ \ |
      | (__|  __/ (_| | | | |  __/ |
       \___|_|   \__,_|_| |_|\___|_|
    
      Installer Version v00032 rd0a77335c9257e711a05151f8371e04f218507ca
    
    Beginning main installation.
    2014-07-21 12:42:25  433 ( INFO): cPanel install started at: Mon Jul 21 12:42:25 2014!
    2014-07-21 12:42:25  434 ( INFO): This install will take 20-50 minutes depending on your hardware.
    2014-07-21 12:42:25  435 ( INFO): Now is the time to go get another cup of coffee/jolt.
    2014-07-21 12:42:25  436 ( INFO): The install will log to /var/log/cpanel-install.log.
    2014-07-21 12:42:25  437 ( INFO):
    2014-07-21 12:42:25  438 ( INFO): Beginning Installation v3
    2014-07-21 12:42:25  338 ( INFO): CentOS 6 (Linux) detected!
    2014-07-21 12:42:25  366 ( INFO): Validating that 'weddingdressit' is a FQDN
    2014-07-21 12:42:25  372 (ERROR):
    2014-07-21 12:42:25  373 (ERROR): ********************* ERROR *********************
    2014-07-21 12:42:25  374 (ERROR):
    2014-07-21 12:42:25  375 (ERROR): Your hostname (weddingdressit) is not set properly. Please
    2014-07-21 12:42:25  376 (ERROR): change your hostname to a fully qualified domain name,
    2014-07-21 12:42:25  377 (ERROR): and re-run this installer.
    2014-07-21 12:42:25  378 (ERROR):
    2014-07-21 12:42:25  379 (ERROR): ********************* ERROR *********************
    2014-07-21 12:42:25  380 (FATAL): exiting...
    Removing /root/installer.lock
    How to solve this error?

    Please help me
     
    #1 freedom12, Jul 21, 2014
    Last edited by a moderator: Jul 21, 2014
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You need to change the server's hostname to a fully qualified domain name, as the output says:

    Code:
    2014-07-21 12:42:25  375 (ERROR): Your hostname (weddingdressit) is not set properly. Please
    2014-07-21 12:42:25  376 (ERROR): change your hostname to a fully qualified domain name,
    2014-07-21 12:42:25  377 (ERROR): and re-run this installer.
    weddingdressit is not a valid fully-qualified domain name. Our installation documentation explains the need for a fully-qualified hostname:

    http://documentation.cpanel.net/display/ALD/Installation+Guide+-+System+Requirements

    The following article explains the FQDN concept in more detail:

    Fully qualified domain name - Wikipedia, the free encyclopedia

    In short, a hostname on a Linux server must contain three parts: a host, a domain, and a top-level domain. If a server's hostname is myserver.example.tld, then myserver is the host, example is the domain, and tld is the top-level domain.

    Note that there are are top-level domains (usually country-specific) that have two periods, such as .co.in and .com.br. Those still must have both a host and a domain in front of them. example.com.br would not be a valid hostname, but myserver.example.com.br would be a valid hostname.

    The hostname must not be the same as a domain you are going to host on the server (example.com is not valid, but myserver.example.com is valid) and it must not start with www. Using just a domain for the hostname, or starting it with www, will cause problems with mail and your Web sites.

    To change the hostname on a new server, edit it in both /etc/hosts and /etc/sysconfig/network, and then reboot the server. You can then proceed to install cPanel.
     
  3. freedom12

    freedom12 Member

    Joined:
    Jun 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thank you very much. I solved it by changing it to the server ip since I haven't transfered my domain to this server.

    Thank you again.
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please do not use the server's IP address as the hostname. It is simply not valid. It will cause problems. It does not matter if the domain is transferred or not; that actually has nothing to do with it.

    The articles I linked to offer several examples of valid fully-qualified hostnames. I apologize that I did not mention it in my previous reply, but an IP address can never be a valid hostname on a Linux server.

    If you have already installed cPanel, log into the WebHost Manager and click Home » Networking Setup » Change Hostname. It will give you several examples of hostnames that are valid. Choose one, and set it. You need to fix this early, before you start adding accounts.

    As I said in my previous reply, the hostname must contain a host, a domain, and a top-level domain. An IP address contains none of those, so it simply cannot work as a valid hostname. What you have is simply not valid, and you need to fix it now before you start adding accounts.

    Take the domain you plan to use for hosting, and add something like server. or host. in front of it. That will give you a valid hostname. Using the server's IP address is not a shortcut and you will have problems with your Web sites and mail if you do not fix the hostname now.
     
  5. freedom12

    freedom12 Member

    Joined:
    Jun 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thank you very much. I understood , I will change the host name as you suggest to fix it.
    I really learned a lot from you. I really appreciate that.

    Best wishes.
     
  6. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You are most welcome. I am happy I was able to help.
     
Loading...

Share This Page