- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX ftp Problem - 421 Service not available, ...
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
Forums
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
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
тАО09-28-2007 02:49 AM
тАО09-28-2007 02:49 AM
HPUX ftp Problem - 421 Service not available, remote server has closed connection
I am currently experiencing a problem with one of my HPUX servers when using ftp.
We have a daily application script that simply ftp's to a external ftp site and then put's approx 2000 pdf files.
This script has recently started to fail with the below message.
421 Service not available, remote server has closed connection
I have tried this process manually and I still get the same error.
I have also tried the same procedure to a different external ftp server and this also errors.
If I try the same procedure from one of the other unix nodes within my HPUX cluster it works fine.
Very frustrating..
I have spoken to both firewall teams from our company and the external and we believe the problem to be with the HPUX machine and not the firewalls or external ftp servers.
Do you have any helpfull advice on what could cause this kind of problem within HPUX?
I have checked the syslog and the ftp log but can find no errors being reported.
when doing a netstat -s i do the the below
10540 connect requests dropped due to full queue
2393372 connect requests dropped due to no listener
0 suspect connect requests dropped due to aging
0 suspect connect requests dropped due to rate
However on test we did try reducing the tcp_conn_request_max value right down and creating lots of connection but could not replicate the issue.
On live this is set to 4096 (default) tcp_conn_request_max
If I check for established connections I dont think we are anywhere near a limit
ndd -get /dev/tcp tcp_status | grep EST | wc -l
Averages around 1500
The firewall logs are showing that our HPUX machine is issuing a TCP ZeroWindow but for a process that has worked for months I am struggling to figure out what the issue is.
Any assistance you could give me would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 04:46 AM
тАО09-28-2007 04:46 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 04:53 AM
тАО09-28-2007 04:53 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
Over the weekend we are goign to try failing over the firewalls as I am convinced this is not a problem with my HPUX server.
I will keep you posted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 05:00 AM
тАО09-28-2007 05:00 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
Verify that /var/adm/inetd.sec does not contain an ftp entry of either
deny or allow. When you allow one user, you deny all other users.
For troubleshooting purposes you could rename /var/adm/inetd.sec to
/var/adm/inetd.sec.old. inetd.sec is not needed unless you have
a need for tightened security beyond login verification.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 05:03 AM
тАО09-28-2007 05:03 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 06:02 AM
тАО09-28-2007 06:02 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
man ftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 10:54 AM
тАО09-28-2007 10:54 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
HP-UX system is the FTP client
> This script has recently started to fail
> with the below message.
>
> 421 Service not available, remote server
> has closed connection
Can you provide a short failing script?
What is the failing operation, initial
connection, log-in, PUT, ...?
What are the remote systems? (OS, FTP
server, ...?) Any useful log entries at the
other end?
> If I try the same procedure from one of the
> other unix nodes within my HPUX cluster it
> works fine.
Do you mean using a different HP-UX system as
the FTP client (that is, running the script
on a different HP-UX system), or using the
first HP-UX system to send files to another
of your HP-UX systems (instead of to a remote
system)?
Passive mode can help with some firewall
problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 01:17 PM
тАО09-28-2007 01:17 PM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 03:00 PM
тАО09-28-2007 03:00 PM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
Who said that it failed "immediately"?
Did I miss something (again)? All I saw was:
> This script has recently started to fail
> [...]
About 421, the RFC says, "This may be a reply
to any command [...]", which is why I asked
when it happened.
Without knowing anything about the FTP server
involved, it may be tough to divine the
reason it would return a 421 status.
Unless I misinterpreted this whole thing, and
the FTP _server_ is actually on an HP-UX
system, some of the suggestions offered here
may not have great value.
As is often the case, a clearer explanation
of the problem would be helpful. Minor
details (like who's who, who does what, and
what happens then) can often help to reduce
the bafflement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2007 08:52 PM
тАО09-30-2007 08:52 PM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
Thanks for all your advice. I will confirm the full resolution once we have fully identified it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2007 02:06 AM
тАО10-01-2007 02:06 AM
Re: HPUX ftp Problem - 421 Service not available, remote server has closed connection
> have fully identified it.
I'd settle for a clear description of the
_problem_.