Operating System - HP-UX
1753317 Members
5046 Online
108792 Solutions
New Discussion юеВ

Re: cant FTP to any other hosts from my server

 
Praveen
Advisor

cant FTP to any other hosts from my server

Hi All,

I am not able to FTP to any systems from HPUC 11.23 server. If I run,

#ftp

it immediately returns saying "unknown host". I tried IP address, but didn't help. To me it appears to be ftp deamon problem on my HPUX server. Any help in this regard is very much appreciated

Thanks and Regards

Praveen...
6 REPLIES 6
Hakki Aydin Ucar
Honored Contributor

Re: cant FTP to any other hosts from my server

What error message did you get when you tried with IP ?
Are you sure I is correct ?

and check this out:

netstat -a |grep -i ftp
BUPA IS
Respected Contributor

Re: cant FTP to any other hosts from my server

Hello,
"unknown host" means that the system cannot resolve (convert) the name to an ip address.
a quick solution is to add the host name and ip address to /etc/hosts .
If using the correct numeric ip address also does not work you do not have a network connection to the other system.
You will need to fix the problem with your network .

Mike
Help is out there always!!!!!
Steven Schweda
Honored Contributor

Re: cant FTP to any other hosts from my server

> I tried IP address, but didn't help

As usual, seeing the actual command with its
actual output might be more helpful than a
vague description or interpretation.

> To me it appears to be ftp deamon problem
> on my HPUX server.

To me, it appears to be a name look-up
problem on the FTP client system. Does any
other similar command work any better than
FTP?

telnet
rlogin
[...]


> netstat -a |grep -i ftp

Great. That will tell you about your own FTP
server.

> You will need to fix the problem with your
> network .

Where "your network" means name look-ups on
the HP-UX system you're trying to use as an
FTP client.
Viktor Balogh
Honored Contributor

Re: cant FTP to any other hosts from my server

are you using the correct IP address? try pinging the ftp server with IP address and with hostname.

if it works with IP address and with hostname doesn't, then there's a problem with name resolution. look for /etc/hosts and /etc/nsswitch.conf files.

if ping doesn't work either with IP and with hostname, there's a problem with your network.


****
Unix operates with beer.
Suraj K Sankari
Honored Contributor

Re: cant FTP to any other hosts from my server

Hi,

Login into destination host and try do a self ftp ? if you are not able to do then your ftp service is disable.....

ftp localhost

See what is the error message you are getting.

Suraj
Steven Schweda
Honored Contributor

Re: cant FTP to any other hosts from my server

> Login into destination host and try do a
> self ftp ? [...]

Who here believes that a dead FTP server can
cause an "unknown host" error message at the
FTP client?