Pureftpd unable to start with the following error !

Error faced : Waiting for ftpserver to restart..finished.

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)

Reason : 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.

Fix :

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

Then restart the pure-ftpd service — # /etc/init.d/pure-ftpd restart