Reinstall Proftpd
Posted: Thu 27. Feb 2025, 13:33
Hello,
My FTP is offline and it makes me have problems during the upgrade from Ubuntu 22.04 to Ubuntu 24.04.
How I can reinstall FTP?
My FTP is offline and it makes me have problems during the upgrade from Ubuntu 22.04 to Ubuntu 24.04.
How I can reinstall FTP?
Code: Select all
root@servint:~# sudo proftpd --configtest
Checking syntax of configuration file
2025-02-27 13:00:14,519 servint.pozdrav.int proftpd[10728]: mod_dso/0.5: unable to load 'mod_tls.c'; check to see if '/usr/lib/proftpd/mod_tls.la' exists
2025-02-27 13:00:14,519 servint.pozdrav.int proftpd[10728]: fatal: LoadModule: error loading module 'mod_tls.c': No such file or directory on line 16 of '/etc/proftpd/modules.conf'
2025-02-27 13:00:14,519 servint.pozdrav.int proftpd[10728]: warning: unable to include '/etc/proftpd/modules.conf': Operation not permitted
2025-02-27 13:00:14,521 servint.pozdrav.int proftpd[10728]: fatal: LoadModule: error loading module 'mod_quotatab_file.so': Invalid argument on line 8 of '/etc/proftpd/proftpd.conf'
root@servint:~# sudo systemctl restart proftpd
sudo systemctl status proftpd
Job for proftpd.service failed because the control process exited with error code.
See "systemctl status proftpd.service" and "journalctl -xeu proftpd.service" for details.
× proftpd.service - ProFTPD FTP Server
Loaded: loaded (/lib/systemd/system/proftpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2025-02-27 13:00:19 CET; 14ms ago
Process: 10733 ExecStartPre=/usr/sbin/proftpd --configtest -c $CONFIG_FILE (code=exited, status=1/FAILURE)
CPU: 11ms
Feb 27 13:00:19 servint.pozdrav.int systemd[1]: Starting ProFTPD FTP Server...
Feb 27 13:00:19 servint.pozdrav.int proftpd[10733]: Checking syntax of configuration file
Feb 27 13:00:19 servint.pozdrav.int proftpd[10733]: 2025-02-27 13:00:19,372 servint.pozdrav.int proftpd[10733]: mod_dso/0.5: un>
Feb 27 13:00:19 servint.pozdrav.int proftpd[10733]: 2025-02-27 13:00:19,373 servint.pozdrav.int proftpd[10733]: fatal: LoadModu>
Feb 27 13:00:19 servint.pozdrav.int proftpd[10733]: 2025-02-27 13:00:19,373 servint.pozdrav.int proftpd[10733]: warning: unable>
Feb 27 13:00:19 servint.pozdrav.int proftpd[10733]: 2025-02-27 13:00:19,374 servint.pozdrav.int proftpd[10733]: fatal: LoadModu>
Feb 27 13:00:19 servint.pozdrav.int systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Feb 27 13:00:19 servint.pozdrav.int systemd[1]: proftpd.service: Failed with result 'exit-code'.
Feb 27 13:00:19 servint.pozdrav.int systemd[1]: Failed to start ProFTPD FTP Server.
lines 1-15/15 (END)