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.

Migrated our server to new hardware. Will no longer license.

Discussion in 'General Discussion' started by rwattUAB, Feb 9, 2015.

  1. rwattUAB

    rwattUAB Registered

    Joined:
    Feb 9, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We migrated our server running cPanel/WHM to new hardware over the weekend. Everything stayed the same from the OS standpoint. Same IPs, etc. Everything is running fine, except I can't get access to our cPanel/WHM web interface and it says it can't license.

    We're running CentOS 5.11. The cPanel license verification site (License Verification - cPanel Inc.) reports everything is ok from your side. I've manually tried to run /usr/local/cpanel/cpkeyclt, but it just sits there. Same thing if I run lynx -dump http://www.cpanel.net/showip.cgi. One of the tasks that was involved in the migration to new hardware was the placement behind our campus firewall, but we opened what was assumed to be the needed incoming ports (outgoing is not blocked).

    I'm also putting in a ticket to our campus firewall support to verify nothing extra was being blocked, because the various Apache sites we run on this server are accessible just fine. Plus we have no trouble ssh'ing into it. So it leads me to believe that cPanel license servers are somehow being blocked in the process. By the way, this server does have unrestricted incoming on port 80 (which is what I thought the host server IP needed in order for cPanel to see it). Are there other ports that cPanel server need to send traffic over?

    Running cat /usr/local/cpanel/logs/license_log I get this now:

    Mon Feb 9 01:49:02 2015: License Update Request
    Mon Feb 9 01:49:02 2015: Using full manual DNS resolution
    Mon Feb 9 01:49:22 2015: Timeout while resolving nameservers using root nameservers
    Mon Feb 9 01:49:22 2015: Failed to resolve using root nameservers: Died at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 419.
    Mon Feb 9 01:49:22 2015: Using full manual DNS resolution
    Mon Feb 9 01:49:42 2015: Timeout while resolving nameservers using root nameservers
    Mon Feb 9 01:49:42 2015: Failed to resolve using root nameservers: Died at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 419.
    Mon Feb 9 01:49:42 2015: Using full manual DNS resolution
    Mon Feb 9 01:50:02 2015: Timeout while resolving nameservers using root nameservers
    Mon Feb 9 01:50:02 2015: Failed to resolve using root nameservers: Died at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 419.
    Mon Feb 9 01:50:02 2015: License server hostnames could not be resolved to IP addresses; using fallbacks
    Mon Feb 9 01:50:02 2015: Trying server 208.74.123.34
    Mon Feb 9 01:50:17 2015: Timed out while connecting to port 2089
    Mon Feb 9 01:50:32 2015: Timed out while connecting to port 80
    Mon Feb 9 01:50:47 2015: Timed out while connecting to port 110
    Mon Feb 9 01:51:02 2015: Timed out while connecting to port 143


    1. From our physical campus firewall standpoint, we have outgoing from this server allowed to ALL. Incoming is what's restricted. What port(s) does cPanel license servers use to check remote hosts?
    2. What IP ranges does cPanel use to send various requests (license or otherwise) from, so I can limit relay that to our campus firewall?
     
    #1 rwattUAB, Feb 9, 2015
    Last edited by a moderator: Feb 9, 2015
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    your DNS resolvers are not working hence the error "Timeout while resolving nameservers using root nameservers"
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are you using valid resolvers in your /etc/resolv.conf file? Does it make a difference if you use Google's public DNS resolvers (8.8.8.8, 8.8.4.4)? I recommend consulting with your provider again and have them double check that outgoing connections to ports 2089 and 80 are not restricted.

    Thank you.
     
Loading...

Share This Page