Author Topic: Pure-FTP Failure  (Read 21306 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Pure-FTP Failure
« on: November 28, 2019, 12:59:27 PM »
Brand new VM - brand new install of CWP Pro.

# service pure-ftpd start
Redirecting to /bin/systemctl start pure-ftpd.service
Job for pure-ftpd.service failed because a timeout was exceeded. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

# service pure-ftpd start
Redirecting to /bin/systemctl start pure-ftpd.service
Job for pure-ftpd.service failed because a timeout was exceeded. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

[root@server ~]# systemctl status pure-ftpd.service
* pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2019-11-28 07:57:23 EST; 1min 43s ago
  Process: 1860 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS)

Nov 28 07:55:53 server systemd[1]: Starting Pure-FTPd FTP server...
Nov 28 07:55:53 server systemd[1]: Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: Too many levels of symbolic links
Nov 28 07:57:23 server systemd[1]: pure-ftpd.service start operation timed out. Terminating.
Nov 28 07:57:23 server systemd[1]: Failed to start Pure-FTPd FTP server.
Nov 28 07:57:23 server systemd[1]: Unit pure-ftpd.service entered failed state.
Nov 28 07:57:23 server systemd[1]: pure-ftpd.service failed.

# journalctl -xe
Nov 27 09:21:01 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:01 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus-daemon[129]: dbus[129]: [system] Reloaded configuration
Nov 27 09:21:02 server.comree.com dbus[129]: [system] Reloaded configuration
Nov 27 09:21:03 server.comree.com systemd[1]: Reexecuting.
Nov 27 09:21:03 server.comree.com systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID
Nov 27 09:21:03 server.comree.com systemd[1]: Detected virtualization openvz.
Nov 27 09:21:03 server.comree.com systemd[1]: Detected architecture x86-64.
Nov 27 09:21:03 server.comree.com systemd[1]: Failed to enable kbrequest handling: Invalid argument
Nov 27 09:21:03 server.comree.com systemd[1]: [/usr/lib/systemd/system/vzfifo.service:19] Support for option SysVStartPriority= has been removed and it is ignored
Nov 27 09:21:03 server.comree.com systemd[1]: systemd-journald.service watchdog timeout (limit 3min)!

Offline
***
Re: Pure-FTP Failure
« Reply #1 on: January 13, 2020, 04:12:59 AM »
(I know it's a old thread, but is just to document the issue)

The error seems is in this line here:
Code: [Select]
Nov 28 07:55:53 server systemd[1]: Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: Too many levels of symbolic links

It is claiming about "Too many levels of symbolic links" of the PID file.

You tried to run "journalctl -xe" almost 24 minutes after, too late to show logs.

Seems you tried to reinstalled the pure-ftpd server.
Check the permissions of the file '/var/run/pure-ftpd.pid' and the directory.
Removing this file and restarting pure-ftpd server may solve the issue.

If don't, would be good to post here the conf file "/etc/pure-ftpd/pure-ftpd.conf".

Regards,
Netino

Offline
*
Re: Pure-FTP Failure
« Reply #2 on: February 14, 2020, 09:28:26 AM »
Hi,

I have the same problem

Code: [Select]

[root@vps ~]# systemctl status pure-ftpd.service
● pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Sex 2020-02-14 09:10:06 WET; 2s ago
  Process: 28487 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS)
 Main PID: 28488 (pure-ftpd)
   CGroup: /system.slice/pure-ftpd.service
           └─28488 pure-ftpd (SERVER)

Fev 14 09:10:06 vps systemd[1]: Starting Pure-FTPd FTP server...
Fev 14 09:10:06 vps systemd[1]: Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: No such file or directory
Fev 14 09:10:06 vps systemd[1]: Started Pure-FTPd FTP server.
[root@vps776939 ~]#  journalctl -xe
Fev 14 09:09:04 vps kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:67:8f:17:ca:03:bb:6a:49:8f:08:00 SRC=185.175.93.21 DST=51.178.44.215 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=146
Fev 14 09:09:25 vps kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:67:8f:17:ca:03:bb:6a:49:8f:08:00 SRC=192.241.225.141 DST=51.178.44.215 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=5
Fev 14 09:09:29 vps kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:67:8f:17:ca:03:bb:6a:49:8f:08:00 SRC=176.113.115.246 DST=51.178.44.215 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=6
Fev 14 09:09:58 vps polkitd[533]: Registered Authentication Agent for unix-process:28444:7467313 (system bus name :1.1007 [<unknown>], object path /org/freedesktop/PolicyKit1/AuthenticationA
Fev 14 09:09:58 vps systemd[1]: Stopping Pure-FTPd FTP server...
-- Subject: Unit pure-ftpd.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit pure-ftpd.service has begun shutting down.
Fev 14 09:09:58 vps systemd[1]: Stopped Pure-FTPd FTP server.
-- Subject: Unit pure-ftpd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit pure-ftpd.service has finished shutting down.


And in my user panel the ftp list accounts don't work
the wheel won't stop spinning

Offline
****
Re: Pure-FTP Failure
« Reply #3 on: February 14, 2020, 09:49:11 AM »
systemctl enable pure-ftp
systemctl start pure-ftp

As for the spinning wheel
Edit packages, make sure all values are set.  Cgroup can be like 1000.  If that doesn't work, I posted a workaround recently.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Pure-FTP Failure
« Reply #4 on: February 14, 2020, 02:57:02 PM »

Offline
****
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Pure-FTP Failure
« Reply #6 on: February 14, 2020, 03:25:17 PM »
thanks rcschaff,

it worked  :)

Offline
****
Re: Pure-FTP Failure
« Reply #7 on: February 14, 2020, 03:31:56 PM »
Your welcome ;)
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Pure-FTP Failure
« Reply #8 on: October 24, 2023, 04:05:04 PM »
After the update, I noticed that the pure-ftpd.conf file was empty. The problem was solved by copying from an original text and running it.