Log in

Bekijk de volledige versie : vsftp error on Oleg 7g



sven7
06-10-2007, 05:15
Hi all, anyone can help?
vsftp working fine on Oleg 7f. After upgraed to 7g, the vsftp unable to connect shown error :

500 OOPS: vsftpd: not configured for standalone, must be started from inetd. Connection closed by remote host.

I have searched the web but seems only me having this issue : (

sensimilla
07-10-2007, 08:33
Try adding (or changing) the line:


listen=YES

to your vsftpd.conf file. This should allow it to run in standalone mode so that it is running all the time.

An alternative is to install xinetd which is a more advanced version of inetd. This is a program that listens for incoming connections and starts vsftpd or any other server only when a request is recieved, this means that the servers only run when needed saving memory etc. There are other advantages as well.


ipkg install xinetd

and then create a file called vsftpd in /opt/etc/xinetd.d/ containing:


# description: The vsftpd FTP server serves FTP connections.
# it uses normal, unencrypted usernames and passwords for auth
service ftp
{
disable = no
socket_type = stream
user = sensi
server = /opt/sbin/vsftpd
server_args = /opt/etc/vsftpd.conf
wait = no
nice = 10
only_from = 0.0.0.0/0
}


I have xinetd to configured to start samba, swat, dropbear, vsftpd and rsync.

sven7
07-10-2007, 16:27
Try adding (or changing) the line:


listen=YES

to your vsftpd.conf file. This should allow it to run in standalone mode so that it is running all the time.

An alternative is to install xinetd which is a more advanced version of inetd. This is a program that listens for incoming connections and starts vsftpd or any other server only when a request is recieved, this means that the servers only run when needed saving memory etc. There are other advantages as well.


ipkg install xinetd

and then create a file called vsftpd in /opt/etc/xinetd.d/ containing:


# description: The vsftpd FTP server serves FTP connections.
# it uses normal, unencrypted usernames and passwords for auth
service ftp
{
disable = no
socket_type = stream
user = sensi
server = /opt/sbin/vsftpd
server_args = /opt/etc/vsftpd.conf
wait = no
nice = 10
only_from = 0.0.0.0/0
}


I have xinetd to configured to start samba, swat, dropbear, vsftpd and rsync.


Thanks a lot Sesimilla, today is sunday, i try all day to search around and I can say tried almost all method i can found from internet, includign listen= yes. It shoudl work but actually not. I was very frustrated, I step by step search the reason, FINALLY, i reformat my HD, and only 2 mins, I have the vsftp back. <CRY>

This is the 2nd time the HD having corrupted file. May be i am saving chinese character filename and crash the FS.

Anyway, thanks for you help Sesimilla, I am now focusing how to save chinese character file now... : ) hope can find a soultuion : )