<?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: /usr/lib/... file coruption in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531007#M25228</link>
    <description>Hi Carlo,&lt;BR /&gt;&lt;BR /&gt;You are in a bind. &lt;BR /&gt;&lt;BR /&gt;We can take advantage of 2 commands in /sbin:&lt;BR /&gt;cat or mv (sbin/mv is not the same as /usr/bin/mv).&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;/sbin/cat &amp;lt; goodlibcopy &amp;gt; newlib&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;1) /sbin/mv badcopy safecopy&lt;BR /&gt;2) /sbin/mv goodlibcopy newlib&lt;BR /&gt;&lt;BR /&gt;If it were me, I would come up in single user&lt;BR /&gt;and do an /sbin/mount /usr.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Clay</description>
    <pubDate>Mon, 21 May 2001 21:10:31 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-05-21T21:10:31Z</dc:date>
    <item>
      <title>/usr/lib/... file coruption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531006#M25227</link>
      <description>I somehow got it right to corrupt the /usr/lib/lib2.c file and now nothing works.  I cannot do ll, cp, mv etc.  The system is currently useless.  I cannot even ftp to it.  &lt;BR /&gt;&lt;BR /&gt;I do have a backup copy of the file on the server, and I am sure a normal cp would have done the trick, however even cp looks for the shared lib2.c file.&lt;BR /&gt;&lt;BR /&gt;Any ideas how to get out of this one please?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Carlo</description>
      <pubDate>Mon, 21 May 2001 20:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531006#M25227</guid>
      <dc:creator>Carlo Henrico_1</dc:creator>
      <dc:date>2001-05-21T20:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/... file coruption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531007#M25228</link>
      <description>Hi Carlo,&lt;BR /&gt;&lt;BR /&gt;You are in a bind. &lt;BR /&gt;&lt;BR /&gt;We can take advantage of 2 commands in /sbin:&lt;BR /&gt;cat or mv (sbin/mv is not the same as /usr/bin/mv).&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;/sbin/cat &amp;lt; goodlibcopy &amp;gt; newlib&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;1) /sbin/mv badcopy safecopy&lt;BR /&gt;2) /sbin/mv goodlibcopy newlib&lt;BR /&gt;&lt;BR /&gt;If it were me, I would come up in single user&lt;BR /&gt;and do an /sbin/mount /usr.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Clay</description>
      <pubDate>Mon, 21 May 2001 21:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531007#M25228</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-21T21:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/... file coruption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531008#M25229</link>
      <description>Thanks Clay, that was excellent.  /sbin/mv did the trick, and suddenly all is well again.&lt;BR /&gt;&lt;BR /&gt;Much appreciated&lt;BR /&gt;&lt;BR /&gt;Carlo</description>
      <pubDate>Mon, 21 May 2001 21:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-file-coruption/m-p/2531008#M25229</guid>
      <dc:creator>Carlo Henrico_1</dc:creator>
      <dc:date>2001-05-21T21:15:42Z</dc:date>
    </item>
  </channel>
</rss>

