LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2006, 10:31 AM   #1
anh
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
ftp server problem


Hi
I am trying to add the ftp server to my system
The steps is
System Seting ->

Service ->
then active vsftpd but the status display vsftpd dead but subsys locked
I then try to look at the file /etc/vsftpd/vsftp.conf but i can not open it because it always said that some program is modifying it.
Can anyone help me with this?
Thanks
Anh
 
Old 03-16-2006, 10:37 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
1. Verify if vsftpd is really running or not:
Code:
ps -efl | grep -i vsftpd
2. From what you are saying, the service isn't running, so
Code:
/sbin/service vsftpd status
should give you "stopped" or something like that.
3. It seems also that there are still some locks left (ie vsftpd wasn't stopped correctly).
Try:
Code:
/sbin/service vsftpd stop
or "restart" instead of stop.
If that doesn't work, you'll need to manually remove the locks.
 
Old 03-16-2006, 10:44 AM   #3
anh
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I have tried your step and it won't remove the lock.
How to manually remove the lock?
Anh
 
Old 03-16-2006, 11:28 AM   #4
cconstantine
Member
 
Registered: Dec 2005
Distribution: RedHat, Ubuntu
Posts: 101

Rep: Reputation: 15
Are you doing what he suggested as root? ...must be root to manipulate vsftpd runnign as a standalone daemon. /sbin/service needs root privs to remove the file.
 
Old 03-16-2006, 11:46 AM   #5
anh
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
yes, everything has done is root account
 
Old 03-16-2006, 11:55 AM   #6
cconstantine
Member
 
Registered: Dec 2005
Distribution: RedHat, Ubuntu
Posts: 101

Rep: Reputation: 15
Lock file location can vary; on my distro they're in /var/run. If you have a vsftpd.pid look at the PID in there and make sure the proc really isn't running.

/sbin/services vsftpd start

may even be smart enough to detect that vsfptd died w/o cleaning up. Might clean up the lock for you...

Make sure you checked your logs (in /var/log/, grep for vsftpd maybe ?) to try to see why it died.
 
  


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
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 05:35 PM
FTP Server problem Carroarmato0 General 2 10-15-2005 09:56 AM
FTP Server problem AMMullan Linux - Networking 1 02-04-2004 05:26 AM
ftp server problem marek Slackware 1 10-20-2003 01:20 PM
FTP Server Problem cli_man Linux - Software 1 06-02-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 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
Open Source Consulting | Domain Registration