1825774 Members
2178 Online
109687 Solutions
New Discussion

Linux FTP issue

 
javedk
Advisor

Linux FTP issue

Hi,
I am trying to FTP from Linux server to a telecom switch and it gives me the below message

/usr/bin/ftp 10.58.39.140
Connected to 10.58.39.140 (10.58.39.140).
421 Service not available, remote server has closed connection

If I try to connect to any other systems the ftp works fine. The firewall ports are opened correctly. I suspect it is something to do with the Linux FTP client and kerberose.
5 REPLIES 5
Ganesan R
Honored Contributor

Re: Linux FTP issue

Hi,

FTP service might have disabled on switch.
Best wishes,

Ganesh.
Steven Schweda
Honored Contributor

Re: Linux FTP issue

You might get a little more info with
debugging on:

/usr/bin/ftp
debug
open 10.58.39.140

> If I try to connect to any other systems
> the ftp works fine.

What happens if you try to connect to the
"telecom switch" _from_ some other system?

> [...] The firewall ports are opened
> correctly. [...]

So you say. We non-psychics can see no
evidence. We also don't know if this
"telecom switch" has any access restrictions.

> I suspect it is something to do with the
> Linux FTP client and kerberose.

Why? You've said that the FTP client "works
fine" with other servers, and I don't see
what kerberos has to do with anything.
javedk
Advisor

Re: Linux FTP issue

I tried with debug but doesn't give more details.

ftp> debug
Debugging on (debug=1).
ftp> open 10.58.39.140
Connected to 10.58.39.140 (10.58.39.140).
421 Service not available, remote server has closed connection

I am able to connect to the telecom switch from other hosts. I have tried from an HPUX and Solaris hosts on different subnets and it works fine.

The telecom switch has no access restrictions because we are able to connect from diffrent subnets without modifying anything at the switch side.

The only difference I could find is that this is a linux host and it gives the kerbrose message.
Steven Schweda
Honored Contributor

Re: Linux FTP issue

> I am able to connect to the telecom switch
> from other hosts. I have tried from an HPUX
> and Solaris hosts on different subnets and
> it works fine.

Sounds like a mystery. I suppose that one
might try tracing the network traffic to see
what's happening, but that sounds like real
work.

> [...] and it gives the kerbrose message.

My psychic powers are too weak to tell me
what this means.
mohamed.bouraoui
Frequent Advisor

Re: Linux FTP issue

I think that your ftp server use only the ftp passif authentication.
can you use from your linux , the passif ftp connection, I think that works with this method