WHM account suspension not suspending..

Discussion in 'Site & Server Administration' started by mfwl, Jun 6, 2008.

  1. #1
    When I suspend an account in WHM using 'root' it shows as suspended however the site is still accessible even days after it has been suspended..

    Any ideas why the script is saying its completed and then doesnt actually do it.. Here is the outcome of a suspension request!

    Suspension of rabbit
    Changing Shell to /bin/false...Changing shell for rabbit.
    Warning: "/bin/false" is not listed in /etc/shells
    Shell changed.
    Done

    Locking Password...Locking password for user rabbit.
    passwd: Success
    Done
    Suspending email account logins for rabbitroasters.com .... Done
    Suspending email account logins for rabbitroasters.co.uk .... Done
    Suspending mysql users
    Notification => via EMAIL [level => 3]
    Using Quota v3 Support
    Suspended document root /home/rabbit/public_html
    Using Quota v3 Support
    Suspending FTP accounts...
    Updating ftp passwords for rabbit
    Ftp password files updated.
    Ftp vhost passwords synced
    rabbit's account has been suspended

    This is the result of the unsuspension:

    Unsuspension of rabbit
    Changing shell for rabbit.
    Shell changed.

    Unlocking password for user rabbit.
    passwd: Success.
    Unsuspending email account logins for rabbitroasters.com .... Done
    Unsuspending email account logins for rabbitroasters.co.uk .... Done
    Unsuspending FTP accounts...
    Updating ftp passwords for rabbit
    Ftp password files updated.
    Ftp vhost passwords synced
    rabbit's account is now active
    Unsuspending mysql users
    Notification => via EMAIL [level => 3]

    Any ideas why its not actually pointing visitors at the suspended page?

    Matt
     
    mfwl, Jun 6, 2008 IP
  2. Afazelpoor

    Afazelpoor Guest

    Messages:
    292
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try suspending the domain, do you have a generic suspend page?
     
    Afazelpoor, Jun 6, 2008 IP
  3. mfwl

    mfwl Well-Known Member

    Messages:
    307
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    135
    #3
    I was assuming there was one already incorperated in WHM... do I have to make one? If so where should it be and what should it be called?

    Sorry to be blond!

    Matt
     
    mfwl, Jun 7, 2008 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    Try to unsuspend and suspend account from shell access:

    Login as a root user via SSH and give the below command:

    /scripts/unsuspendacct username

    and then

    /scripts/suspendacct username

    Replace the username with your domain's username.

    If this doesn't help try to run upcp (/scripts/upcp) and try above.

    Kailash
     
    kailash, Jun 7, 2008 IP
  5. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    #5
    Yes, same thing happened with me also.
    Unsuspend it and then suspend it again, It will work.
     
    qualityhostings, Jun 8, 2008 IP