Karl1

Active Member
Jul 14, 2011
31
2
58
Netherlands
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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.