Pure-FTPD service failed to restart on cPanel server

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.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix defaultwebpage.cgi on a webserver

Running the following commands solves the above problem:   /scripts/updateuserdomains...

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Install Let's Encrypt SSL in cPanel/WHM

Let's Encrypt, a valid, open-source license that offers free SSL for your domains. The Let's...

Fix Email Issue on a server using the MSFE

To solve the problem of not sending/receiving email on a server using the MSFE / Mailscanner...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...