Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Error while terminating an account

Discussion in 'General Discussion' started by shanjie, Oct 4, 2017.

  1. shanjie

    shanjie Registered

    Joined:
    Apr 23, 2015
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    API failure: Can't use string ("1454518139") as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/Session.pm line 190.
     
    Angela Shirley likes this.
  2. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    112
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Are you trying to Terminate account from WHM or some other billing software ( WHMCS) ?
     
  3. shanjie

    shanjie Registered

    Joined:
    Apr 23, 2015
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    Terminate acc from WHM
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you let us know the full output from /usr/local/cpanel/logs/error_log when this happens? Also, is this happening for any account that you attempt to terminate, or is the issue isolated to a single account?

    Thank you.
     
  5. shanjie

    shanjie Registered

    Joined:
    Apr 23, 2015
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    is isolated to a single account.

    from /usr/local/cpanel/logs/error_log
    scripts::unsuspendacct::run("gohd", "", "") called at /usr/local/cpanel/scripts/unsuspendacct line 50
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify if this happens on cPanel version 66.0.24 or newer? It's possible this is related to the following case:

    Fixed case CPANEL-15877: Ensure accounts with missing userdata can be termianted.

    Otherwise, check to verify the ownership of the files and directories (besides the etc, public_html, and .htpasswds directories) in the /home/$username/ directory matches the username of the account:

    Code:
    ls -al /home/$username/
    Thank you.
     
  7. shanjie

    shanjie Registered

    Joined:
    Apr 23, 2015
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    Is running on 66.0.24.

    The username is matches by comparing other account in the same server.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
Loading...

Share This Page