Pure-FTPD service failed to restart on cPanel server Print

  • 0

You are trying to restart your server… and your FTP fails to start… or restart.

/scripts/restartsrv_pureftpd
Waiting for “pureftpd” to restart ………warn [restartsrv_base] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 sec.

…warn [restartsrv_base] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds.

    Service Error The “pureftpd” service failed to start.
    Startup Log
    Starting pure-config.pl: [  OK  ]
    Starting pure-authd:

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

The reason for this error is that Pure-FTPD service doesn’t work with {CallUploadScript} set to (yes) in /etc/pure-ftpd.conf configuration file. That is because the pure-uploadscript service is not getting started while restarting the pure-ftpd service.

Run the following command via SSH to fix this issue:

/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf

Restart the service :

/scripts/setupftpserver pure-ftpd -force

And your service will restart successfully.

  •  

Was this answer helpful?

« Back

Send Message