When attempting to restart Pure-FTPD on your server, if you are presented with an error like this:
root@cpanel [/var/run]# /scripts/restartsrv_ftpd
Waiting for “pureftpd” to restart ………warn [restartsrv_pureftpd] The ‘pureftpd’ service’s PID file ‘/var/run/pure-ftpd.pid’ did not appear after 10 seconds.…Waiting for pure-ftpd,pure-authd to shutdown ….. terminated.
warn [restartsrv_pureftpd] The ‘pureftpd’ service’s PID file ‘/var/run/pure-ftpd.pid’ did not appear after 10 seconds.…warn [restartsrv_pureftpd] The ‘pureftpd’ service’s PID file ‘/var/run/pure-ftpd.pid’ did not appear after 10 seconds.
…failed.
Service Error
(XID h8w4gj) The “pureftpd” service failed to start.Startup Log
Apr 05 13:58:03 cpanel.server.com systemd[1]: Started Pure-FTPd.
Apr 05 13:58:03 cpanel.server.com systemd[1]: Starting Pure-FTPd…pureftpd has failed. Contact your system administrator if the service does not automagically recover.
Check in /etc/pure-ftpd.conf for this line:
CallUploadScript yes
Try commenting it out, and restarting pure-ftpd. If pure-ftpd was not compiled with pure-uploadscript service, then having this option enabled will break pure-ftpd