LinuxQuestions.org
Help answer threads with 0 replies.
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-05-2010, 03:32 PM   #1
EnderX
Member
 
Registered: Nov 2006
Posts: 66

Rep: Reputation: 15
Questions regarding Linux FTP, specifically vsftpd.


The company I work for provides file updates to our major client via an FTP system. On our FTP server, active download connections appear to be using vsftpd. However, when I went to look that up online, what I found indicated that the 'executable' for this resides in /etc/init.d - and I'm not finding that on our box. What I have found (literally - used the 'find' command) is the following:

Code:
/etc/pam.d/vsftpd
/etc/xinetd.d/vsftpd
/etc/vsftpd.conf
/var/log/vsftpd.log
/usr/sbin/vsftpd
/usr/share/doc/packages/vsftpd
/usr/share/doc/packages/vsftpd/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
/usr/share/doc/packages/vsftpd/EXAMPLE/VIRTUAL_USERS/vsftpd.conf
/usr/share/doc/packages/vsftpd/EXAMPLE/VIRTUAL_USERS/vsftpd.pam
/usr/share/doc/packages/vsftpd/EXAMPLE/INTERNET_SITE/vsftpd.conf
/usr/share/doc/packages/vsftpd/EXAMPLE/INTERNET_SITE/vsftpd.xinetd
/usr/share/man/man5/vsftpd.conf.5.gz
/usr/share/man/man8/vsftpd.8.gz
Which, if any, of these is the file that's managing the connections? I know it's using vsftpd because that's the item that shows in the output from a px ax command, and because the log (when I found it) matches what I know the most recent activity was. I just don't know which file I should be looking at. I thought to use the 'status' parameter for these files (see which ones were 'up'), but none of them accepted it the way I expected them to.

The reason I'm looking into this is a recent 'incident' (major upgrade; limited server connections, several client machines each at several offices - took half the day for some people to access the files); my boss has asked me to look into determining whether or not it's possible to set up mirrors of our ftp server's setup on the local servers we maintain at each office. I can certainly set up the same directories and pass things from our server to the local ones. I've verified the presence of vsftpd on a randomly chosen office server. I just don't know how I'll need to set up and configure the local units for FTP. I'd thought if I could map out how it's working on the current FTP server I'd be able to work backwards toward that, but I'm not sure where to begin at this point.

Anyone have any advice on this? Suggestions, or links to a beginner's 'howto' that might help me figure out what I need to do? I would greatly appreciate anything the community can offer.
 
Old 11-05-2010, 04:59 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Likely via xinetd. See: /etc/xinetd.d/vsftpd. Therefore it would not have an init.d script nor respond to a "/foo/bar/vsftpd status" command.

xinetd listens on the FTP port and calls /usr/sbin/vsftpd when a connection is made.
 
1 members found this post helpful.
Old 11-12-2010, 12:44 PM   #3
EnderX
Member
 
Registered: Nov 2006
Posts: 66

Original Poster
Rep: Reputation: 15
Thank you very much, AlucardZero. I've run into another problem down the road, but it appears you were completely correct in your assessment and did manage to help me get further with what I am attempting.
 
  


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
How to change default /var/ftp/pub in ftp(vsftpd) mohd anas Linux - Networking 3 07-08-2011 02:14 PM
vsftpd (ftp server) setup questions linuxlychallenged Linux - Server 6 04-15-2010 02:53 AM
[SOLVED] vsftpd: FTP clients work, ftp://xxxx in mozilla does not. Anonymous user prob? arashi256 Linux - Server 8 01-13-2010 09:31 AM
Migration of Windows 2003 w/ FTP to Linux Questions gnetcon Linux - Newbie 6 04-30-2009 08:11 PM
How to create a ftp user on VSFTPD in linux rahiljavaid Linux - Newbie 2 11-08-2006 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 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