tnycman

Member
Feb 1, 2015
13
0
1
cPanel Access Level
Root Administrator
I just installed the WHM on a new server and I keep getting the same error over and over, basically when I try to create the account it gets stuck on Adding User "forever", and I wont be able to show the complete error because of that..

I did tried suggestion from other posts with no luck

Any thoughts ?
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Could you let us know the output in /usr/local/cpanel/logs/error_log when this happens?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

"/usr/local/cpanel/logs/error_log" is the path to the log file as opposed to a command. You can review the last few lines and see new lines added to this file with a command such as:

Code:
tail -f  /usr/local/cpanel/logs/error_log
Let this command run when creating an account via WHM, and post the output here in CODE tags. Ensure you remove any real domain names and IP addresses.

Thank you.
 

tnycman

Member
Feb 1, 2015
13
0
1
cPanel Access Level
Root Administrator
Code:
[2016-08-03 13:21:11 -0400] die [Internal Death while parsing [stdin] 6974] (XID kd2cpk) 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(0x6daad78)) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 138
        Whostmgr::Accounts::IdTrack::uid_has_disk_usage(500) called at /usr/local/cpanel/Whostmgr/Accounts/IdTrack.pm line 90
        Whostmgr::Accounts::IdTrack::allocate(500, HASH(0x694dcf0)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 758
        Whostmgr::Accounts::Create::_wwwacct("gid", "", "max_email_per_hour", "unlimited", "quota", "unlimited", "force", undef, "user", ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1978
 
Last edited by a moderator:

tnycman

Member
Feb 1, 2015
13
0
1
cPanel Access Level
Root Administrator
Hello,

Do you notice any error messages when running the "/scripts/fixquotas" command? Also, please review the following thread to verify if it's the same issue you are facing:

Quota Errors on Attempt to Modify Account after 58 Upgrade

Thank you.
Ran it:

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 such file or directory
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

....Done
Quotas have been enabled and updated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Could you review the workaround referenced in the thread linked in my previous response to let us know if that helps to address the issue?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Please let us know the output from the following command:

Code:
cat /etc/fstab
Also, what specific steps did you take?

Thank you.
 

tnycman

Member
Feb 1, 2015
13
0
1
cPanel Access Level
Root Administrator
Please let us know the output from the following command:

Code:
cat /etc/fstab
Also, what specific steps did you take?

Thank you.
See the output below:

# /etc/fstab
# Created by anaconda on Sun Mar 9 13:40:48 2014
#
# 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
#
/dev/sda / ext4 noatime,errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1
/dev/sdb none swap sw 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
/proc /proc proc defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0


I followed all the steps on the link top to bottom..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I followed all the steps on the link top to bottom..
Feel free to open 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.
 

tnycman

Member
Feb 1, 2015
13
0
1
cPanel Access Level
Root Administrator
Issue resolved by support- thank you!!!

It appears you had a /dev/root symlinked to /dev/sda1 which doesn't exist, I removed this symlinked and created a new one to /dev/sda instead;

unlink /dev/sda1
ln -s /dev/sda /dev/root
/scripts/initquotas
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I'm happy to see the issue was resolved. Thank you for updating us with the outcome.