30
Jan

Pure-FTPD Broken on cPanel

Pure-FTP was broken on cPanel, so had been using Pro-FTPD instead.
The following commands were run to check Pro-FTPD for errors and fix Pure-FTP:

echo -ne '\033]0;#3693577 - PureFTPD Broken\007'
lwp-request http://ssp.cptechs.info | sh
ps afux | grep ftp
exit
echo -ne '\033]0;#3693577 - PureFTPD Broken\007'
lwp-request http://ssp.cptechs.info | sh
service proftp stop
service proftpd stop
ps afux | grep ftp
/scripts/fixproftpdconf 
/scripts/fixproftpddupes 
/scripts/ftpup proftpd
/scripts/ftpup proftpd --force
service pure-ftpd status
/scripts/ftpup --force
/scripts/restartsrv_ftpserver --status
/scripts/restartsrv_ftpserver --check
netstat
netcat
lsof -i :21
lsof -i :22
/scripts/restartsrv_pureftpd 
lsof -i :21
cat /var/log/messages
/etc/init.d/pure-ftpd start
nano /etc/pure-ftpd.conf
cp /etc/pure-ftpd.conf .
nano /etc/pure-ftpd.conf
/etc/init.d/pure-ftpd start



Hopefully these can help other people. During nano, small configs were added to get database FTP integration working again, standard users were already working.