View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-13-2004, 02:33 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Starting FTP Daemon

I havejsut installed Red Hat Linux Advanced Server. I am currently trying to get an FTP session between Linux and a Windows XP machine.
Currently this is not possible, and a grep of a ps -aux does not indicate
the presence of a FTP daemon. Additionally, netstat shows that the system is not listening on port 21 which I believe is reserved for FTP.
I can get the FTP prompt on the Linux box and Telnet is working ok between the two machines. In the directory /etc/inet.d, the file vsftpd has
the following settings:

disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/vsftpd
nice = 10

Could anyone suggest how to start off the FTP service ?

Many Thanks
Old 03-13-2004, 03:07 PM   #2
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
run the binary from where ever you put it, e.g.,

# /usr/local/sbin/vsftpd &

more info:
Old 03-13-2004, 04:32 PM   #3
Registered: Mar 2004
Location: North Bay, Ontario - CANADA
Distribution: Debian
Posts: 77

Rep: Reputation: 15
a good way to test if your linux box is runing a service on a port is to from the command line....

telnet localhost 21 <---port number that the daemon is listening on.
Old 03-13-2004, 07:20 PM   #4
LQ Newbie
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the suggestions -

I tried the command /usr/local/sbin/vsftpd &
it fails - seems that /usr/local/sbin is empty.. ? any ideas guys..


Old 03-14-2004, 11:07 AM   #5
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Not at a Red Hat box ATM, but:

/usr/local is for manually compiled software, and you're probably using the supplied package. The config. snippet you've posted suggests that xinetd is looking for /usr/bin/vsftpd.

From memory, because vsftpd is managed by xinetd, the TCP port is controlled by xinetd, which only loads the vsftpd program when needed - so the vsftpd process isn't often running. If netstat says nothing is listening on the port you need to look at xinetd. I think that you also need to restart xinetd after changing settings in the files in xinetd.d for the changes to take effect.

Last edited by hob; 03-14-2004 at 11:09 AM.


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
still cant get nmb daemon starting eroica Linux - Networking 1 12-02-2004 09:42 PM
Starting daemon at boot up Buto Slackware 2 09-07-2004 09:44 PM
Howto stop daemon from starting Lawful Linux - General 3 04-30-2004 05:06 PM
Starting Up MySQL daemon tuka Linux - Software 2 08-06-2003 12:45 PM
Starting daemon during boot up chuck77 Linux - General 3 03-27-2002 07:47 AM

All times are GMT -5. The time now is 06:35 PM.

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