Skip to main content

Quota Errors on Attempt to Modify Account after 58 Upgrade

Comments

36 comments

  • wurdey
    I have checked fstav and quotas are still defined on the partition. When I attempt to modify a quota of a particular account (directly from "Quota Modification") I do not get any errors. Thinking maybe a package issue?
    0
  • cPanelMichael
    Hello, Please run the following command to verify if this system is on the Xen environment:
    /usr/local/cpanel/bin/envtype
    If so, it's possible your system is missing a required symbolic link located at /dev/root. You can check this with a command such as:
    ll /dev/root
    You can run the following command to find the device that corresponds with your root filesystem with a command such as:
    df -h
    Thus, if the device associated with "/" looks like this:
    /dev/sda1 1.8T 141G 1.6T 9% /
    You would run the following command as a temporary resolution until the system is rebooted:
    ln -s /dev/sda1 /dev/root
    To ensure the symlink is preserved during a reboot, you will need to modify the /etc/udev/rules.d/99-root-link.rules file on your system with a command such as:
    echo 'KERNEL=="sda1", SUBSYSTEM=="block", SYMLINK+="root"' > /etc/udev/rules.d/99-root-link.rules
    Note that this example assumes your root device is "/dev/sda1". Internal case CPANEL-6338 should address this issue automatically in cPanel version 60, however I'm checking to see if it's possible to issue a resolution in cPanel 58. I'll update this thread with more information as it becomes available. Thank you.
    0
  • wurdey
    I am in a KVM enviroment. Would the above hold true?
    0
  • cPanelMichael
    I am in a KVM enviroment. Would the above hold true?

    You should be able to utilize the same steps for the KVM environment. Let us know if the workaround does not work. Thank you.
    0
  • wurdey
    Worked perfect, thanks!
    0
  • cPanelMichael
    Hello, Good news! A resolution for this issue is now released as part of cPanel version 58.0.6: Fixed case CPANEL-6338: Implemented work around for broken /dev/root symlink during quotacheck. You can run the following command after updating to cPanel version 58.0.6 or newer to correct this issue:
    /scripts/fixquotas
    Thank you.
    0
  • Nestor Angulo
    Hi guys! I have upgraded to the 58.0 (build 5) and I have found that I can't modify any account. When I try, using the "modify account" option, later than selecting the acc I want to modify, I get this:
    A fatal error or timeout occurred while processing this directive. (XID e8r7rt) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths: at /usr/local/cpanel/Cpanel/Quota/Common.pm line 170. Cpanel::Quota::Common::get_limits(Cpanel::Quota::Blocks=HASH(0x6816180)) called at /usr/local/cpanel/Cpanel/Quota.pm line 111 Cpanel::Quota::displayquota(HASH(0x6961568)) called at whostmgr/bin/whostmgr.pl line 4164 main::edituser() called at whostmgr/bin/whostmgr.pl line 588
    Trying the workaround for the quotas issue that was opened recently: Quota Errors on Attempt to Modify Account after 58 Upgrade I have found that doing a df -h I get this (using root user):
    S.ficheros Tama"o Usados Disp Uso% Montado en /dev/root 47G 23G 24G 49% / devtmpfs 998M 0 998M 0% /dev tmpfs 1000M 0 1000M 0% /dev/shm tmpfs 1000M 9,6M 991M 1% /run tmpfs 1000M 0 1000M 0% /sys/fs/cgroup tmpfs 200M 0 200M 0% /run/user/997 tmpfs 200M 0 200M 0% /run/user/0
    And doing a "ll /dev/root" I get this:
    [~]# ll /dev/root /bin/ls: no se puede acceder a /dev/root: No existe el fichero o el directorio
    So I can't try the workaround. I tried also to execute the /scripts/fixquotas, and this is the output:
    [/scripts]# ./fixquotas fixquotas fixquotas-onboot root@marte [/scripts]# ./fixquotas-onboot edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected.
    So, I'm a little bit loose. Could you please help me? This is a CENTOS 7.2 x86_64 kvm in a Linode.
    0
  • cPanelMichael
    I have upgraded to the 58.0 (build 5)

    Hello, Keep in mind the resolution mentioned in the previous post is included with cPanel version 58.0.6 and newer. That said, could you post the contents of your /etc/fstab file here? Thank you.
    0
  • Nestor Angulo
    Sure. Actually I have the 0.58 (build 8) installed. # /etc/fstab # Created by anaconda on Mon Jul 7 20:25:55 2014 /dev/sda / ext3 noatime,errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1 /dev/sdb none swap sw 0 0 /proc /proc proc defaults 0 0 tmpfs /dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0
    Could you help me?
    0
  • cPanelMichael
    Sure. Actually I have the 0.58 (build 8) installed.

    Could you verify if the issue persists after running the "/scripts/fixquotas" command with the updated cPanel version (your previous post suggested you ran it on an earlier build)? Thank you.
    0
  • Nestor Angulo
    Sure. It continues:
    # ./fixquotas Installing Default Quota Databases......Done journaled quota support: kernel supports, user space tools supports (available) 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. /dev/sda (already configured quotas = 1). Updating Quota Files...... quotacheck: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. ....Done Quotas have been enabled and updated. Reading package Wordpress-Basic1_20h Resetting quota for admin20h to 0 M edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. Resetting quota for adminsoulpics to 0 M edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. Reading package Wordpress-Basic1 Resetting quota for cve to 0 M edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected. Resetting quota for golfict to 0 M edquota: Cannot stat() mounted device /dev/root: No existe el fichero o el directorio No filesystems with quota detected.
    0
  • cPanelMichael
    Would you mind opening a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Nestor Angulo
    Sure thing. It is done already. Ticket number: 7611861 Thanks
    0
  • raymond999
    WHM 58.0 (build 12) Creating Acc
    [2016-08-04 22:50:42 +0800] warn [cpsrvd] The subprocess (whostmgr (whostmgr5)) exited with an error: The subprocess reported error number 255 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 156. Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x23700e0)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 71 Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x23700e0), "subprocess_name", "whostmgr (whostmgr5)", "subprocess_read_handle", IO::Handle=GLOB(0x28e10a0), "subprocess_write_handle", IO::Handle=GLOB(0x28e0fc8), "api_type", "html", ...) called at cpsrvd.pl line 6369 cpanel::cpsrvd::cpHandler("app", "whostmgr", "json", 0, "document", "./scripts5/wwwacct") called at cpsrvd.pl line 5580 cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1552 cpanel::cpsrvd::dodoc(HASH(0xea4760)) called at cpsrvd.pl line 1315 cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 807 cpanel::cpsrvd::script() called at cpsrvd.pl line 314
    Modify Acc
    [2016-08-04 22:50:42 +0800] die [Internal Death while parsing [stdin] 8241] (XID qugqpn) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths: at /usr/local/cpanel/Cpanel/Quota/Common.pm line 170. Cpanel::Quota::Common::get_limits(Cpanel::Quota::Blocks=HASH(0x6c42d88)) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 138 Whostmgr::Accounts::IdTrack::uid_has_disk_usage(1021) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 90 Whostmgr::Accounts::IdTrack::allocate(1000, HASH(0x6a3cbe8)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 758 Whostmgr::Accounts::Create::_wwwacct("maxpark", 0, "useregns", 0, "max_email_per_hour", "unlimited", "maxsql", "n", "maxftp", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1978 Whostmgr::Accounts::Create::__createaccount("mxcheck", "local", "maxsub", "unlimited", "hasuseregns", 1, "featurelist", "default", "maxlst", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2028 Whostmgr::Accounts::Create::_createaccount("mxcheck", "local", "maxsub", "unlimited", "hasuseregns", 1, "featurelist", "default", "maxlst", ...) called at whostmgr/bin/whostmgr5.pl line 690 main::wwwacct() called at whostmgr/bin/whostmgr5.pl line 229 Cpanel::Exception::Quota::NotEnabled/(XID qugqpn) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths: at /usr/local/cpanel/Cpanel/Exception.pm line 73. Cpanel::Exception::create("Quota::NotEnabled", "Quotas are not enabled on any of the provided paths. Please c"..., ARRAY(0x6c432c8)) called at /usr/local/cpanel/Cpanel/Quota/Common.pm line 170 Cpanel::Quota::Common::get_limits(Cpanel::Quota::Blocks=HASH(0x6c42d88)) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 138 Whostmgr::Accounts::IdTrack::uid_has_disk_usage(1021) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 90 Whostmgr::Accounts::IdTrack::allocate(1000, HASH(0x6a3cbe8)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 758 Whostmgr::Accounts::Create::_wwwacct("maxpark", 0, "useregns", 0, "max_email_per_hour", "unlimited", "maxsql", "n", "maxftp", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1978 Whostmgr::Accounts::Create::__createaccount("mxcheck", "local", "maxsub", "unlimited", "hasuseregns", 1, "featurelist", "default", "maxlst", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2028 Whostmgr::Accounts::Create::_createaccount("mxcheck", "local", "maxsub", "unlimited", "hasuseregns", 1, "featurelist", "default", "maxlst", ...) called at whostmgr/bin/whostmgr5.pl line 690 main::wwwacct() called at whostmgr/bin/whostmgr5.pl line 229
    0
  • thanatos2k
    On my Linode, root was /dev/sda, so using ln -s /dev/sda /dev/root and echo 'KERNEL=="sda", SUBSYSTEM=="block", SYMLINK+="root"' > /etc/udev/rules.d/99-root-link.rules and then running /scripts/fixquoas did the trick for me. 58.0.12 version for me.
    0
  • Zurrie
    just curious, did cPanel team aware of this error? i mean did they do QC first before sending the update WHM 58.0 (build12) to public? now all my backup files show error warning during restore: (XID asm8d9) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths: [ 7151][RESTORE:1 ][A:abcd ]: at /usr/local/cpanel/Cpanel/Exception.pm line 73. [ 7151][RESTORE:1 ][A:abcd ]: Cpanel::Exception::create("Quota::NotEnabled", "Quotas are not enabled on any of the provided paths. Please c"..., ARRAY(0x843a3d8)) called at /usr/local/cpanel/Cpanel/Quota/Common.pm line 170 [ 7151][RESTORE:1 ][A:abcd ]: Cpanel::Quota::Common::get_limits(Cpanel::Quota::Blocks=HASH(0x8430f10)) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 138 relying on this backup files everyday using cPanel pkgacct and restorepkg function... *sigh*
    0
  • cPanelMichael
    Sure thing. It is done already. Ticket number: 7611861

    To update, in this particular support ticket, the issue was addressed with the following commands after verifying the device name was "/dev/sda":
    ln -s /dev/sda /dev/root /scripts/fixquotas
    Thanks.
    [2016-08-04 22:50:42 +0800] warn [cpsrvd] The subprocess (whostmgr (whostmgr5)) exited with an error: The subprocess reported error number 255 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 156.

    Could you let us know if the issue persists after updating to cPanel version 58.0.13? It includes an additional resolution related to this issue: Fixed case CPANEL-7594: Resolve /proc/mounts symlink when fixing missing /dev/root. Thanks.
    On my Linode, root was /dev/sda, so using ln -s /dev/sda /dev/root and echo 'KERNEL=="sda", SUBSYSTEM=="block", SYMLINK+="root"' > /etc/udev/rules.d/99-root-link.rules and then running /scripts/fixquoas did the trick for me. 58.0.12 version for me.

    Thank you for updating this thread with the resolution on your Linode environment. Note that cPanel version 58.0.13 includes an additional resolution referenced above that should negate the need for a manual workaround.
    (XID asm8d9) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths:

    Could you verify if the issue persists after updating to cPanel version 58.0.13 and running the "/scripts/fixquotas" command? Thank you.
    0
  • Zurrie
    Could you verify if the issue persists after updating to cPanel version 58.0.13 and running the "/scripts/fixquotas" command?

    Hi Michael, cPanel version 58.0.13 [current] still in RC. It is safe or not to update? i never use any new update until "release version", really annoying problem for me because i need to restore some accounts with size almost 30GB... never have problem before since i use cPanel for almost 5 years *sigh* so you will understand how i feel about this situation. regards, Zurrie
    0
  • cPanelMichael
    cPanel version 58.0.13 [current] still in RC. It is safe or not to update?

    This version is currently published to the "Edge" and "Current" build tiers, and is tentatively scheduled for publication to the "Release" build tier tomorrow. You can review the full change log, information on updating cPanel/WHM, and information on the build/release process at:
    0
  • Zurrie
    update: 1. on Linode Centos 6.xx and Centos 7.xx (all default ISO's from Linode) Everything seems okay after use cPanel version 58.0.13 [current] and do /scripts/fixquotas 2. but at OVH server (soyoustart) (all default ISO's from SoYou) got error message after update to cPanel version 58.0.13 [current] and do /scripts/fixquotas [root@abcd scripts]# /scripts/fixquotas Installing Default Quota Databases......Done journaled quota support: kernel supports, user space tools supports (available) checking out /backup Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process. /dev/md2 (already configured quotas = 1). /dev/md3 (already configured quotas = 1). Updating Quota Files...... quotacheck: Cannot stat() mounted device /dev/root: Too many levels of symbolic links quotacheck: Cannot stat() mounted device /dev/root: Too many levels of symbolic links quotacheck: Scanning /dev/md3 [/home] load sym quotacheck_virtfs_wrapper-1.0: skipped path: /home/virtfs quotacheck: Cannot stat old user quota file /home/quota.user: No such file or directory. Usage will not be subtracted. quotacheck: Old group file name could not been determined. Usage will not be subtracted. quotacheck: Checked 5126 directories and 117585 files quotacheck: Old file not found. done ....Done Quotas have been enabled and updated. Resetting quota for hellome to 900 M edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links
    0
  • cPanelMichael
    . on Linode Centos 6.xx and Centos 7.xx (all default ISO's from Linode) Everything seems okay after use cPanel version 58.0.13 [current] and do /scripts/fixquotas

    Thank you for letting us know the issue is addressed on Linode systems after updating to cPanel 58.0.13. Note that it's now available in the "Release" build tier.
    . but at OVH server (soyoustart) (all default ISO's from SoYou) got error message after update to cPanel version 58.0.13 [current] and do /scripts/fixquotas: quotacheck: Cannot stat() mounted device /dev/root: Too many levels of symbolic links

    Please let us know the output from the following commands:
    cat /etc/fstab ls -al /dev/root df -h
    Also, could you verify if you made manual changes related to this issue in the past? Or, were all changes automatically implemented after updating and running "/scripts/fixquotas"? Thank you.
    0
  • Zurrie
    Also, could you verify if you made manual changes related to this issue in the past? Or, were all changes automatically implemented after updating and running "/scripts/fixquotas"?

    Hi Michael, Nope, everything in automatic fresh install from SoYou (OVH) ISO Centos7, this is happen after i update to cPanel version 58.0.13 [current] and do /scripts/fixquotas. [root@abcd ~]# cat /etc/fstab # /dev/md2 / ext4 errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1 /dev/md3 /home ext4 usrjquota=quota.user,jqfmt=vfsv0 1 2 /dev/sda4 swap swap defaults 0 0 /dev/sdb4 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts defaults 0 0 [root@abcd ~]# ls -al /dev/root ls: cannot access /dev/root: No such file or directory [root@abcd ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G 7.1G 12G 40% / devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 18M 7.9G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/md3 1.8T 63G 1.7T 4% /home tmpfs 1.6G 0 1.6G 0% /run/user/0
    0
  • cPanelMichael
    Nope, everything in automatic fresh install from SoYou (OVH) ISO Centos7, this is happen after i update to cPanel version 58.0.13 [current] and do /scripts/fixquotas.

    Would you mind opening a support ticket using the link in my signature and then posting the ticket number here so we can take a closer look? Thank you.
    0
  • cloferba
    I tried to update quotas
    /scripts/fixquotas
    but I get the following error:
    Updating Quota Files...... quotacheck: Cannot stat() mounted device /dev/root: Too many levels of symbolic links quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. ....Done Quotas have been enabled and updated. Resetting quota for aaacftp to 0 M edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links
    I'm still unable to upload files through file manager.
    0
  • cPanelMichael
    An additional case, CPANEL-7896, is open to ensure /etc/fstab is read if /dev/root is a broken symlink. This should address reports of the following error message:
    quotacheck: Cannot stat() mounted device /dev/root: Too many levels of symbolic links
    I'll update this thread once the resolution associated with this case is released. In the meantime, please post the output from the following commands if the manual workaround referenced earlier in this thread is unhelpful:
    grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype /usr/local/cpanel/3rdparty/bin/perl -MCpanel::Filesys::Root -le 'print Cpanel::Filesys::Root::get_root_device_path();' ls -ld /dev/root grep -v rootfs /proc/mounts |grep root cat /etc/fstab rpm -qa|grep quota
    Customers calling why they can't access their webmail accounts with the "Over quota" error, I upgraded the Quota from 2GB to 3GB and the "Over quota" error continues.

    I'm not sure this is related to the issue reported on this thread. I've moved the post to it's own thread at: Email Quotas Thank you.
    0
  • Zurrie
    Would you mind opening a support ticket using the link in my signature and then posting the ticket number here so we can take a closer look? Thank you.

    Hi Michael, Thanks for your suggestions, i will open ticket when i think its necessary, meanwhile forums is the fastest response in my opinion. Update: ]1. error i found in WHM 11.58.0.13
    0
  • Leo Ashcraft
    I have this same exact problem with WHM 11.58.0.13 - how did you updgrade to WHM 11.58.0.17 it says 13 is the latest version. I get the edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links error and cant edit user quotas and getting errors in the reseller cpanel pages. Everything appears to work - but these errors are wasting my time. Doesnt cpanel test any of this stuff before releasing it to the public?
    Hi Michael, Thanks for your suggestions, i will open ticket when i think its necessary, meanwhile forums is the fastest response in my opinion. Update: 1. error i found in WHM 11.58.0.13
    0
  • Zurrie
    I have this same exact problem with WHM 11.58.0.13 - how did you updgrade to WHM 11.58.0.17 it says 13 is the latest version. I get the edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links error and cant edit user quotas and getting errors in the reseller cpanel pages. Everything appears to work - but these errors are wasting my time. Doesnt cpanel test any of this stuff before releasing it to the public?

    heh that is the same question i ask before about QC, since cPanel is not "new hosting control panel" for me i think this kind of incident really annoying and really "unprofessional release" (below standard). it took me two days to recover all my backup files... lucky me all files can be recover, well i still believe in cPanel. For update to release candidate, go to your WHM access ---> Update Preferences 1. Choose Release Candidate. 2. Press Save. 3. Login to your SSH type "/scripts/upcp --force" Good Luck, Zurrie
    0
  • cPanelMichael
    edquota: Cannot stat() mounted device /dev/root: Too many levels of symbolic links

    CPANEL-7896 should address this issue, however it's not yet released. I'll update this thread as soon as that happens. In the meantime, you could check to see the current symlink with a command such as:
    ls -alh /dev/root
    Here's an example of how the output looks on systems with the "Too many levels of symbolic links" error message:
    # ls -alh /dev/root lrwxrwxrwx 1 root root 9 Aug 9 15:41 /dev/root -> /dev/root
    Removing the bad symbolic link and following the workaround instructions found earlier in this thread should address the issue until the resolution is released. Feel free to let us know if you have any questions, or the workaround doesn't resolve the issue. Thank you.
    0
  • cPanelMichael
    Hello, To update, the resolution associated with CPANEL-7896 is included with cPanel 58.0.19: Fixed case CPANEL-7896: Add fallback to reading /etc/fstab if /dev/root is a broken symlink. This version is currently published to the "Edge" and "Current" build tiers, and is expected to make it's way to the "Release" build tier in the next couple of days. You can review the full change log, information on updating cPanel/WHM, and information on the build/release process at:
    0

Please sign in to leave a comment.