View previous topic :: View next topic |
Author |
Message |
paulfl n00b
Joined: 27 Sep 2003 Posts: 22 Location: London
|
Posted: Wed Mar 02, 2005 9:36 pm Post subject: Xinetd started but no ftp service running |
|
|
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 |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Wed Mar 02, 2005 9:38 pm Post subject: |
|
|
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 |
|
|
paulfl n00b
Joined: 27 Sep 2003 Posts: 22 Location: London
|
Posted: Wed Mar 02, 2005 10:08 pm Post subject: |
|
|
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 |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Wed Mar 02, 2005 10:28 pm Post subject: |
|
|
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 |
|
|
paulfl n00b
Joined: 27 Sep 2003 Posts: 22 Location: London
|
Posted: Fri Mar 04, 2005 12:26 pm Post subject: |
|
|
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 |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Fri Mar 04, 2005 12:32 pm Post subject: |
|
|
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.
See /usr/portage/net-ftp and choose some client and emerge it! |
|
Back to top |
|
|
paulfl n00b
Joined: 27 Sep 2003 Posts: 22 Location: London
|
Posted: Fri Mar 04, 2005 12:39 pm Post subject: |
|
|
Solved it....
/etc/xinetd.d/vsftpd
had the last line as
Changed it to
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 |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Fri Mar 04, 2005 12:46 pm Post subject: |
|
|
The basic commandline ftp client is in the net-ftp/ftp package so just
should sort it |
|
Back to top |
|
|
|