Unable to start PureFTP

barbarza

New member
Joined
Feb 3, 2020
Messages
3
I am unable to start the service PureFTP. It shows as stopped under the service monitor.

Please assist.
 

barbarza

New member
Joined
Feb 3, 2020
Messages
3
I am using DirectAdmin 1.60.1 on CentOS 8.0.
There is no error notice, just under Service Monitor it says that pure-ftpd is stopped.
In messages there are multiple messages saying "The service 'pure-ftpd' on server *** is currently down"
Relevant Excerpt from Log Files:
"
Feb 3 19:00:52 home systemd[1]: Starting Pure-FTPd FTP server...
Feb 3 19:00:52 home systemd[1]: Started Pure-FTPd FTP server.
Feb 3 19:00:52 home pure-ftpd[23714]: (?@?) [ERROR] Invalid DH parameters file /etc/pure-ftpd-dhparams.pem
Feb 3 19:00:52 home systemd[1]: pure-ftpd.service: Main process exited, code=exited, status=252/n/a
Feb 3 19:00:52 home systemd[1]: pure-ftpd.service: Failed with result 'exit-code'.
"
This repeats multiple times in the System Messages log file.
 

barbarza

New member
Joined
Feb 3, 2020
Messages
3
I managed to resolve this issue by running the command:
openssl dhparam -out /etc/pure-ftpd-dhparams.pem 3072
 
Top