<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: scp corrupting the files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318324#M340433</link>
    <description>Kathy,&lt;BR /&gt;&lt;BR /&gt;Please check your disk space and let me know.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Dec 2008 04:14:19 GMT</pubDate>
    <dc:creator>ROCK_10</dc:creator>
    <dc:date>2008-12-10T04:14:19Z</dc:date>
    <item>
      <title>scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318314#M340423</link>
      <description>Hi experts,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;both systems are running&lt;BR /&gt;&lt;BR /&gt;HPUX 11.23&lt;BR /&gt;rp7420&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;If anyone knows of any problem with SCP please reply.&lt;BR /&gt;&lt;BR /&gt;Always greatfull&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kathy</description>
      <pubDate>Thu, 04 Dec 2008 23:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318314#M340423</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-04T23:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318315#M340424</link>
      <description>I've had corruption over NFS before.  I was able to find the problem and related it to a block size issue.&lt;BR /&gt;&lt;BR /&gt;You can use "xd -tx4 -tc file" to produce a dump.  Then diff this with a dump from the original file.&lt;BR /&gt;&lt;BR /&gt;If the data then resyncs, you may have to use an editor to remove the xd offsets from the beginning of each record.</description>
      <pubDate>Fri, 05 Dec 2008 01:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318315#M340424</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-05T01:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318316#M340425</link>
      <description>I never had such a corruption... if scp returned with return code 0.&lt;BR /&gt;You did check the return code after copying?&lt;BR /&gt;&lt;BR /&gt;You did not say anything about the SSH version on source and destination.&lt;BR /&gt;A first try is to update to a current version on both sides if availabe.&lt;BR /&gt;&lt;BR /&gt;If this does not help, you should consider generating md5 checksums (get the md5sum depot from &lt;A href="http://www.software.hp.com/)" target="_blank"&gt;http://www.software.hp.com/)&lt;/A&gt; and check them after transmission.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2008 16:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318316#M340425</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2008-12-08T16:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318317#M340426</link>
      <description>Thank you both for good information, i'm going to test the checksum and compare that.&lt;BR /&gt;&lt;BR /&gt;OpenSSL          -&amp;gt;   A.00.09.07e.0   Secure Network Communications Proto&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kathy</description>
      <pubDate>Mon, 08 Dec 2008 17:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318317#M340426</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-08T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318318#M340427</link>
      <description>Unless there is no actual encryption happening with the scp, that such a large corruption came through the scp suggests that the sending scp was given bogus data.  GIGO - Garbage In Garbage Out.&lt;BR /&gt;&lt;BR /&gt;Still, if it isn't already you might consider disabling CKO (ChecKsum Offload) on the NICs on either side.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Mon, 08 Dec 2008 18:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318318#M340427</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-12-08T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318319#M340428</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;thanks for the response. could you please explain how to disable the CKO on the nic card?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 08 Dec 2008 23:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318319#M340428</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-08T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318320#M340429</link>
      <description>If we are talking about GbE cards rather than 10GbE cards, IIRC it is already disabled in 11.23 and 11.31.  However, if I am remembering correctly, it would be a lanadmin kind of thing.  I also think that if CKO is enabled, it will appear as one of the flags in the output of ifconfig.&lt;BR /&gt;&lt;BR /&gt;Also, unless you can reliably reproduce the corruption, all of this is going to be blind shots in the dark.</description>
      <pubDate>Tue, 09 Dec 2008 00:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318320#M340429</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-12-09T00:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318321#M340430</link>
      <description>That's the problem, this happends in random. and I have not been able to re-produce the problem yet. but i'll keep working on it.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Kathy</description>
      <pubDate>Tue, 09 Dec 2008 00:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318321#M340430</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-09T00:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318322#M340431</link>
      <description>&amp;gt;this happens in random. and I have not been able to re-produce the problem yet.&lt;BR /&gt;&lt;BR /&gt;Were you able to look at a hex dump and see if the corruption was on nice block boundaries?</description>
      <pubDate>Tue, 09 Dec 2008 02:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318322#M340431</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-09T02:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318323#M340432</link>
      <description>Dennis, &lt;BR /&gt;I looked at it briefly but need to go back to it. I'm installing the md5 package on my servers now.&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2008 18:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318323#M340432</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-09T18:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318324#M340433</link>
      <description>Kathy,&lt;BR /&gt;&lt;BR /&gt;Please check your disk space and let me know.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 04:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318324#M340433</guid>
      <dc:creator>ROCK_10</dc:creator>
      <dc:date>2008-12-10T04:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318325#M340434</link>
      <description>BTW: The OpenSSL package has nothing to do with the ssh package (because ssh is staticaly linked and does not need OpenSSL installed).&lt;BR /&gt;To get the ssh version do a "swlist T1471AA"&lt;BR /&gt;This will look like:&lt;BR /&gt; T1471AA                               A.05.00.025    HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;Make sure you have a current version installed. Most current is 5.1.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318325#M340434</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2008-12-15T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318326#M340435</link>
      <description>Rock/Armin,&lt;BR /&gt;&lt;BR /&gt;Thanks for the response. to answer your questiosn:&lt;BR /&gt;&lt;BR /&gt;both systems are hpux 11.23&lt;BR /&gt;&lt;BR /&gt;stecn40:&lt;BR /&gt;&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     606208  384968  219544   64% /&lt;BR /&gt;/dev/vg00/lvol1     298928   55400  213632   21% /stand&lt;BR /&gt;/dev/vg00/lvol8    5242880 1654624 3560432   32% /var&lt;BR /&gt;/dev/vg00/lvol7    8388608 4463232 3894776   53% /usr&lt;BR /&gt;/dev/vg01/lvusers  35872768 3361186 30479655   10% /users&lt;BR /&gt;/dev/vg07/lvu6     71671808 1336662 65939200    2% /u6&lt;BR /&gt;/dev/vg06/lvu5     71671808 1815439 65490351    3% /u5&lt;BR /&gt;/dev/vg05/lvu4     71671808 1732352 65568284    3% /u4&lt;BR /&gt;/dev/vg04/lvu3     71671808 1634687 65659805    2% /u3&lt;BR /&gt;/dev/vg03/lvu2     71671808 1634686 65659808    2% /u2&lt;BR /&gt;/dev/vg02/lvu1     71671808 4017935 63425511    6% /u1&lt;BR /&gt;/dev/vg00/lvol4    2097152  998848 1089760   48% /tmp&lt;BR /&gt;/dev/vg00/lvol6    4898816 2976872 1906944   61% /opt&lt;BR /&gt;/dev/vg00/lvol5    1048576    9152 1031352    1% /home&lt;BR /&gt;&lt;BR /&gt;# T1471AA               A.04.30.007    HP-UX Secure Shell&lt;BR /&gt;  T1471AA.Secure_Shell  A.04.30.007    HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And on simpk400:&lt;BR /&gt;&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     524288  324368  198400   62% /&lt;BR /&gt;/dev/vg00/lvol1     511672   77904  382600   17% /stand&lt;BR /&gt;/dev/vg00/lvol8    5242880 1952008 3288808   37% /var&lt;BR /&gt;/dev/vg00/lvol7    8388608 7656712  726208   91% /usr&lt;BR /&gt;/dev/vg01/lvusers  35557376 21976184 13482688   62% /users&lt;BR /&gt;/dev/vg07/lvu6     35557376 18240992 17181248   51% /u6&lt;BR /&gt;/dev/vg06/lvu5     35557376 19208736 16220976   54% /u5&lt;BR /&gt;/dev/vg05/lvu4     35557376 24431592 11039128   69% /u4&lt;BR /&gt;/dev/vg04/lvu3     35557376 18687328 16746520   53% /u3&lt;BR /&gt;/dev/vg03/lvu2     35557376 7203456 28132472   20% /u2&lt;BR /&gt;/dev/vg02/lvu1     35557376 13414528 21969928   38% /u1&lt;BR /&gt;/dev/vg00/lvol4    2097152  633640 1452176   30% /tmp&lt;BR /&gt;/dev/vg00/lvol6    4096000 3657824  434800   89% /opt&lt;BR /&gt;/dev/vg00/lvol5    1048576  116744  924760   11% /home&lt;BR /&gt;&lt;BR /&gt;# T1471AA               A.04.30.007    HP-UX Secure Shell&lt;BR /&gt;  T1471AA.Secure_Shell  A.04.30.007    HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have been watching the files being rcped and scped, and so far so good.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Dec 2008 18:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318326#M340435</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-15T18:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318327#M340436</link>
      <description>One more question for you gurus, does scp or rcp have internal error checking?</description>
      <pubDate>Mon, 15 Dec 2008 23:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318327#M340436</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-15T23:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318328#M340437</link>
      <description>If you mean data checking, then I'm 99.9999% confident that rcp does not do such a thing.  I'm 99% confident that scp relies on the SSL/TSL layer (I may have that wrong) and also does not have data checking itself.</description>
      <pubDate>Mon, 15 Dec 2008 23:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318328#M340437</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-12-15T23:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318329#M340438</link>
      <description>Thank you Rick, that's what I was asking.</description>
      <pubDate>Mon, 15 Dec 2008 23:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318329#M340438</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-15T23:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318330#M340439</link>
      <description>I agree with Rick, I think there is no data crc check within scp and rcp. Both protocols probably rely on the usual normal TCP checksums.&lt;BR /&gt;Openssh 4.30 is quite old (2006). I did not hear about any issues with that version, but one never knows.&lt;BR /&gt;&lt;BR /&gt;There is one way to (implicitly) create and check checksums while copying files: The tar-pipe.&lt;BR /&gt;Don't use scp to copy the files but tar and ssh:&lt;BR /&gt;# cd /sourcedir; tar -cf - . |ssh targethost "cd /targetdir; tar -xf -"&lt;BR /&gt;&lt;BR /&gt;The piped tar archive contains checksums for every file which are validated on the target side. So you'll notice any high level error that occurs "on the wire". You'll don't notice any error if the source host, for some unknown reason, delivers corrupt data to the tar command. But in this case a checksum tool is useless too.&lt;BR /&gt;&lt;BR /&gt;Is it possible that you tried to copy a file that was used by an application at the same time? This will produce unpredictable results and should be avoided!&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Dec 2008 00:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318330#M340439</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2008-12-20T00:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: scp corrupting the files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318331#M340440</link>
      <description>Armin,&lt;BR /&gt;&lt;BR /&gt;thank you for you 2 cents! I will let the programmers know about the tar command. and will find out if the following was the case.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is it possible that you tried to copy a &amp;gt;file that was used by an application at the &amp;gt;same time? This will produce unpredictable &amp;gt;results and should be avoided!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Happy holidays you all.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kathy</description>
      <pubDate>Sat, 20 Dec 2008 00:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-corrupting-the-files/m-p/4318331#M340440</guid>
      <dc:creator>KathyK</dc:creator>
      <dc:date>2008-12-20T00:57:41Z</dc:date>
    </item>
  </channel>
</rss>

