Operating System - HP-UX
1833064 Members
3032 Online
110049 Solutions
New Discussion

Re: couldn't connect to ftpd

 
SOLVED
Go to solution
underee
New Member

couldn't connect to ftpd


hi all,
I'm newbie here, just wan to ask you about ftpd. I couldn't connect to ftpd on my HP-UX. The error message is connection timeout. The message appears in 15 seconds after I try to connect to it.
Any suggestion anyone ?
Thank you.
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: couldn't connect to ftpd

Could be a firewall or any number of other
things.

Where were you running the FTP client?

What happens if you run an FTP client on the
HP-UX system itself?
underee
New Member

Re: couldn't connect to ftpd

Hi Steven,

Thank you for prompt reply.
I put my HP-UX with no firewall installed on my LAN. I tried to connect to HP-UX from my Windows terminal, but I got connection timeout error message. I tried to connect to my Solaris ftpd from inside HP-UX, it works.
Thank you for help.
Steven Schweda
Honored Contributor

Re: couldn't connect to ftpd

Can you connect to the HP-UX FTP server
using the HP-UX FTP client? Using the
Solaris FTP client? Using any FTP client?

If you get the time-out on only some systems,
you could have a bad route somewhere, or any
number of different network problems. In
that case, you may need to supply IP address
and netmask (and route) information for all
the systems involved.

> [...] from my Windows terminal, [...]

Using which program?
Steven Schweda
Honored Contributor

Re: couldn't connect to ftpd

Is FTP the only problem? Can you Telnet to
the HP-UX system from anywhere?
underee
New Member

Re: couldn't connect to ftpd


Hi Steven,
Here is the results :

- HP-UX to HP-UX : timeout
- Solaris to HP-UX : timeout
- Windows(using FTP app and WS_FTP ) to HP-UX : timeout

I can connect to HP-UX with telnet from any terminal.
Thank you for any suggestions. I also re-check my route to make sure.
Steven Schweda
Honored Contributor
Solution

Re: couldn't connect to ftpd

If Telnet works, then the routes must be ok.

Looks as if it really is a problem with the
FTP server. What does this say?

grep -e '^[^#].*' < /etc/inetd.conf | grep ftp

Should be something like:

ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l

You could try something like "ftpd -s". See
"man ftpd".

Has this ever worked before, or is this the
first try?
underee
New Member

Re: couldn't connect to ftpd


Hi Steven

Thank you for suggestions. I've tried the following prosedures:
- mark the line contains ftpd -l in inetd.conf
- restart inetd using inetd -c
- unmark the line contains ftpd -l in inetd.conf
- restart inetd again.
I know this is a silly procedure but it work for me.
Once again, thank you very much for your help.