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!

Suspend problem when Quota Exceed

Discussion in 'General Discussion' started by musioc, Dec 13, 2013.

  1. musioc

    musioc Well-Known Member

    Aug 4, 2011
    Likes Received:
    Trophy Points:
    I think this is a bug in cPanel

    cPanel Uses .htaccess to redirect disabled sites to suspended page.
    When we suspend an account, if that account quota is exceeded, cPanel return error without any change in htaccess

    Locking Password...Locking password for user username.
    passwd: Success
    1Suspending email account logins for .... Failed to write lock file: /home/username/etc/ Disk quota exceeded at /usr/local/cpanel/Cpanel/ line 17.
    [2013-12-13 15:29:53 +0430] warn [suspendacct] could not acquire a lock for '/home/username/etc/' at /usr/local/cpanel/Cpanel/ line 256
    	Cpanel::SafeFile::_safe_open(GLOB(0x3f01c50), '<', '/home/username/etc/', CODE(0x1eec370), 'safeopen') called at /usr/local/cpanel/Cpanel/ line 32
    	Cpanel::SafeFile::safeopen(GLOB(0x3f01c50), '<', '/home/username/etc/') called at /usr/local/cpanel/scripts/suspendacct line 298
    	scripts::suspendacct::_suspendshadowfile('/home/username/etc/') called at /usr/local/cpanel/scripts/suspendacct line 291
    	scripts::suspendacct::__ANON__(CODE(0x3f752a0)) called at /usr/local/cpanel/Cpanel/ line 94
    	Cpanel::AccessIds::__ANON__(CODE(0x3f752a0)) called at /usr/local/cpanel/Cpanel/ line 134
    	Cpanel::AccessIds::do_as_current_user(CODE(0x3f752a0)) called at /usr/local/cpanel/Cpanel/ line 97
    	Cpanel::AccessIds::do_as_user_group('username', 782, CODE(0x3f747f0), 'username', CODE(0x3f747f0)) called at /usr/local/cpanel/Cpanel/ line 67
    	Cpanel::AccessIds::do_as_user('username', CODE(0x3f747f0)) called at /usr/local/cpanel/scripts/suspendacct line 291
    	scripts::suspendacct::suspendshadowfile('username', '/home/username/etc/') called at /usr/local/cpanel/scripts/suspendacct line 145
    	scripts::suspendacct::run('username', 'Suspended as one of reseller mobinho1’s accounts') called at /usr/local/cpanel/scripts/suspendacct line 34
    Failed to read /home/username/etc/ Disk quota exceeded at /usr/local/cpanel/scripts/suspendacct line 306.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is currently by design per internal case 61826. The workaround to this problem is to increase the quota of the account prior to suspending it. I suggest opening a feature request if you would like to see a change to this behavior:

    Submit A Feature Request

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice