Starting vsftpd for vsftpd: 500 OOPS
If I'm runnign vsftpd and I make a change to my vsftpd.conf file and want to restart vsftpd, what command do I type?
I tried: sudo /etc/init.d/vsftpd restart and service vsftpd restart but all I got was: Starting vsftpd for vsftpd: 500 OOPS: vsftpd: not configured for standalone, must be started from inetd I suppose I could reboot the PC, but figured there was a easier way just to restart vsftpd. Thanks! |
If vsftpd is started from inetd then it's normally not running (confirm with ps) and starts running (and reads vsftpd.conf)after inetd detects the traffic. So do some FTP activity and test whether your new config works.
|
It sounds like you have listen=NO coded in your vsftpd.conf. Code listen=YES if you want it to run standalone. That will allow you to restart it with the "service vsftpd restart" command.
In order to restart vsftpd when it is running from inetd, you need to restart inetd, or you can give it a HUP signal. as root: /etc/init.d/inetd restart (or /etc/rc.d/inetd restart) or killall -HUP inetd |
I haven't tried it yet, but I think I need to use this command:
# /etc/init.d/xinetd reload or # /etc/init.d/inetd reload* |
I was looking for a new issue with opensuse on vsftp and came across a lot of posts on that issue. I get the feeling one said to change a name some place to just ftp but do some web searches for this. It is pretty common.
|
Post #2 sounds right to me.
If its been installed to run from inetd (usually xinetd on Linux), then you need to check the cfg file in /etc/xinetd.d (one per service). As above, xinetd does the actual listening and activates relevant service ONLY on receiving a request for that service. One the request has been fulfilled, the (called) svc shuts down again. The key line is 'disable = yes/no' in the eg vsftpd cfg file under /etc/xinetd.d. Section 42.5 http://www.linuxtopia.org/online_boo...ion/index.html. In fact there are several sections relating to xinetd there. Also note xinetd responds to tcp_wrappers ie hosts.allow, hosts.deny, so check those as well. |
All times are GMT -5. The time now is 12:22 PM. |