Starting vsftpd for vsftpd: 500 OOPS: vsftpd: not configured for standalone, must be started from inetd
Earlier today I was configuring VSFTPD on a new server. After installing via the yum package manager on a CentOS server and copying the configuration from another server to mimic its behavior I attempted to start VSFTD and it failed with the error noted in detail below. After the error details there is information on what caused the problem followed by how I was able to resolve the issue.
Error Starting VSFTPD On A Linux Server:
[root@dev vsftpd]# /etc/init.d/vsftpd start Starting vsftpd for vsftpd: 500 OOPS: vsftpd: not configured for standalone, must be started from inetd [FAILED] [root@dev vsftpd]#
As you can see above the error states that VSFTPD must be started from inetd however this is not typical for a VSFTPD installing via yum. After further investigation I noticed that when I copied the config, I simply used copy/paste, I missed numerous configuration options. The one listed below is what causes the error noted above.
VSFTPD Listen Configuration Option In vsftpd.conf:
Once the listen configuration variable was added to /etc/vsftpd/vsftpd.conf I was able to start VSFTPD without issue as shown below.
Start VSFTPD Using init.d Script:
[root@dev vsftpd]# /etc/init.d/vsftpd start Starting vsftpd for vsftpd: [ OK ] [root@dev vsftpd]#
Silly mistake on my part but figure someone else may leave out “listen=yes” and need the information.