Menú de contenidos
Problema
Recientemente hemos encontrado un problema de reinicio de pure-ftp (pureftp), con el siguiente error:
Waiting for “pureftpd” to restart ………[2018-07-05 12:27:20 -0400] warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. …[2018-07-05 12:27:36 -0400] warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. …[2018-07-05 12:27:52 -0400] warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. warn [restartsrv_pureftpd] The 'pureftpd' service's PID file '/var/run/pure-ftpd.pid' did not appear after 10 seconds. …failed. Cpanel::Exception::Services::StartError Service Status pure-ftpd (/usr/sbin/pure-ftpd --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -p49152:65534 -s -S21 -U133:022 -u100 -i -Oxferlog:/etc/apache2/logs/domlogs/ftpxferlog -o -k99 -Z -Y1 -JHIGH) running as root with PID 854025 (process table check method) Service Error (XID hpxvte) The “pureftpd” service failed to start. Startup Log Starting pure-config.pl: [ OK ] Starting pure-authd: pureftpd has failed. Contact your system administrator if the service does not automagically recover.
Para solucionarlo, debes hacer lo siguiente:
La solución
root 1263168 0.0 0.0 138212 596 ? Ss 19:51 0:00 server@root /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf root 1263218 0.0 0.0 139016 2192 ? Ss 19:51 0:00 server@root pure-ftpd (SERVER) root 1263220 0.0 0.0 138208 1848 pts/1 S 19:51 0:00 server@root /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth
# server@root /scripts/restartsrv_pureftpd –status
pure-ftpd (pure-ftpd (SERVER)) is running as root with PID 1263218 (pidfile+/proc check method).