Hello everyone, I’m running into an intermittent issue with my vsftpd FTP server:
- I can connect normally and upload files via FTP.
- After some time, I see this error:
500 OOPS: priv_sock_get_cmd
- Restarting the vsftpd service doesn’t help — only a full server reboot restores FTP access.
I rely heavily on FTP, so this is a major disruption. Here’s my /etc/vsftpd.conf
:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
dual_log_enable=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
ftpd_banner=Welcome! Please note that all activity is logged.
userlist_enable=NO
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_promiscuous=YES
pasv_min_port=12000
pasv_max_port=12100
max_per_ip=300
max_clients=600
use_localtime=YES
utf8_filesystem=YES
ssl_enable=YES
allow_anon_ssl=NO
require_ssl_reuse=NO
ssl_ciphers=ECDHE-ECDSA-AES128-GCM-SHA256:…:DHE-RSA-CHACHA20-POLY1305
ssl_sslv2=NO
ssl_sslv3=NO
ssl_tlsv1=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
rsa_cert_file=/usr/local/hestia/ssl/certificate.crt
rsa_private_key_file=/usr/local/hestia/ssl/certificate.key
I’ve tested both from within the server and from external clients, and enabled debug logging—yet the logs show nothing beyond that error. I have seven other servers with the same configuration that never exhibit this problem.
Has anyone encountered this before, or can suggest how to debug and resolve it?