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

cPanel — Do you see /root/.cpanel/comet eating disk space ?

Ever came across a situation in which /root/.cpanel/comet consumes considerable amount of disk space?
Reason : This issue happens when high number of emails are in the mail queue manager which can occur when spamming is carried out in the server.

Manually purging the files would be an effort-consuming task.

Clear the comet directory as shown :

# /usr/local/cpanel/bin/purge_dead_comet_files

cPanel issue — “fatal: Your RPM database appears unstable” !!

This is a common issue with cPanel when trying to update

The complete error message :

“fatal: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM”

Reason : RPM database gets corrupted over a while, hence preventing cP from updating.

Fix :

# mkdir /root/old_rpm_dbs/
# mv /var/lib/rpm/__db* /root/old_rpm_dbs/
# rpm --rebuilddb ( rebuilds the RPM database )
# /scripts/upcp ( cPanel update )