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.

SOLVED License keeps disappearing after restart

Discussion in 'General Discussion' started by nistor.andrei, Dec 12, 2016.

Tags:
  1. nistor.andrei

    nistor.andrei Member

    Joined:
    Jun 5, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iasi
    cPanel Access Level:
    Root Administrator
    Hello,

    Whenever I restart the VPS I need to login as root and execute the command to update the license ( /usr/local/cpanel/cpkeyclt ).
    How can I fix this so I don't need to execute the command every time?

    I am using the latest stable version.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific error message that appears in /usr/local/cpanel/logs/license_log before updating the license with the /usr/local/cpanel/cpkeyclt command?

    Thank you.
     
  3. nistor.andrei

    nistor.andrei Member

    Joined:
    Jun 5, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iasi
    cPanel Access Level:
    Root Administrator
    Hello,

    This is after the restart ( command not executed as root ):
    Tue Dec 13 10:47:13 2016: License Update Request
    Tue Dec 13 10:47:13 2016: Using full manual DNS resolution
    Tue Dec 13 10:47:17 2016: Trying server 208.74.121.83
    Tue Dec 13 10:47:17 2016: Connected using local address 89.46.7.101
    Tue Dec 13 10:47:18 2016: Server 208.74.121.83 on port 2089 returned:
    Key Accepted
    Key Follows
    Tue Dec 13 10:47:18 2016: Obtained lock license file
    Tue Dec 13 10:47:18 2016: Update openid connect client credentials
    Tue Dec 13 10:47:18 2016: Accepted license from server 208.74.121.83 on port 2089
    Tue Dec 13 10:47:18 2016: License update succeeded after trying 1 server



    After command executed as root:
    Tue Dec 13 10:51:11 2016: License Update Request
    Tue Dec 13 10:51:11 2016: Using full manual DNS resolution
    Tue Dec 13 10:51:12 2016: Trying server 208.74.121.85
    Tue Dec 13 10:51:12 2016: Connected using local address 89.46.7.101
    Tue Dec 13 10:51:13 2016: Server 208.74.121.85 on port 2089 returned:
    Key Accepted
    Key Follows
    Tue Dec 13 10:51:13 2016: Obtained lock license file
    Tue Dec 13 10:51:13 2016: Update openid connect client credentials
    Tue Dec 13 10:51:13 2016: Accepted license from server 208.74.121.85 on port 2089
    Tue Dec 13 10:51:13 2016: License update succeeded after trying 1 server
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The logs show the license check is successful in both attempts. Is it possible the hostname configured for this VPS from the hardware node is changing upon reboot? If so, use your VPS management utility if it's offered to ensure the hostname matches what you have configured on the server. If not, feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here and we can update this thread with the outcome.

    Thank you.
     
  5. nistor.andrei

    nistor.andrei Member

    Joined:
    Jun 5, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iasi
    cPanel Access Level:
    Root Administrator
    8058627
     
    #5 nistor.andrei, Dec 14, 2016
    Last edited by a moderator: Dec 14, 2016
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  7. Peet

    Peet Registered

    Joined:
    Dec 18, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicagoland
    cPanel Access Level:
    Root Administrator
    Hi - I signed up just to reply back to this. FYI two days ago cpupdate ran and installed 60.0.28 which caused CSF/LFD to complain of high resource usage and suspicious process RPC, that was issue one. I ended up doing a reboot and lost my license as the OP. Manually added it back with /usr/local/cpanel/cpkeyclt reboot, license gone again. Found this thread and am hopeful that 62 comes out soon. In the meantime, is there a manual fix?

    What's more - is RPC required since it's a pre-req for quota which is a prereq for some cpanel piece or another.

    Thanks
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You can find the tentative schedule for production releases under the "Production releases" section at:

    Product Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

    The manual workaround in the meantime is to restart the cpsrvd service after the system reboots via the following command:

    Code:
    /scripts/restartsrv_cpsrvd
    This topic is discussed at:

    In Progress - rpcbind got installed.

    Feel free to add additional questions to that thread.

    Thanks!
     
    Peet likes this.
  9. Peet

    Peet Registered

    Joined:
    Dec 18, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicagoland
    cPanel Access Level:
    Root Administrator
    Hi - just writing to confirm, now that 62 is live, did this fix go in as planned?

    Thanks
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  11. crliuh

    crliuh Member

    Joined:
    Jun 16, 2014
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi,

    i'm facing the same issue after a graceful restart. and this is 1st time happening to me.

    i've submitted my request to customer service, ticket no 8253021, but this is urgent for me. my clients are waiting for solution.

    please help

    - Removed -
     
    #11 crliuh, Feb 22, 2017
    Last edited by a moderator: Feb 22, 2017
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like you closed the ticket. Could you verify if the issue is resolved?

    Thank you.
     
  13. Dave Braddock

    Dave Braddock Registered

    Joined:
    Feb 27, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Zealand
    cPanel Access Level:
    Root Administrator
    Hi,

    We have just experienced the same problem after a graceful restart.
    Required logging in as root and doing a /usr/local/cpanel/cpkeyclt command to resolve the issue.

    As per previous posts, nothing untoward showing in the license_log.

    The server is running cPanel vs 62.0.15.

    Any help appreciated as to why this happened?
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Did you make a change to the kernel version upon reboot? If so, please ensure you review the following thread:

    Unactivated License File after Upgrading Kernel

    Thank you.
     
Loading...

Share This Page