[CentOS] vsftpd failing since upgrade to 4.2

scott scott.list at mlec.net
Mon Oct 24 22:40:50 UTC 2005

Joe Wrote::

> Looks to me that the permissions are not set up to allow access directly
> to the file.
> as user root, can you edit said file ?I'm wondering if you may need to
> change permissions to the file.
> Here's my set up:
> -rw-------  1 root root 4144 Aug 21 19:39 /etc/vsftpd/vsftpd.conf
Matt Wrote:

> My vsftpd was working.  I use it configured via xinetd and turn it off
> (disabled = yes)  when I'm not using it to keep the bad guys from
> on it.
> Recently I upgraded to 4.2 (via yum update).  That' the only change I know
> of on the system.  And I didn't have any problems with it.
> Today when I try to ftp, i enabled it in xinetd.d (with disable = no and a
> "service xinetd restart")  But I can't connect.  Well, I connect, but then
> I'm dropped with the reply:
> 500 OOPS: cannot open config file:/etc/vsftpd/vsftpd.conf

i've run across this error message also (although i'm not so sure if
it's because of the 4.2 upgrade).

try doing a tail -f on /var/log/messages and see if you're getting
SELinux errors ("avc denied") whenever you try to do something on

my vsftpd is working now though. what i did was to just reboot the
system. i think it may have been that the SELinux labels on your
vsftpd files have not yet been updated.

Matt & Joe.  Permissions appeared OK.  I ever tried making the files 777
just to test, no luck.  I uninstalled (yum remove) and reinstalled vsftpd.
It did not change the files ownership or permission as far as I see, but now
it's working (again).

Thanks for the replies!


More information about the CentOS mailing list