Ok so I changed the default port of my pure-ftp server from 21 to xx. Edited both /etc/pureftpd.conf and /etc/chkserv.d/ftpd with that port. Trying to log onto the FTP with that port, works perfectly, for any account I register from WHM. However, I keep getting emails on my admin email that the ftpserver failed. I tried to restart the FTP server from WHM and I keep getting the same error:
I don't understand why is this happening since the FTP server actually works. What have I done wrong?Waiting for ftpserver to restart.........finished.
pure-ftpd (pure-ftpd (SERVER)) running as root with PID 3760 (process table check method)
pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID 3762 (pidfile check method)
ftpserver has failed, please contact the sysadmin.