Operating System - HP-UX
1752815 Members
6077 Online
108789 Solutions
New Discussion юеВ

Unable to ftp access on hpux

 
MD.IMTEYAZUL HASSAN
Contributor

Unable to ftp access on hpux

i am not able to ftp access from my pc below message is given during connection of ftp.
C:\>ftp 143.0.143.3
Connected to 143.0.143.3.
Connection closed by remote host.

model: ia64 hp server rx2600
B.11.23 U ia64 2054344757 unlimited-user license
Please guide me,whereis the issue,is there any setting to be done in server side.
9 REPLIES 9
R.K. #
Honored Contributor

Re: Unable to ftp access on hpux

Hi,

can you ftp into the server from any other PC?
What is o/p of:
# netstat -a |grep -i ftp
Don't fix what ain't broke
Johnson Punniyalingam
Honored Contributor

Re: Unable to ftp access on hpux

>>C:\>ftp 143.0.143.3
Connected to 143.0.143.3.
Connection closed by remote host.<<<<<

can you try sftp

sftp 143.0.143.3
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Unable to ftp access on hpux

Country / Region: india
Personal quote:
Certification:
ITRC member since: January 02, 2009
Last contribution date: December 15, 2009
I have assigned points to 0 of 48 responses to my questions.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Unable to ftp access on hpux

Hi Hassan,

Do you know how to assign points :(

or once your problem solved you just close thread ?

rgds,
Johnson
Problems are common to all, but attitude makes the difference
MD.IMTEYAZUL HASSAN
Contributor

Re: Unable to ftp access on hpux

$ netstat -a |grep -i ftp


tcp 0 0 *.ftp *.* LISTEN
udp 0 0 *.tftp *.*
$
$
Matti_Kurkela
Honored Contributor

Re: Unable to ftp access on hpux

> Connected to 143.0.143.3.
> Connection closed by remote host.

The connection is established, then immediately rejected. This would be a typical response if the system has TCP Wrapper installed and configured to reject access from your IP address.

MK
MK
Ralph Grothe
Honored Contributor

Re: Unable to ftp access on hpux

Which FTP server software are you referring to?

Do you use the standard inetd started ftp daemon?

Is (extended) logging of your ftp daemon enabled?
If so, where does it log to, syslog, standard (daemon) facility?
Then consult your system's syslog.log for entries by ftpd.
It possibly will tell what causes it to reject a client's login request.

What does this print on you FTP server host?

# grep ^[^#]*ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
tftp dgram udp wait root /usr/lbin/tftpd tftpd\


Is the user who is denied login possibly listed in /etc/ftpusers in case you installed and are using another ftp server software?

Is the user's login shell listed in /etc/shells?

e.g.

# grep $(pwget -n SUSPECT_USER|cut -d: -f7) /etc/shells

Are tcp wrappers for ftpd in effect?
Do files /etc/hosts.{allow,deny} exist?
If so are there lines with regard to ftp?

As an hpux specific, does a file /var/adm/inetd.sec exist?
If so, are there lines with ftp reference?

There are lots of things to check.
But first I would go for syslog.log.
Madness, thy name is system administration
Jeeshan
Honored Contributor

Re: Unable to ftp access on hpux

Wow, lots of solution, lots of suggestions. But you can start with the simple steps..

1. Can you ping 143.0.143.0 from your PC?
2. If not than check the routing table of hp-ux box.
3. ftp is by default enabled in hp-ux box. If not then check /etc/inetd.conf file

Upon completion the above steps then you can find your solution.
a warrior never quits
NouZ
Occasional Advisor

Re: Unable to ftp access on hpux

Check /var/adm/sylog for any ftp related error

check ftpd daemon is running

check ftp configuration on /etc/inetd.conf the line "ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l" : should be uncommented

check /etc/services you could see "ftp 21/tcp # File Transfer Protocol (Control)"

user name you are using should not be listed in /etc/ftpusers