SOLVED No Special FTP Accounts - Shows Error

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
It shows unknown error.
Hello,

Your access level shows as "Reseller Owner". Do you have root access to this server? If so, please let us know the output you see in /usr/local/cpanel/logs/error_log when this happens. Otherwise, please report this to your web hosting provider so they can take a closer look.

Thank you.
 

AndyX

Well-Known Member
Sep 25, 2015
104
13
68
Los Altos, CA
cPanel Access Level
Root Administrator
I'm having the same problem.

pic001.jpg

Here is the latest error_log which will hopefully show where the issue is:

/usr/local/cpanel/logs/error_log

Code:
[2018-03-26 06:33:42 -0700] warn [uapi] safelock: waited for lock (/home/southbay/etc/ftpquota.lock) 90 times at /usr/local/cpanel/Cpanel/SafeFile.pm line 369.
	Cpanel::SafeFile::_safelock("/home/southbay/etc/ftpquota") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 546
	Cpanel::SafeFile::_safe_open(GLOB(0x3130548), "<", "/home/southbay/etc/ftpquota", CODE(0x1531960), "safeopen") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 107
	Cpanel::SafeFile::safeopen(GLOB(0x3130548), "<", "/home/southbay/etc/ftpquota") called at /usr/local/cpanel/Cpanel/API/Ftp.pm line 917
	Cpanel::API::Ftp::_fullftplist() called at /usr/local/cpanel/Cpanel/API/Ftp.pm line 94
	Cpanel::API::Ftp::list_ftp_with_disk(Cpanel::Args=HASH(0x312e198), Cpanel::Result=HASH(0x31047c8)) called at /usr/local/cpanel/Cpanel/API.pm line 276
	Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 348
	eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 348
	Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x31047c8), CODE(0x31e0730)) called at /usr/local/cpanel/Cpanel/API.pm line 276
	Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x312e198), Cpanel::Result=HASH(0x31047c8), "Ftp", "list_ftp_with_disk") called at /usr/local/cpanel/Cpanel/API.pm line 139
	Cpanel::API::execute("Ftp", "list_ftp_with_disk", HASH(0x3101df0)) called at /usr/local/cpanel/Cpanel/API.pm line 547
	Cpanel::API::run_api_mode(HASH(0x3101df0)) called at uapi.pl line 266
	main::script() called at uapi.pl line 85
warn [uapi] safelock: waited for lock (/home/southbay/etc/ftpquota.lock) 90 times
==> cpsrvd 11.68.0.33 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
Thank you.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @AndyX,

Can you verify the /home/$username/etc/ directory exists for the affected account?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Thanks for checking.

No the /home/$username/etc/ directory does not exist.
Hello,

That's a required directory that includes information about FTP and email accounts. You'll need to restore the directory from a backup of the account if one exists with the missing directory. Otherwise, you'll need to consider backing up the existing data of the account, and then terminating/recreating the account to repopulate the directory. You'll also need to re-add any existing email or FTP accounts.

Thank you.