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.

Cannot suspend accounts

Discussion in 'General Discussion' started by sybersolutions, Feb 7, 2012.

  1. sybersolutions

    sybersolutions Registered

    Joined:
    Oct 18, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am trying to suspend an account on my server, its a VPS server and I get this error

    Changing Shell to /bin/false...Changing shell for ******.
    Warning: "/bin/false" is not listed in /etc/shells
    Shell changed.
    Done
    Locking Password...Locking password for user ******.
    passwd: Success
    Done
    Suspending mysql users
    Notification =>********@*****.com via EMAIL [level => 3]
    sendmail: Cannot lookup callers gid
    sendmail: Cannot lookup callers gid

    The account is still active. How can I fix this so that when I suspend it suspends.

    Thank you
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Typically, ownership issues might cause the error "sendmail: Cannot lookup callers gid" that you are seeing. Please try running a forced cPanel update first:

    Code:
    /scripts/upcp --force
    It should correct some of the ownership issues. After that, if the account still does not suspend, please tail the cPanel error log to see if any additional errors are logged to it:

    Code:
    tail -fn0 /usr/local/cpanel/logs/error_log
    Thanks!
     
  3. sybersolutions

    sybersolutions Registered

    Joined:
    Oct 18, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi I did do a cpanel update via my whm before contacting you and again just now via my SSH and still got the same error when I tried to suspend.

    So I ran the next line of code and got this error

    [2012-02-07 07:58:07 -0600] warn [unsuspendmysqlusers] **** has no databases. at /usr/local/cpanel/scripts/u
    nsuspendmysqlusers line 29

    How do I fix this and make sure that ALL my accounts have this so that if need be I can suspend and unsuspend them without problems?

    Thanks!
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If the account doesn't have MySQL users, then it cannot suspend or unsuspend the MySQL users, so I'm uncertain how that would be an issue.

    If you cannot suspend the account still, then please open up a ticket using WHM > Support Center > Contact cPanel or using the link in my signature.
     
Loading...

Share This Page