LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2001, 04:23 PM   #1
Kiwisheep
LQ Newbie
 
Registered: Mar 2001
Posts: 3

Rep: Reputation: 0
Angry


I can't ftp to my linux and I'm getting "421 Service not available". I checked the inetd.conf in Linux box and it is uncommented. I tried to connect from a Win98 box. Heck, I even tried doing it even on my linux to FTP to itself and I'm getting the same error message. I don't see ftpd running though. Isn't it that this daemon is started by the inetd process? What do you think is wrong? I've checked also the following:

1. /etc/host is okay
2. no entries in /etc/hosts.allow or /etc/hosts.deny

My Win98 box is setup for a DHCP configuration.
 
Old 03-08-2001, 08:48 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Wink

In you case ftp is not actually running as a daemon, all the time, listening to the ftp port. The ftp daemon is actually started when someone makes a request to port 21 on your machine. The internet daemon (inetd) kicks off the ftpd process and the ftpd process will die when the ftp client disconnects.

Your problem? I suggest you take a look at the /etc/services file and see if the ftp 21/tcp line is there and uncommented. This maps the ftp services to port 21. Then the ftp service will be looked up in the inetd.conf file and start the correct process. It sounds like you machine does not know what port 21 is for.

You can look for a listener on a port by using telnet and specify a different port number besides the default for telnet.

telnet myhost.com 21

Hope this helps

Gary
 
Old 03-09-2001, 01:10 AM   #3
Kiwisheep
LQ Newbie
 
Registered: Mar 2001
Posts: 3

Original Poster
Rep: Reputation: 0
HELP please....

Gary,

Thanks for the response. I checked /etc/services and the line "ftp 21/tcp" is there and uncommented. Any more ideas?

 
  


Reply



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 files from DOS box to LINUX box lobo1 Linux - Software 4 06-02-2005 10:57 AM
FTP from Wintel box to AIX box DriveMeCrazy AIX 6 03-19-2005 06:31 AM
ftp from linux box via internet azacid Linux - Networking 14 06-14-2004 07:00 AM
ftp server behind linux box mafa Linux - Networking 5 09-29-2003 02:54 PM
Can't ftp into Linux box bal Linux - Networking 5 03-18-2002 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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