- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tcp: lost connection
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
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
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
02-20-2003 12:41 AM
02-20-2003 12:41 AM
tcp: lost connection
Any ideas please?
Thanks
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 04:29 AM
02-20-2003 04:29 AM
Re: tcp: lost connection
perhaps you should run the command netstat -p tcp to look at dropped connections.
Best regards ...
Claus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:49 AM
02-20-2003 06:49 AM
Re: tcp: lost connection
What type of interfaces are you using? If they are 100BT, ensure that the cards are set to full duplex as well as the switch port.
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 04:57 PM
02-20-2003 04:57 PM
Re: tcp: lost connection
Try setting TMOUT=0, and see what happens...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 11:34 PM
02-20-2003 11:34 PM
Re: tcp: lost connection
I tried the TMOUT=0 and that allowed about 300 files through the it stopped.
Ramming - the netstat -p tcp output is attached. Any guidance what I can determine from that.
Currently the status is as follows. After the 300 files were copied, the two machines involved could not ping one another anymore. I can however access both of them from a third machine. This normally takes a few minutes to "resolve itself" and then they can ping one another again.
Thank you so far.
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 08:43 AM
02-21-2003 08:43 AM
Re: tcp: lost connection
The only thing I see in your netstat -p tcp files is that the second box is seeing a very high rate of out of order packets compared to the first box. I would look for a duplex mismatch causing a high rate of collisions.
Look at
lanadmin
lan
display
(if you have more than one NIC you may need to change the ppa number so you are looking at the correct NIC)
Look for high rates of collisions or for FCS errors (on the second page of the report) which would indicate that a duplex mismatch or other problem with the circuit. If you manually set the duplex make sure you set the switch duplex at the same time. Also if you are using the btlan3 or btlan4 drivers make sure you have the latest patches. The earlier versions had some really odd problems one of which was a tendency to get full of packets and stop working.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 11:24 AM
02-21-2003 11:24 AM
Re: tcp: lost connection
Both ends of the cable have to be set the same way - both auto, both half, or both full. You cannot have auto on one side and half|full on the other.
Also, the netstat on the one system shows a bunch of connections failling with no listener. Either a client or three are misconfigured, or someone is portscanning the box, or perhaps there is a duplicate IP on the network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2003 11:36 AM
02-23-2003 11:36 AM
Re: tcp: lost connection
0 for lan0
1 for lan1
etc
It appears you may have a physical problem with the network.
ping the target box and the souce box and see if the times are consistent.
Then
traceroute back and forth and see if there is a long latency on any of the hops.
Any issues, see network administration.
You might also want to consider replacing rcp with scp from the secure shell packages.
I've included a link and a cookbook for you, in case you want to use something secure for the file transfer. scp will work without passwords of you follow the document attached.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=T1471AA&date=
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 12:37 AM
02-24-2003 12:37 AM
Re: tcp: lost connection
The FCS and late collissions on both are 0 or < 3. However I do get the following on the one machine:
Single Collision Frames = 149015
Multiple Collision Frames = 354794
Deferred Transmissions = 15502
and I see it is running half-duplex.
Any ideas please?
Thanks
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 11:12 AM
02-24-2003 11:12 AM
Re: tcp: lost connection
http://www.cisco.com/en/US/products/hw/voiceapp/ps967/products_administration_guide_chapter09186a0080080bb0.html
Wouldn't hurt to ask the switch to verify that it is also running at half duplex on that port but since you are not getting late collisions this is probably not a problem. Sometimes the switch can tell you about other errors it is seeing on that port.
There is an HPUX command called linkloop
http://www.doc.ic.ac.uk/~mac/manuals/hpux-manual-pages/hpux/usr/man/man1m/linkloop.1m.html
which will do a good test on the LAN if you set -n to a high value like 1000. Note this only works with systems which are on the same LAN. If they are on different LANs then use the MAC address of the router on that LAN. If you find errors then look for a new driver, replace the card, cable, switch.
However, the odd thing you reported where a third party can ping them both but they can't ping each other shows a higher layer problem.
I'd first verify that there is not a duplicate IP address. Disconnect the Network cable from one of the boxes and then ping its IP address from another box on the same LAN. A response indicates a duplicate IP address. Connect up the cable and repeat with the other box.
Next if the two boxes are not on the same subnet check the routing table.
netstat -rnv
verify that the default gateway is present in the table. 11.0 has this cute dead gateway detection which can bite you if the router decides not to reply to pings or just is too busy to respond. You can turn this off in NDD but you may need a patch. I know our 11.0 system does not show the option in ndd -h but I don't know that it still wouldn't work. ndd -set /dev/ip ip_ire_gw_probe 0 will turn it off. Also check that the masks are correct.
Also are you running any sort of routing protocol? Perhaps something is changing there.
Ron