LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2010, 05:15 PM   #1
fatrat84
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Rep: Reputation: 0
Unhappy FTP


Hi Guys, I got this really strange issue regarding ftp to a Red Hat Linux 5.5.

I created user just like I normally do

useradd -d /home/login -g users xxx

that is all good, I can use that user account to ftp to the server, however after about one and half day, it just stopped working. and when I try to ftp it gives me 530 error, and I can no longer use that account to ftp. I can't even use root to ftp!! Is that normal? I try to deleat the user account and recreate the account, and it still wont work.

This is really driving me up the wall, I know this sounds stupid, but for the life of me I can not figure out the reason for this not to work. I think it is either permission issue or a demon?
 
Old 11-15-2010, 05:22 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I'd check the following:

1. Make sure FTP is still enabled (either an ftp daemon, or xinetd)
2. Check your log files
3. Check your /etc/ftp* files
In particular, make sure "real" users are ENABLED in "ftpaccess", and
NONE of your actual users are listed in "ftpusers" (which EXCLUDES ftp access).

If you're still having problems, I'd cut/paste:

1. Any specific errors/warnings you might have found
2. Your specific OS and version (e.g. "Red Hat Linux 5.5", or even better "cat /etc/*red*")
3. Your specific FTP server name and version (e.g. " rpm -qa|grep -i ftp")

Last edited by paulsm4; 11-15-2010 at 05:29 PM.
 
Old 11-15-2010, 05:28 PM   #3
fatrat84
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
i'm sure ftp is still working, as in if I just create a new user login it will work for one and half day, after that it just dies, so I create a new one, it works again.. and dies.. during the whole time no restart of the server or the demon
 
Old 11-15-2010, 05:41 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Dude - maybe the "new user" thing is COINCIDENCE

Please try the above:
Quote:

I'd check the following:

1. Make sure FTP is still enabled (either an ftp daemon, or xinetd)
2. Check your log files
3. Check your /etc/ftp* files
In particular, make sure "real" users are ENABLED in "ftpaccess", and
NONE of your actual users are listed in "ftpusers" (which EXCLUDES ftp access).

If you're still having problems, I'd cut/paste:

1. Any specific errors/warnings you might have found
2. Your specific OS and version (e.g. "Red Hat Linux 5.5", or even better "cat /etc/*red*")
3. Your specific FTP server name and version (e.g. " rpm -qa|grep -i ftp")
 
Old 11-15-2010, 06:36 PM   #5
fatrat84
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, ftp and xinetd are still running, I just restart the server so all demons should restart now and make sure they all running. and ftp users list and other list looks like what they should be.

ftp-0.17-35.e15
lftp-3.5.1-2.fc6
tftp-server-0.42-3.1
vsftpd-2.0.5-10.e15
 
Old 11-15-2010, 06:58 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
OK, what about the logs?

First stop: /var/log/messages.

Perhaps there's an FTP-specific log (for example, maybe "/var/log/vsftp").

Please look (for example,
Quote:
find / -name "*ftp*" -print 2>/dev/null
)

Also check out this link to enable further logging (if necessary):

http://www.linuxforums.org/forum/sus...d-logging.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 10:12 AM
Read a text file and ftp files using bash w/out leaving the ftp prompt dj_tyr Linux - Newbie 6 10-12-2009 07:46 PM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 04:13 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration