Ftp failed to 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 seconds.
"warn [restartsrv_base] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds.
"warn [restartsrv_base] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds.
"failed.
Service Error
(XID vv6ane) 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.
-
Hello Check whether /var is writable and is not filled up. You can simply check it by creating a file using the command touch /var/test1 0 -
It's not filled up and created successfully. 0 -
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 for fix this issue: # /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf Restart the service : # /etc/init.d/pure-ftpd restart 0 -
great it's worked for me. Thanks for sharing :) 0 -
Hello, Please ensure you follow the guidelines at the following document so the changes to the FTP configuration are preserved through updates: FTP FAQ - Documentation - cPanel Documentation Thank you. 0 -
Thank you, worked like a charm Running Centos 6.8 and cPanel 60.0 0 -
Found this via a google search, and it worked perfectly, thank you. 0 -
Hello, Sorry for bumping old threat At every reboot i keep getting that ftp service failed and i run the fix mentioned here: "Run the following command via SSH for fix this issue: # /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf Restart the service : # /etc/init.d/pure-ftpd restart" and it works again but why do i need to do this after every reboot.. what can be the unline cause? I only have this on one vps. Thanks 0 -
Hello @arjanvr, Please post the output from the following command: grep Call /etc/pure-ftpd.conf
Thank you.0 -
Sorry for my extreme late response, i missed it somehow.. [~]# grep Call /etc/pure-ftpd.conf CallUploadScript yes [~]# 0 -
I've checked all my servers and only found "CallUploadScript no" on two servers, both servers having Imunify360 installed. Other servers without Imunify360 using default cpanel setting "#CallUploadScript yes". Can anyone confirm this on your servers? 0 -
Sorry for my extreme late response, i missed it somehow.. [~]# grep Call /etc/pure-ftpd.conf CallUploadScript yes [~]#
Hello @arjanvr, I've seen this happen on systems that previously utilized a third-party application such as CXS. Upon removing the third-party application (which made use of /usr/sbin/pure-uploadscript), the "CallUploadScript yes" value was left in-place. To solve the issue, you can modify or add "CallUploadScript no" in /var/cpanel/conf/pureftpd/main using the instructions at: FTP FAQ - Version 68 Documentation - cPanel DocumentationI've checked all my servers and only found "CallUploadScript no" on two servers, both servers having Imunify360 installed. Other servers without Imunify360 using default cpanel setting "#CallUploadScript yes". Can anyone confirm this on your servers?
Hi @garconcn, The default value in the Pure-FTP configuration file included with cPanel & WHM is as follows:# CallUploadScript yes
The "#" indicates the line is commented, and thus the option is disabled. It's likely your third-party application that's setting the value to "CallUploadScript no", however note that in either case the option is disabled. Thank you.0 -
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 for fix this issue: # /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf Restart the service : # /etc/init.d/pure-ftpd restart
Thanks, it's working for me. Just need to change the restart command from /etc/init.d/pure-ftpd restart to service pure-ftpd restart (if i use your restart command then see "no such file or directory).0
Please sign in to leave a comment.
Comments
13 comments