Operating System - HP-UX
1832951 Members
2729 Online
110048 Solutions
New Discussion

Re: ftp from windows to hp-ux hangs

 
Mauricio Aquino
New Member

ftp from windows to hp-ux hangs

I am ftping from windows XP Pro to a HP-UX 10.x to get some files (small files 40-400 KB) using a Perl script. This script runs every minute. Occasionally it hangs. Normally get the files quickly, but sometimes hangs. Attached is the script, only the first section (bajar_base()) is the one that is getting files from HP-UX.

I appreciate any assistance?

Thanks.
Mauricio
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: ftp from windows to hp-ux hangs

open a telnet/ssh session on the 10.x box and/or start a continuous ping to the box.

In the telnet session, as root, tail -f /var/adm/syslog/syslog.log

The hang could be caused by a networking problem, or system stress on the NIC card or an intermittant hardware problem. You may want to run top/glance and see if the box has bottlenecks.

A problem outside the hp box, say on the network infrastructure will not show up in the diagnostics, though ping times may increase.

If ping hangs at the same time as the ftp job, then its a network issue. I'd check switch port settings, cables and such and make sure everything is solid.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gerhard Roets
Esteemed Contributor

Re: ftp from windows to hp-ux hangs

Hi Maurico

Does your HP-UX box use DNS? If so you might experiance what appears to be hangs when the dns server is down.

Does the windows box use DNS ... could be another reason but i do not think so. Since the HPUX box seems to hang according to ya.

Regrds
Gerhard
Chris Watson
Super Advisor

Re: ftp from windows to hp-ux hangs

I had a lot of problems with HP's ftp server stability under 10.20 and 11.0 until patched both the ftp server and NETWORKING. I had suffered lots of mysterious stutters and connections failures.

How are you on the patch front?
Moving along nicely
Ted Buis
Honored Contributor

Re: ftp from windows to hp-ux hangs

Are your running Windows 95? You are running HP-UX 10.x which is from the same timeframe. Time to move to a newer release like 11.11.
Mom 6
Mauricio Aquino
New Member

Re: ftp from windows to hp-ux hangs

Thanks to all for your prompt response.

1.syslog.log does not show any wrong.
2.ping is keeps running at the hang time.
3.I am not using DNS, i making ftp direct to ip address.
4.I am using XP Pro.
5. In the patch front i am bad for sure, how do i check ftp server version and networking? Where can i get those patches?

Thanks


Ted Buis
Honored Contributor

Re: ftp from windows to hp-ux hangs

www.itrc.hp.com and drill down or more specifically at:
http://www2.itrc.hp.com/service/patch/search.do?BC=patch.breadcrumb.main|&pageContextName=hpux:::
Mom 6
Gerhard Roets
Esteemed Contributor

Re: ftp from windows to hp-ux hangs

Maurico

I mean does the unix machine use DNS. Because if dns is down login times is long and your perl script could see it as a timeout. Even if you are connecting by IP. When you connect to the unix machine it does a reverse lookup on your ip ... to get your dns entry ... if dns is down this times out.


Regards
Gerhard
Mauricio Aquino
New Member

Re: ftp from windows to hp-ux hangs

Ted,

I am a little confuse, i went to the patch search section, you gave me. On step 1, select hardware an OS, there is only 700 or 800 for hardware, the box i have is HP-9000 D320. Is this the right place? or what is s700_800.

thanks.
Mauricio.
Ted Buis
Honored Contributor

Re: ftp from windows to hp-ux hangs

All HP Servers are 800 Series, and the pa-risc HP workstations are 700 Series. This goes way back to old model numbers, that haven't been used in years.
Mom 6