Pure-FTPD won't start

Remco00

Verified User
Joined
Feb 22, 2006
Messages
283
Just upgraded one server from CB1.2 to CB2.0. Only thing is that Pure-FTPD won't start. Messages log:
Code:
pure-ftpd: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/pure-ftpd.pem]

The .pem file is present so what am I overlooking?
 
Please post the output of:
Code:
ls -l /etc/pure-ftpd.pem

Also, check if the following fixes your problem:
Code:
cd /usr/local/directadmin/custombuild
./build pureftpd
 
ls -l /etc/pure-ftpd.pem gives:

# -rw------- 1 root root 3413 Oct 14 17:12 /etc/pure-ftpd.pem

./build pureftpd gives same result in messages log.
 
We are also facing the same issue after installing ssl on hostname the pure-ftpd stop responding after restart on checking up the status it gives below result

[root@host custombuild]# systemctl status pure-ftpd
● pure-ftpd.service - Pure-FTPd FTP server
Loaded: loaded (/etc/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2020-08-15 14:19:06 IST; 28s ago
Process: 116312 ExecStart=/usr/sbin/pure-ftpd /etc/pure-ftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 116313 (code=exited, status=252)

Aug 15 14:19:06 hostname.com systemd[1]: Starting Pure-FTPd FTP server...
Aug 15 14:19:06 hostname.com systemd[1]: Started Pure-FTPd FTP server.
Aug 15 14:19:06 hostname.com pure-ftpd[116313]: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/pure-ftpd.pem]
Aug 15 14:19:06 hostname.com systemd[1]: pure-ftpd.service: main process exited, code=exited, status=252/n/a
Aug 15 14:19:06 hostname.com systemd[1]: Unit pure-ftpd.service entered failed state.

Can anyone help regarding this it will very grateful to us
 
Just googled that for your maybe this helps:

Old thread but the problem is with ispserver.pem file as I had this too, mine problem was one line:
-----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE-----
I just added one enter and then it worked fine:
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
 
Back
Top