Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: vox on July 18, 2022, 01:18:09 AM

Title: Pure-FTP fails to run
Post by: vox on July 18, 2022, 01:18:09 AM
I upgraded to centos 7 and had to reinstall CWP on the server. There seems to an issue with pure-ftp not running. I get the following error in CWP:

Job for pure-ftpd.service failed because a timeout was exceeded. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

Jul 18 01:12:10 fez systemd[1]: pure-ftpd.service start operation timed out. Terminating.
Jul 18 01:12:10 fez systemd[1]: Failed to start Pure-FTPd FTP server.
-- Subject: Unit pure-ftpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit pure-ftpd.service has failed.
--
-- The result is failed.
Jul 18 01:12:10 fez systemd[1]: Unit pure-ftpd.service entered failed state.
Jul 18 01:12:10 fez systemd[1]: pure-ftpd.service failed.

------------------------------

Jul 18 01:15:54 fez systemd: Starting Pure-FTPd FTP server...
Jul 18 01:15:54 fez systemd: Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: Too many levels of symbolic links
Jul 18 01:17:24 fez systemd: pure-ftpd.service start operation timed out. Terminating.
Jul 18 01:17:24 fez systemd: Failed to start Pure-FTPd FTP server.
Jul 18 01:17:24 fez systemd: Unit pure-ftpd.service entered failed state.
Jul 18 01:17:24 fez systemd: pure-ftpd.service failed.



Is there a fix?
Title: Re: Pure-FTP fails to run
Post by: kalybg on January 16, 2023, 12:19:15 PM
Hello,
Has anyone found a solution?
Title: Re: Pure-FTP fails to run
Post by: overseer on January 21, 2023, 09:43:38 PM
I'm sorry but pure-ftpd is running fine on my 3x CWP servers. Did you change a default? Your error pertains to too many levels of symbolic links, so that could be a clue as to its cause. You may want to remove pure-ftpd and reinstall it. Do you have it set for a default configuration or have you edited the conf file?

If I recall, implementing TLS (https://thecuriouswebsitedesigner.co.uk/how-to-set-up-ftp-over-tls-ssl-with-centos-web-panel) was one of the few changes I made to the out-of-the-box pure-ftpd config. Otherwise what I have is vanilla.