- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: scp corrupting the files
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
тАО12-04-2008 03:25 PM
тАО12-04-2008 03:25 PM
One of our programers was using scp to copy a file from Malaysia to our us office, the file came over showing the same size but was corrupted. here is the details:
both systems are running
HPUX 11.23
rp7420
the file is 2MB, some where in the middle of the file that's recieved around 2000 lines get dropped and replaced with null character.
If anyone knows of any problem with SCP please reply.
Always greatfull
Kathy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 05:27 PM
тАО12-04-2008 05:27 PM
Re: scp corrupting the files
You can use "xd -tx4 -tc file" to produce a dump. Then diff this with a dump from the original file.
If the data then resyncs, you may have to use an editor to remove the xd offsets from the beginning of each record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 08:14 AM
тАО12-08-2008 08:14 AM
SolutionYou did check the return code after copying?
You did not say anything about the SSH version on source and destination.
A first try is to update to a current version on both sides if availabe.
If this does not help, you should consider generating md5 checksums (get the md5sum depot from http://www.software.hp.com/) and check them after transmission.
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 09:51 AM
тАО12-08-2008 09:51 AM
Re: scp corrupting the files
OpenSSL -> A.00.09.07e.0 Secure Network Communications Proto
Regards,
Kathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 10:15 AM
тАО12-08-2008 10:15 AM
Re: scp corrupting the files
Still, if it isn't already you might consider disabling CKO (ChecKsum Offload) on the NICs on either side.
And if those 2000 lines were perhaps in some way "subversive" as far fetched as it sounds you might consider looking for a "man in the middle" situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 03:22 PM
тАО12-08-2008 03:22 PM
Re: scp corrupting the files
thanks for the response. could you please explain how to disable the CKO on the nic card?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 04:03 PM
тАО12-08-2008 04:03 PM
Re: scp corrupting the files
Also, unless you can reliably reproduce the corruption, all of this is going to be blind shots in the dark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 04:05 PM
тАО12-08-2008 04:05 PM
Re: scp corrupting the files
thanks
Kathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 06:07 PM
тАО12-08-2008 06:07 PM
Re: scp corrupting the files
Were you able to look at a hex dump and see if the corruption was on nice block boundaries?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 10:45 AM
тАО12-09-2008 10:45 AM
Re: scp corrupting the files
I looked at it briefly but need to go back to it. I'm installing the md5 package on my servers now.
thanks