Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xinetd started but no ftp service running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
paulfl
n00b
n00b


Joined: 27 Sep 2003
Posts: 22
Location: London

PostPosted: Wed Mar 02, 2005 9:36 pm    Post subject: Xinetd started but no ftp service running Reply with quote

I've emerged Xinetd ; fine no problem.
started it: /etc/init.d/xinetd start ; fine no problem.

If I run netstat -tlp I don't see any ftp service.

If I enter "ftp" and the command prompt ; command not found.

Any ideas/help?
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Wed Mar 02, 2005 9:38 pm    Post subject: Reply with quote

Huh?

1/ The whole purpose of (x)inetd is to start services on-demand. No FTP will be running until someone connects to it.
2/ Emerge some FTP client. This has nothing to do with xinetd.
3/ xinet.d is not FTP server. You need some FTP server installed.
Back to top
View user's profile Send private message
paulfl
n00b
n00b


Joined: 27 Sep 2003
Posts: 22
Location: London

PostPosted: Wed Mar 02, 2005 10:08 pm    Post subject: Reply with quote

Ok, Sorry I'm noobie!
Is vsftpd the server?
I have also have machine that is working fine.
vsftpd is installing but /etc/init.d/vsftpd status ; stopped.
Could you explain in more detail please.
thanks
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Wed Mar 02, 2005 10:28 pm    Post subject: Reply with quote

Yes, vsftpd is a FTP server. If you want to start it via xinetd, then enable it in /etc/xinetd.d/, otherwise start it via /etc/init.d/vsftpd start. You need to read the documentation and configure it first.

Note that it won´t work via xinetd unless you compiled it with tcpd use flag.
Back to top
View user's profile Send private message
paulfl
n00b
n00b


Joined: 27 Sep 2003
Posts: 22
Location: London

PostPosted: Fri Mar 04, 2005 12:26 pm    Post subject: Reply with quote

I found a problem, my vsftpd.conf was empty.
i've copied it from the machine that has ftp working.
I've restarted the xinetd service (/etc/init.d/xinetd restart.
But , If I type "ftp" at the command prompt I still get "command not found error".
What else do I need...
I've got Xinetd, which manages "services" (if thats the right term).
vsftpd , an ftp server.
What is the ftp client?
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Fri Mar 04, 2005 12:32 pm    Post subject: Reply with quote

I have already said that you need to emerge some FTP client. You cannot FTP to anywhere if you don´t have it. FTP client is an application used to connect to FTP server. :roll:

See /usr/portage/net-ftp and choose some client and emerge it!
Back to top
View user's profile Send private message
paulfl
n00b
n00b


Joined: 27 Sep 2003
Posts: 22
Location: London

PostPosted: Fri Mar 04, 2005 12:39 pm    Post subject: Reply with quote

Solved it....
/etc/xinetd.d/vsftpd

had the last line as
Code:
disable = yes

Changed it to
Code:
disable = no

Now netstat -tlp shows an ftp service running.
Thanks for the help.

I still can't ftp from the command prompt "command not found".
Presumably still need an ftp client (what would you recommend)?
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Fri Mar 04, 2005 12:46 pm    Post subject: Reply with quote

The basic commandline ftp client is in the net-ftp/ftp package so just
Code:
emerge ftp
should sort it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum