MarceloKonrath

Well-Known Member
Jun 8, 2013
47
9
58
cPanel Access Level
Root Administrator
Hello


after upgrade I have this bug in all servers.

CLOUDLINUX 6.9 x86_64 standard – server cPanel & WHM 64.0 (build 19)

The DNS zone is not removed and an error is displayed.

I already tried running the /scripts/fixquotas and this did not work.

Any suggestion ?

Thank you
Konrath

Code:
[email protected] [/]# /scripts/removeacct --force konrath2
Running pre removal script (/usr/local/cpanel/scripts/prekillacct)......Done
Collecting Domain Name and IP......Done
Locking account and setting shell to nologin......Done
Removing Sessions.........Done
Killing all processes owned by user......Done
Removing Suspended Info.........Done
Removing Web Logs......Done
Removing Bandwidth Files......Done
Removing any unneeded pending interface locks......Done
Removing Email Sending Limits Cache......Done
Removing DKIM keys......Done
Removing Crontab......Done
Removing IPv6......Done
Removing external authentication links …......Done
Running AutoSSL account deletion logic …......Done
Removing domain TLS resources …......Done
Removing HTTP Virtual Hosts......Done
Rebuilding Mail SNI configuration......Done
Removing ftp Virtual Hosts......Done
Removing user's web content directory symlinks......Done
Removing MySQL databases and users......Done
Revoking MySQL Privs.......Done
Removing PostgreSQL databases and users...info [removeacct] PGSQL: Remove dbuser konrath2 for owner konrath2 on
...Done
Removing Two-Factor Authentication entries..........Done
Removing API Token entries..........Done
Removing User & Group.......Cpanel::Exception::Quota::NotEnabled/(XID er3bsf) Filesystem quotas are not enabled on “/dev/sda3”.
 at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
        Cpanel::Exception::create("Quota::NotEnabled", "Filesystem quotas are not enabled on \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d}.", ARRAY(0x7f7b5e0)) called at /usr/local/cpanel/Cpanel/Quota/Inode.pm line 113
        Cpanel::Quota::Inode::_set_limits(Cpanel::Quota::Inode=HASH(0x7ff8f80), HASH(0x7ee29a8), HASH(0x7e8d488)) called at /usr/local/cpanel/Cpanel/Quota/Inode.pm line 65
        Cpanel::Quota::Inode::set_limits(Cpanel::Quota::Inode=HASH(0x7ff8f80), HASH(0x7e8d488)) called at /usr/local/cpanel/Cpanel/Quota/Temp.pm line 121
        Cpanel::Quota::Temp::disable(Cpanel::Quota::Temp=HASH(0x7ff0858)) called at /usr/local/cpanel/Cpanel/Quota/Clean.pm line 17
        Cpanel::Quota::Clean::zero_quota(12262) called at /usr/local/cpanel/Cpanel/SysAccounts.pm line 262
        Cpanel::SysAccounts::remove_system_user("konrath2", 0) called at /usr/local/cpanel/Whostmgr/Accounts/Remove.pm line 590
        Whostmgr::Accounts::Remove::_killacct("user", "konrath2", "killdns", 1) called at /usr/local/cpanel/Whostmgr/Accounts/Remove.pm line 877
        Whostmgr::Accounts::Remove::_removeaccount("user", "konrath2", "keepdns", undef, "force", 1) called at bin/removeacct.pl line 74
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463
Hello,

Removing User & Group.......Cpanel::Exception::Quota::NotEnabled/(XID er3bsf) Filesystem quotas are not enabled on “/dev/sda3”.
at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
Could you let us know the output you see when running the "/scripts/fixquotas" command? Also, what does your /etc/fstab file look like?

Note that internal case CPANEL-10139 will ensure this error message is accounted for during the account removal process in cPanel version 66. In the meantime, you should be able to manually delete the DNS zone and then run the following command for any affected accounts:

Code:
/scripts/updateuserdomains
Thank you.
 

MarceloKonrath

Well-Known Member
Jun 8, 2013
47
9
58
cPanel Access Level
Root Administrator
Hello,



Could you let us know the output you see when running the "/scripts/fixquotas" command? Also, what does your /etc/fstab file look like?

Note that internal case CPANEL-10139 will ensure this error message is accounted for during the account removal process in cPanel version 66. In the meantime, you should be able to manually delete the DNS zone and then run the following command for any affected accounts:

Code:
/scripts/updateuserdomains
Thank you.

Hello cPanelMichael

Yes, I can remove DNS ZONE manually and without running /scripts/updateuserdomains

Important.

