Tag Archives: cpanel – pureftpd – callupload script issue

cPanel/WHM – Unable to start PureFtpd !

When trying to run/restart the Pureftp service, do you get the following error ?

pure-ftpd (/usr/sbin/pure-ftpd -O clf:/var/log/xferlog –daemonize -A -c50 -B - C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L2000:8 -m4 -p30000:35000 -s -S21 -U133:022 -u100 -i -pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth) running as root 
with PID xxxxx (pidfile check method)

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

The fix to this issue is running the following via SSH :

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

Then restart the service :

# /etc/init.d/pure-ftpd restart