Skip to main content

No Special FTP Accounts - Shows Error

Comments

7 comments

  • cPanelMichael
    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.
    0
  • AndyX
    I'm having the same problem. 51439 Here is the latest error_log which will hopefully show where the issue is: /usr/local/cpanel/logs/error_log [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.
    0
  • AndyX
    Looking at the error_log I checked the file access properties and seam to be okay. 51447
    0
  • cPanelMichael
    Hello @AndyX, Can you verify the /home/$username/etc/ directory exists for the affected account? Thank you.
    0
  • AndyX
    Hi Michael, Thanks for checking. No the /home/$username/etc/ directory does not exist.
    0
  • cPanelMichael
    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.
    0
  • AndyX
    I went ahead and opened a ticket (cPanel customer portal) and the issue was quickly fixed in less than 2 hours. Turned out to that somehow the etc/ was moved to public_html/ directory. I'm very impressed with the ticket system here at cPanel.
    0

Please sign in to leave a comment.