MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: idove on 2019-07-04, 18:43:27
-
After server update/upgrade I noticed also that pureftpd also doesn't startup.
systemctl status pure-ftpd
? pure-ftpd.service - Pure-FTPd FTP server
Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
Active: activating (start) since Thu 2019-07-04 18:41:38 CEST; 3s ago
Process: 25685 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS)
CGroup: /system.slice/pure-ftpd.service
??25686 /usr/sbin/pure-ftpd --daemonize -A -c5000 -B -C8 -D -fftp -H -I15 -lpuredb:/etc/pure-ftpd/pureftpd.pdb -lpam -L1...
Srp 04 18:41:38 server.mo**er.info systemd[1]: Starting Pure-FTPd FTP server...
Srp 04 18:41:38 server.mo**er.info systemd[1]: Failed to read PID from file /var/run/pure-ftpd.pid: Invalid argument
-
Solved with:
# /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf
and then
# systemctl start pure-ftpd
Found "similar" solution here, just different folder for pure-ftpd.conf
https://forums.cpanel.net/threads/ftp-failed-to-restart.542941/#post-2192141
-
Solved with:
#
and then
# systemctl start pure-ftpd
Found "similar" solution here, just different folder for pure-ftpd.conf
https://forums.cpanel.net/threads/ftp-failed-to-restart.542941/#post-2192141
I've had problems with pureFTP for more then a year. After every server restart or "sh /script/cleanup" I've had to run manually "/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf".
-
Yes,
this is now must do, after cleanup :).
I forget to do it again after update/cleanup and pure-ftpd doesn't work, anyway tnx for response.
Maybe mratwork can analyze and add this line to cleanup script or similar, tnx.
-
Right now is not even starting with "/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf" trick!!! >:( >:(
-
Try to go to 'FTP configure' and then click 'update'.
-
Ok, I noticed that after server reboot I still need to do:
# /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf
# systemctl restart pure-ftpd
Anyway, it is not big problem, but it will be good if it will be solved somehow soon.
tnx.