VSFTPD cap_set_proc and dead but subsys locked errors and solution
VSFTPD is the one of the easiest and secure FTP server out there. However today it bumps back with two errors.
#1: 500 OOPS: cap_set_proc error
After successful user login vsftpd will display an error:
$ ftp ftpserver.xyz.com
Output:
Connected to ftpserver.xyz.com.
220 (vsFTPd 2.0.5)
Name (localhost:vivek): vivek
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 OOPS: cap_set_proc
ftp: bind: Address already in use
cap_set_proc is POSIX capability manipulation on processes function (related to filesystems but I am not sure). After searching bit I found the solution. You need to load the standard Linux capabilities security module:
# modprobe capability
#2: vsftpd dead but subsys locked error
This is another error - one of my clients was receiving while starting vsftpd. There was already ftp server running and address 21 was bind to this ftp server. So vsftpd dead but subsys locked error was generated. xinetd was configured to run wu-ftpd (quite old ftp software). Solution was simple I had removed the wu-ftpd.
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- VSFTP chroot or jail users - limit users to only their home directory howto
- Linux increasing or decreasing TCP sockets timeouts
- PHP Log All Errors to a Log File to Get Detailed Information
- nixCraft FAQ Roundup
- Howto Set Processor affinity on AIX UNIX
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Great troubleshooting tip, it will come handy some day.
Do you know how to limit user to their home directories? What I want is user should not able to visit /root or /tmp directory or all other directory.
TIA
After edit vsftpd.conf file, I have subsys locked error before.
#2: vsftpd dead but subsys locked error
how to clear these problume