The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pureftpd has failed.

Discussion in 'General Discussion' started by Karl1, Apr 7, 2016.

Tags:
  1. Karl1

    Karl1 Member

    Joined:
    Jul 14, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Amsterdam
    cPanel Access Level:
    Root Administrator
    Hi all,

    pureftpd is failing to start.

    I do have CSF installed. And I was thinking that the issue was because of it because the notification email says:
    "The chkservd process attempts to connect to “127.0.0.1:21” in order to validate that this service is functioning. If you blocked connections with iptables or the “Host Access Control” interface in WHM, this failure may be a false positive."

    So, I disabled csf and tried to restart the service but still result is:


    "pureftpd has failed. Contact your system administrator if the service does not automagically recover."

    Full whm log:

    Code:
    Service Error
    (XID eb7k98) The “pureftpd” service failed to start.
    
    [2016-04-07 14:24:40 +0200] warn [restartsrv_base] [28114] Attempt to unlock file that was locked by another process [LOCK_PATH]=[/var/run/restartsrv_pureftpd.lock] [LOCK_PID]=[28289] [LOCK_PROCESS]=[/usr/local/cpanel/scripts/restartsrv_pureftpd - waiting for lock] [LOCK_INODE]=[410627] [ACTUAL_INODE]=[410627] [LOCK_MTIME]=[1460031600] [ACTUAL_MTIME]=[1460031840] at /usr/local/cpanel/Cpanel/Debug.pm line 31. Cpanel::Debug::log_warn("[28114] Attempt to unlock file that was locked by another pro"...) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 297 Cpanel::SafeFile::safeunlock(Cpanel::SafeFileLock=ARRAY(0x2fa8b78)) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 106 Cpanel::SafeFile::safeclose(GLOB(0x2fa8a88), Cpanel::SafeFileLock=ARRAY(0x2fa8b78)) called at /usr/local/cpanel/Cpanel/RestartSrv/Lock.pm line 45 Cpanel::RestartSrv::Lock::release(Cpanel::RestartSrv::Lock=HASH(0x2fa8d28)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 492 Cpanel::ServiceManager::Base::DESTROY(Cpanel::ServiceManager::Services::Pureftpd=HASH(0x32a6cf8)) called at bin/restartsrv_base.pl line 135 eval {...} called at bin/restartsrv_base.pl line 135 [2016-04-07 14:24:40 +0200] warn [restartsrv_base] Failed to release lock file: “/var/run/restartsrv_pureftpd”. at /usr/local/cpanel/Cpanel/RestartSrv/Lock.pm line 47. Cpanel::RestartSrv::Lock::release(Cpanel::RestartSrv::Lock=HASH(0x2fa8d28)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 492 Cpanel::ServiceManager::Base::DESTROY(Cpanel::ServiceManager::Services::Pureftpd=HASH(0x32a6cf8)) called at bin/restartsrv_base.pl line 135 eval {...} called at bin/restartsrv_base.pl line 135 Startup Log
    Apr 07 14:24:24 srv1 systemd[1]: Starting Pure-FTPd...
    Apr 07 14:24:24 srv1 systemd[1]: Started Pure-FTPd.
    
    pureftpd has failed. Contact your system administrator if the service does not automagically recover.
    
    
    Can someone give a hint what or where to look
    thanks
     
    #1 Karl1, Apr 7, 2016
    Last edited by a moderator: May 20, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,775
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you made any recent changes to your FTP configuration? Have you tried killing any hanging processes that are displayed when using a command such as "ps aux|grep ftp"?

    Thank you.
     
  3. Karl1

    Karl1 Member

    Joined:
    Jul 14, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Amsterdam
    cPanel Access Level:
    Root Administrator
    I have made no changes... and the output is:

    lo.PNG

    Even after reboot server (its dedicated) still the same, cant ftp..
    Any tips please?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,775
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page