FTP users get: 500 OOPS: reading non-root config file
Running: Linux REDlogger 2.4.21-47.EL
I've had FTP users logging in and working for awhile now and today they started getting this error: 500 OOPS: reading non-root config file Login failed. 421 Service not available, remote server has closed connection Permissions and ownerships on /etc/vsftp: drwxr-xr-x 3 root root 1024 Aug 24 17:01 vsftpd -rw-r--r-- 1 root root 252 Aug 24 04:04 vsftpd.ftpusers -rw-r--r-- 1 root root 402 Aug 24 04:04 vsftpd.user_list vsftpd: total 11 drwxr-xr-x 3 root root 1024 Aug 24 17:01 . drwxr-xr-x 58 root root 6144 Aug 24 17:28 .. drwxr-xr-x 2 root root 1024 Aug 24 04:05 user_config -rw-r--r-- 1 root root 15 Jun 8 2005 vsftpd.chroot_list -rw-r--r-- 1 root root 697 Aug 24 04:04 vsftpd.conf -rw-r--r-- 1 root root 376 Aug 24 04:04 vsftpd.userlist Anyone see this before? Help Please... |
Okay, does vsftpd need to be rebuilt or anything, because I did just upgrade the kernel before all of these problems started? Any help out there would be highly appreciated.
Thanks, |
Good Day
I see nobody posted a solution to this problem, I am having the same issue now with my vsftp FTP server. I havent done any updates..... The server has been working for 7 months with no problem... |
Did you guys do any configuring of the vsftpd.conf file before you noticed these errors? Or did literally nothing change and the error started to happen, aside from upgrading the kernel.
Have you guys updated to the latest package of vsftpd? try rpm -Fvh [vsftpd filename] |
Good Day
I am still having this problem, I have removed vsftp and reinstalled it.... vsftpd-2.0.5-10.el5. I will see what errors I get today, will keep you posted. |
I Had the same problem today, vsftpd was working fine for few hour and then i had the "oops:reading non-root config file" error message.
After making script to control vsftpd state and including vsftpd to Xinetd, I think I discovered the problem, the following conf (in vsftpd.conf ) : xferlog_std_format=YES seems to be the cause of our problem ( don't ask me why ...). So I set it to "NO" and everything was working fine again. If this doesn 't solve your issue , using xinet.d to launch vsftpd should probably do the trick . |
Well i fixed the problem ,while trying to work with vsftpd.
Actually the directory for the user i created (adduser ftpsharuser) had no directory inside it. i.e. /home/ftpsharuser had no directory in it. Later i created a directory named shared ,,so it became /home/ftpsharuser/shared . Then i chowned it to ftpsharuser (chown ftpsharuser:ftpsharuser /home/ftpsharuser/shared ) Then i commented user_config_dir=/home/blah , in /etc/vsftpd/vsftpd.conf,, and also changed "xferlog_std_format=YES" to NO Restarted vsftpd Thereafter when i logged in via ftp,,,there was no error (like there was one previously,,,,500 error changing directory). So its like permission problem |
I had the same problem on two FTP servers
I removed the vsftpd and reinstalled it using the same config files, the error seems to have "disappeared" |
I had a similar problem, which was related to SELinux for me. My solution was setenforce 0, and then things started working.
Cheers, Brent. |
Can you believe it, the problem has come up again.....
> rpm -qa vsftpd vsftpd-2.0.5-10.el5 |
I used to have the same problem, so I use that (every 3minutes):
Code:
#!/bin/bash |
All times are GMT -5. The time now is 11:00 AM. |