CallUploadScript not working pure-ftp

sreeninair

Well-Known Member
Dec 23, 2013
100
0
16
cPanel Access Level
Root Administrator
Hello Guys,

I am trying to enable CallUploadScript in pure-ftp. After enabling this I am unable to start ftp service. Please let me know how to fix this.

==========
[email protected]# grep CallUploadScript /etc/pure-ftpd.conf
CallUploadScript yes

[email protected] [/etc]# /etc/init.d/pure-ftpd restart
Stopping pure-config.pl:
Stopping pure-authd: 1 process (pure-authd) sent signal 9

Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -p30000:50000 -s -S21 -U133:022 -u100 -i -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -o -k99 -Z -Y1 -JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
[ OK ]
Starting pure-authd:
[email protected] [/etc]# telnet localhost 21
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused


===================


Thanks
Sreeni
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you check to see if "pure-uploadscript" is running on your system? The "CallUploadScript" option may not work if "pure-uploadscript" is not running. You can start this service with a command such as:

Code:
/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf
To note, you will need to modify your system to ensure that "/usr/sbin/pure-uploadscript" runs when the server boots or when FTP is restarted.

Please let us know if you have any additional questions.

Thank you.