Skip to main content

Ftp failed to restart

Comments

13 comments

  • ssfred
    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
  • Osama Tariq
    It's not filled up and created successfully.
    0
  • waqas_websouls
    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
  • Osama Tariq
    great it's worked for me. Thanks for sharing :)
    0
  • cPanelMichael
    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
  • Axell35
    Thank you, worked like a charm Running Centos 6.8 and cPanel 60.0
    0
  • cornishman33
    Found this via a google search, and it worked perfectly, thank you.
    0
  • arjanvr
    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
  • cPanelMichael
    Hello @arjanvr, Please post the output from the following command:
    grep Call /etc/pure-ftpd.conf
    Thank you.
    0
  • arjanvr
    Sorry for my extreme late response, i missed it somehow.. [~]# grep Call /etc/pure-ftpd.conf CallUploadScript yes [~]#
    0
  • garconcn
    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
  • cPanelMichael
    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 Documentation
    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?

    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
  • Benjamin Biswas
    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.