This problem only happens with new accounts. Old accounts removal is done successfully.

Below the quotacheck execution status and below the removal of an old account successfully.

Thank you
Konrath


Code:
[email protected] [/]#  /scripts/fixquotas
Installing Default Quota Databases...../disk2/aquota.user..../disk2/quota.user.....Done
journaled quota support: kernel supports, user space tools supports (available)
checking out /disk2
checking out /backup
checking out /backup
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
UUID=71945ba4-ca2b-401a-a46f-9f5fdd3988fa (already configured quotas = 1).
UUID=bcfb3277-f337-4248-8619-8c8b76459bc1 (already configured quotas = 0).
UUID=db17931b-c346-4f82-ac0b-ea9815b2ac43 (already configured quotas = 1).
UUID=4bcc9156-bf9a-4c29-a02b-22ab492ff52b (already configured quotas = 0).
UUID=37424f1e-2bad-4fc7-9a90-beff7260aefd (already configured quotas = 1).
UUID=20a539cd-d33f-4556-b5ab-cf6ca89a77c5 (already configured quotas = 1).
Updating Quota Files......
        quotacheck: Scanning /dev/sda7 [/] load sym
-------------------------------
Code:
[email protected] [/]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Mar 13 12:17:44 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=71945ba4-ca2b-401a-a46f-9f5fdd3988fa       /       ext4    usrjquota=quota.user,jqfmt=vfsv0        1       1
UUID=bcfb3277-f337-4248-8619-8c8b76459bc1 /boot                   ext4    defaults        1 2
UUID=db17931b-c346-4f82-ac0b-ea9815b2ac43       /disk2  ext4    defaults,usrquota       1       2
UUID=4bcc9156-bf9a-4c29-a02b-22ab492ff52b /tmp                    ext4    defaults,nosuid,noexec,nodev        1 2
UUID=37424f1e-2bad-4fc7-9a90-beff7260aefd       /usr    ext4    usrjquota=quota.user,jqfmt=vfsv0        1       2
UUID=20a539cd-d33f-4556-b5ab-cf6ca89a77c5       /var    ext4    usrjquota=quota.user,jqfmt=vfsv0        1       2
UUID=22b68913-4150-437a-a6d4-c9025cea1362 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
[email protected] [/]#

---------------------------------------------




OLD ACCOUNT REMOVE WITHOUT PROBLEM
Code:
[email protected] [/]# /scripts/removeacct --force arcenter
Running pre removal script (/usr/local/cpanel/scripts/prekillacct)......Done
Collecting Domain Name and IP......Done
Locking account and setting shell to nologin......Done
Removing Sessions.........Done
Killing all processes owned by user......Done
Removing Suspended Info.........Done
Removing Web Logs......Done
Removing Bandwidth Files......Done
Removing any unneeded pending interface locks......Done
Removing Email Sending Limits Cache......Done
Removing DKIM keys......Done
Removing Crontab......Done
Removing IPv6......Done
Removing external authentication links …......Done
Running AutoSSL account deletion logic …......Done
Removing domain TLS resources …......Done
Removing HTTP Virtual Hosts......Done
Rebuilding Mail SNI configuration......Done
Removing ftp Virtual Hosts......Done
Removing user's web content directory symlinks......Done
Removing MySQL databases and users......Done
Revoking MySQL Privs.......Done
Removing PostgreSQL databases and users...info [removeacct] PGSQL: Remove dbuser arcenter for owner arcenter on
...Done
Removing Two-Factor Authentication entries..........Done
Removing API Token entries..........Done
Removing User & Group..........Done
Removing DNS Entries......Done
Removing Email Setup......Done
Removing mailman lists......Done
Updating Databases......Done
Removing bandwidth limits......Done
Removing Counter Data......Done
Adding IP back to the IP address pool......Done
Removing user's cPanel Databases & Updating......Done
Reloading Services......Done
Removing mail and service configs......Done
Sending Contacts......Done
Updating internal databases......Done
Running post removal scripts (/usr/local/cpanel/scripts/legacypostkillacct, /usr/local/cpanel/scripts/postkillacct)......Done
Account Removal Complete!!!......Done
[Removed]

Listing MySQL dbs for removal.
Fetching MySQL DB Owner information.

[Removed] => deleted from server.
Removing /etc/valiases/[Removed]
System has 13 free ips.

[Removed] account removed
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look at the affected system? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

MarceloKonrath

Well-Known Member
Jun 8, 2013
47
9
58
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 at the affected system? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
Hello cPanelMichael

Thanks, I'll open a ticket soon.

I checked the other servers and the problem is only happening with 1 server.

Konrath