unable to add new account from root whm

tweaker

Member
Sep 25, 2015
14
1
3
India
cPanel Access Level
Root Administrator
tried creating a new account from WHM after a long time. and it displays error.

Account Creation Status: failed
Unable to add user xxx

I tailed the error log and it shows a huge list of errors
any suggestions

Code:
[2016-05-21 07:25:41 -0500] warn [whostmgr5] Lock /etc/ipaddrpool.lock lost! at

/usr/local/cpanel/Cpanel/SafeFile.pm line 173
        Cpanel::SafeFile::safeunlock(ARRAY(0xa8c517c)) called at

/usr/local/cpanel/Cpanel/SafeFile.pm line 89
        Cpanel::SafeFile::safeclose(GLOB(0xa4f80ec), ARRAY(0xa8c517c)) called at

/usr/local/cpanel/Cpanel/IpPool.pm line 45
        Cpanel::IpPool::rebuild(1) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 317
        Whostmgr::Accounts::Create::_wwwacct('spf', undef, 'hasshell', 'n', 'featurelist',

'default', 'pass', '}*)6OB2B}+Nd', 'no_cache_update', 0, 'hascgi', 'y', 'forcedns', 0,

'max_email_per_hour', 'unlimited', 'owner', 'root', 'maxpop', 11, 'cpmod', 'x3', 'maxaddon', 2,

'quota', 'unlimited', 'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'dkim', undef,

'useregns', 0, 'plan', 'moving', 'maxsql', 11, 'bwlimit', 20000, 'domain', 'aspl2.mydom.net',

'locale', 'en', 'user', 'asplpl', 'is_restore', 0, 'installfp', 'n', 'useip', 'n', 'contactemail',

'[email protected]', 'force', undef, 'mxcheck', 'local', 'maxftp', 11, 'maxlst', 'n', 'maxsub', 5)

called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1855
        Whostmgr::Accounts::Create::__createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line

1906
        Whostmgr::Accounts::Create::_createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at whostmgr/bin/whostmgr5 line 565
        main::wwwacct() called at whostmgr/bin/whostmgr5 line 214
[2016-05-21 07:25:41 -0500] warn [whostmgr5] Lock /etc/ipaddrpool.lock lost! at

/usr/local/cpanel/Cpanel/SafeFile.pm line 173
        Cpanel::SafeFile::safeunlock(ARRAY(0xa8c6ba4)) called at

/usr/local/cpanel/Cpanel/SafeFile.pm line 89
        Cpanel::SafeFile::safeclose(GLOB(0xa4f87ac), ARRAY(0xa8c6ba4)) called at

/usr/local/cpanel/Cpanel/DIp.pm line 313
        Cpanel::DIp::getipsfromfilelist('/etc/ipaddrpool') called at

/usr/local/cpanel/Cpanel/DIp.pm line 291
        Cpanel::DIp::getunallocatedipslist() called at /usr/local/cpanel/Cpanel/DIp.pm line 102
        Cpanel::DIp::_get_resellersips_hash('root') called at /usr/local/cpanel/Cpanel/DIp.pm line

88
        Cpanel::DIp::get_available_ips('root') called at

/usr/local/cpanel/Whostmgr/Accounts/Create.pm line 495
        Whostmgr::Accounts::Create::_wwwacct('spf', undef, 'hasshell', 'n', 'featurelist',

'default', 'pass', '}*)6OB2B}+Nd', 'no_cache_update', 0, 'hascgi', 'y', 'forcedns', 0,

'max_email_per_hour', 'unlimited', 'owner', 'root', 'maxpop', 11, 'cpmod', 'x3', 'maxaddon', 2,

'quota', 'unlimited', 'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'dkim', undef,

'useregns', 0, 'plan', 'moving', 'maxsql', 11, 'bwlimit', 20000, 'domain', 'aspl2.mydom.net',

'locale', 'en', 'user', 'asplpl', 'is_restore', 0, 'installfp', 'n', 'useip', 'n', 'contactemail',

'[email protected]', 'force', undef, 'mxcheck', 'local', 'maxftp', 11, 'maxlst', 'n', 'maxsub', 5)

called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1855
        Whostmgr::Accounts::Create::__createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line

1906
        Whostmgr::Accounts::Create::_createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at whostmgr/bin/whostmgr5 line 565
        main::wwwacct() called at whostmgr/bin/whostmgr5 line 214
[2016-05-21 07:25:42 -0500] warn [whostmgr5] Attempt to repair system password files because we

received an error while adding a user: signal=[0] code=[10]. at

/usr/local/cpanel/Cpanel/SysAccounts.pm line 175
        Cpanel::SysAccounts::_run_pw_cmds(ARRAY(0xa86be44), ARRAY(0xa8e92fc)) called at

/usr/local/cpanel/Cpanel/SysAccounts.pm line 56
        Cpanel::SysAccounts::add_system_user('asplpl', 'pass', '}*)6OB2B}+Nd', 'uid', 511, 'gid',

508, 'homedir', '/home2/asplpl', 'homedir_root', '/home2', 'shell',

'/usr/local/cpanel/bin/noshell') called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 685
        Whostmgr::Accounts::Create::_wwwacct('spf', undef, 'hasshell', 'n', 'featurelist',

'default', 'pass', '}*)6OB2B}+Nd', 'no_cache_update', 0, 'hascgi', 'y', 'forcedns', 0,

'max_email_per_hour', 'unlimited', 'owner', 'root', 'maxpop', 11, 'cpmod', 'x3', 'maxaddon', 2,

'quota', 'unlimited', 'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'dkim', undef,

'useregns', 0, 'plan', 'moving', 'maxsql', 11, 'bwlimit', 20000, 'domain', 'aspl2.mydom.net',

'locale', 'en', 'user', 'asplpl', 'is_restore', 0, 'installfp', 'n', 'useip', 'n', 'contactemail',

'[email protected]', 'force', undef, 'mxcheck', 'local', 'maxftp', 11, 'maxlst', 'n', 'maxsub', 5)

called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1855
        Whostmgr::Accounts::Create::__createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line

1906
        Whostmgr::Accounts::Create::_createaccount('featurelist', 'default', 'username', 'asplpl',

'max_email_per_hour', 'unlimited', 'maxpop', 11, 'cpmod', 'x3', 'customip', '--Auto Assign--',

'maxaddon', 2, 'quota', 'unlimited', 'hasuseregns', 1, 'dbuser', 'asplpl',

'max_defer_fail_percentage', 'unlimited', 'maxpark', 2, 'cgi', 1, 'plan', 'moving', 'bwlimit',

20000, 'maxsql', 11, 'domain', 'aspl2.mydom.net', 'sign', '', 'language', 'en', 'contactemail',

'[email protected]', 'mxcheck', 'local', 'password', '}*)6OB2B}+Nd', 'pkgname', '', 'maxftp', 11,

'maxlst', 'unlimited', 'maxsub', 5) called at whostmgr/bin/whostmgr5 line 565
        main::wwwacct() called at whostmgr/bin/whostmgr5 line 214
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Attempt to repair system password files because we received an error while adding a user
Hello,

Check to verify if your system is out of disk space or inodes with the following commands:

Code:
df -h
df -i
Thank you.