proftpd not running in virtualmin

Unit proftpd.service has begun starting up.
Apr 28 19:23:47 instance-1 proftpd[31878]: 2019-04-28 19:23:47,686 instance-1 proftpd[31878]: processing configuration directory ‘/etc/proftpd/conf.d’
Apr 28 19:23:47 instance-1 proftpd[31878]: 2019-04-28 19:23:47,686 instance-1 proftpd[31878]: mod_dso/0.5: unable to load ‘mod_tls.c’; check to see if
Apr 28 19:23:47 instance-1 proftpd[31878]: 2019-04-28 19:23:47,686 instance-1 proftpd[31878]: mod_dso/0.5: module ‘mod_tls.c’ already loaded
Apr 28 19:23:47 instance-1 proftpd[31878]: 2019-04-28 19:23:47,686 instance-1 proftpd[31878]: fatal: TLSRSACertificateFile: ‘/etc/pki/tls/certs/proftp
Apr 28 19:23:47 instance-1 systemd[1]: proftpd.service: control process exited, code=exited status=1
Apr 28 19:23:47 instance-1 systemd[1]: Failed to start ProFTPD FTP Server.
— Subject: Unit proftpd.service has failed
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

— Unit proftpd.service has failed.

systemctl start proftpd

# yum install openssl
openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/pki/tls/certs/proftpd.pem -out /etc/pki/tls/certs/proftpd.pem

Leave a Comment

Your email address will not be published. Required fields are marked *