In the middle of the night last night, pureftpd service went down.
We tried restarting the ftp service and got the following error: pure ftp ftpserver has failed, please contact the sysadmin.
So after searching around and trying all the usual stuff like switching over to proftp, reinstalling both ftp servers, disabling firewalls, checking host access...etc....one of my guys after a few hours found the issue.
We tried restarting the ftp service and got the following error: pure ftp ftpserver has failed, please contact the sysadmin.
So after searching around and trying all the usual stuff like switching over to proftp, reinstalling both ftp servers, disabling firewalls, checking host access...etc....one of my guys after a few hours found the issue.
We really hope this helps someone.The problem was the "CallUploadScript yes" option being enabled in /etc/pure-ftpd.conf. The manual says the following.
http://download.pureftpd.org/pub/pure-ftpd/doc/README "- '-o': Write all uploaded files to '/var/run/pure-ftpd.upload.pipe' so that the 'pure-uploadscript' program can run.
Don't enable that option if you don't actually use 'pure-uploadscript' otherwise pure-ftpd will hang waiting for pure-uploadscript to start."