Not able to restart Pure-FTPd: 421 Unknown authentication method: extauth:/var/run/ftpd.sock

You may get the following error message while restarting Pure-FTPd in cPanel server.

===============
Stopping pure-config.pl: cat: /var/run/pure-ftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]

Stopping pure-authd:
Starting pure-config.pl: Running: /usr/local/sbin/pure-ftpd -O clf:/var/log/xferlog –daemonize -A -c50 -B -C8 -D -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -s -U133:022 -u100 -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -k99 -Z -Y1 -JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
/usr/local/sbin/pure-ftpd: invalid option — O
421 Unknown authentication method: extauth:/var/run/ftpd.sock
[FAILED]
Starting pure-authd:
===============

How to resolve the issue?

* Ensure that the option ” CallUploadScript yes” is commented in Pure-FTPd configuration file “/etc/pure-ftpd.conf “.

===
grep -i CallUploadScript /etc/pure-ftpd.conf
#CallUploadScript yes
===

If it is not commented, then comment it out and try to restart FTP:

===
/etc/init.d/pure-ftpd restart
===

* Ensure that the line ” CallUploadScript yes” is not existing in the file “/var/cpanel/conf/pureftpd/main”. If it exists, remove that line and save the file.

Leave a Reply