- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp: connect: Connection refused
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 03:21 PM
тАО10-28-2008 03:21 PM
ftp: connect: Connection refused
What is the workaround
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 04:01 PM
тАО10-28-2008 04:01 PM
Re: ftp: connect: Connection refused
Make sure to uncomment the 'ftp' entry in '/etc/inetd.conf'. Then do:
# inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 04:43 PM
тАО10-28-2008 04:43 PM
Re: ftp: connect: Connection refused
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
Sone was telliong by defauly hpux 11.31 does not have ftp istalled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 06:36 PM
тАО10-28-2008 06:36 PM
Re: ftp: connect: Connection refused
can talk to the target system, but that
there's no FTP server running (or configured)
there.
Please show actual commands with actual
output.
grep '^ftp' /etc/inetd.conf
netstat -an | grep '*.21 '
ls -l /usr/lbin/ftpd
Around here:
dyi # grep '^ftp' /etc/inetd.conf
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
The FTP server is configured.
dyi # netstat -an | grep '*.21 '
tcp 0 0 *.21 *.* LISTEN
It's listening for connections.
dyi # ls -l /usr/lbin/ftpd
-r-xr--r-- 1 bin bin 649448 Jan 12 2007 /usr/lbin/ftpd
The FTP server program exists.
> [...] when i am trying to ftp [...]
How? From where?
ftp localhost
Is there anything interesting in
"/var/adm/syslog/syslog.log"?
> # inetd -c
You did that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 06:43 PM
тАО10-28-2008 06:43 PM
Re: ftp: connect: Connection refused
tcp 0 0 *.21 *.* LISTEN
twra5000:/home/mayub :ls -l /usr/lbin/ftpd
/usr/lbin/ftpd not found
twra5000:/home/mayub :
It is saying ftpd not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 06:51 PM
тАО10-28-2008 06:51 PM
Re: ftp: connect: Connection refused
That would explain the problem.
I don't know if it was never installed, or if
it has been removed, but it's not there, and
that is what inetd expects to run for an
incoming FTP connection.
It's been a while since I installed the OS on
my system, so I remember nothing, but I
clearly have this program where it's
expected.
dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 07:16 PM
тАО10-28-2008 07:16 PM
Re: ftp: connect: Connection refused
please use tcp instead of tcp6 in /etc/inetd.conf file. then restart the daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 07:29 PM
тАО10-28-2008 07:29 PM
Re: ftp: connect: Connection refused
Ahsan please send me you mail address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 07:31 PM
тАО10-28-2008 07:31 PM
Re: ftp: connect: Connection refused
> /etc/inetd.conf file. then restart the
> daemon.
Do you think that this will (magically)
replace the missing file, "/usr/lbin/ftpd"?
Or do you think that that file is not needed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2008 07:36 PM
тАО10-28-2008 07:36 PM
Re: ftp: connect: Connection refused
What is the error message you are getting if you do $ftp localhost
did you check your /etc/inetd.conf
$grep '^ftp' /etc/inetd.conf
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -a -l
Do you have /var/adm/inetd.sec
if yes then what is the entry regarding ftp
are you getting ftp prompt ?
Suraj