OpenWrt Forum Archive

Topic: vsftpd / "500 OOPS: cannot open config file"

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I am trying to run the vsftp server, I already have installed it. But when I try to start it via "/usr/sbin/vsftpd start" I get the message

500 OOPS: vsftpd: cannot open config file:start
root@asus:/usr/sbin# sh: turning off NDELAY mode

But my config file "vsftpd.conf" is located in /etc! I tried a reboot, too, without success.

My vsftpd.conf:

background=YES
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
check_shell=NO
#dirmessage_enable=YES
ftpd_banner=Welcome to Asus FTP service based on OpenWRT
session_support=NO
#syslog_enable=YES
#userlist_enable=YES
#userlist_deny=NO
#userlist_file=/etc/vsftpd.users
#xferlog_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES

Does anyone have a hint for me?

Thanks!

Bernd

I installed the vsftpd package from the official Whiterussian RC5 package repository. This package contains an sample config file and a init script.

Starting vsftpd via the init script (/etc/init.d/vsftpd) works fine here.

Hi olli,
I installed vsftp via the WebConsole ("package installation") of openWRT. This should be fine, right?

Where is your config-file located? Is it  /etc/vsftpd.conf?

I don't understand why my config-file is not found by the daemon. DId you mayben configure the file location somewhere?

Bernd

mcmurphy120 wrote:

Hi, I am trying to run the vsftp server, I already have installed it. But when I try to start it via "/usr/sbin/vsftpd start"

olli wrote:

Starting vsftpd via the init script (/etc/init.d/vsftpd) works fine here.

You want to run the init script as olli posted verses running the executable directly...

Hi AVonGauss,

no sucess - same error "cannot find config file" when starting via /etc/init.d/vsftpd

:-(

Did anyone have the same error?

Thanx for any hints....

Bernd

Where did you install it?

I've ever found this msg as well. But the last time I found it when I've installed it in USB disk.
But it's working fine when I've installed it it root .... But I have no idea how to create user for FTP.

Atto

that can be fix by running vsftpd /etc/vstftd.conf
but my problem is that i think this vsftpd is bugged and won't load conf because it listen it answer from another pc but any of my users set doesn't work .. i even enabled the anonymous and it still not loggin in .. it keep showing me the login form

Hello

I have this message:
500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp
OFFLINE

I have installed this package on usb stick, running Kamikaze 7.09 on WL500gP.

What is wrong? Any help?

KR

hi
  when i was trying to start ftp service through this script \etc\init.d\vsftpd start .
  i am getting one error [SLE] 500 OOPS: vsftpd: cannot open specified config file.
  can anybody help me on these issue.

Try this because I had that same problem and solved it like this:

cd /etc/inid.d/
sudo ./vsftpd restart

The discussion might have continued from here.