<?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: moved /usr/lib in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132937#M799581</link>
    <description>I would first do a /sbin/cat /etc/fstab to determine /usr's fstype and lvol.&lt;BR /&gt;&lt;BR /&gt;Next, /sbin/fsck -F vxfs /dev/vg00/rlvol7 -- or whatever is appropriate for your filesystem/lvol.&lt;BR /&gt;&lt;BR /&gt;Now, mount /usr&lt;BR /&gt;/sbin/mount -F vxfs /dev/vg00/lvol7 /usr&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Dec 2003 17:17:30 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-12-01T17:17:30Z</dc:date>
    <item>
      <title>moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132930#M799574</link>
      <description>OS : HPUX 11.00&lt;BR /&gt;&lt;BR /&gt;I accidentally moved /usr/lib to /usr/lib2!! Now I get the message when I run most commands :&lt;BR /&gt;# ln&lt;BR /&gt;crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002 &lt;BR /&gt;&lt;BR /&gt;I have tried to set the SHLIB_PATH, which works, but chatr doesn't - so it doesn't help to add /usr/lib2 to the search path.&lt;BR /&gt;&lt;BR /&gt;I have been trying to use the recovery cd to move the lib2 directory back to lib, but I need some instruction on how to do this.&lt;BR /&gt;&lt;BR /&gt;So far, I can boot to my recovery cd where I can choose to load cp, mv, mount and other tools.  After that I chroot_lvmdisk to get to my root directory but there isn't a /usr/lib2 available.  How can I get this and once I copy it over how can I force these changes to take affect when I reboot???&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 01 Dec 2003 15:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132930#M799574</guid>
      <dc:creator>Rachel Smith_1</dc:creator>
      <dc:date>2003-12-01T15:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132931#M799575</link>
      <description>Check if /usr file system is mounted? If not, mount it first and then check for lib2 directory. If you just moved lib to lib2, you can just move it back the same way:&lt;BR /&gt;&lt;BR /&gt;# mv /usr/lib2 /usr/lib</description>
      <pubDate>Mon, 01 Dec 2003 15:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132931#M799575</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-01T15:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132932#M799576</link>
      <description>This isn't so hard to fix. Shutdown and boot in single-user mode by interrupting the boot process. Then enter hpux -is and Interact with IPL? N. You will then come up as root with oonly / mounted. All the utilities in /sbin are statically linked so that /usr/lib is not needed. You can then mount /usr -- an fsck will probably be required first. Then you can use /sbin/mv to mv /usr/lib2 to /usr/lib. Umount /usr, shutdown, and then boot normally and you should be good to go.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 15:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132932#M799576</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-01T15:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132933#M799577</link>
      <description>/usr is usually a mounted filesystem and is probably not mounted when you run the recovery CD. Try mounting /usr if you know the lvol name, and look for /usr/lib2. Then it is just as simple as it was to move it in the first place just:&lt;BR /&gt;&lt;BR /&gt;mv /usr/lib2 /usr/lib&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;John</description>
      <pubDate>Mon, 01 Dec 2003 15:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132933#M799577</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-12-01T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132934#M799578</link>
      <description>Okay, so log on in single-user mode and I try to mount /usr.  I get this error :&lt;BR /&gt;&lt;BR /&gt;#mount /usr&lt;BR /&gt;mount - Cannot open device /dev/vg00/lvol17: no such device or address&lt;BR /&gt;&lt;BR /&gt;So I went to /dev/vg00 and lvol17 is there.  I run fsck and and I get this :&lt;BR /&gt;&lt;BR /&gt;#fsck&lt;BR /&gt;Can't open /dev/vg00/r1vol1, errono=6&lt;BR /&gt;can't open device /dev/vg00/lvol3&lt;BR /&gt;file system check failure, aborting ...&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;can't open device /dev/vg00/lvol9&lt;BR /&gt;file system check failure, aborting ...&lt;BR /&gt;&lt;BR /&gt;Again everything appears to be there in the /dev/vg00 directory.  I have tried changing permisions thinking maybe that would be the problem, but that doesn't change anything.&lt;BR /&gt;&lt;BR /&gt;What would cause this?&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 16:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132934#M799578</guid>
      <dc:creator>Rachel Smith_1</dc:creator>
      <dc:date>2003-12-01T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132935#M799579</link>
      <description>When in single user mode you have to activate the volume group first then you can check it:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Then you can check them:&lt;BR /&gt;&lt;BR /&gt;fsck -F vxfs /dev/vg00/usr (or whatever it's called)&lt;BR /&gt;&lt;BR /&gt;Then mount it:&lt;BR /&gt;&lt;BR /&gt;mount /usr&lt;BR /&gt;&lt;BR /&gt;That should help.</description>
      <pubDate>Mon, 01 Dec 2003 17:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132935#M799579</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-12-01T17:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132936#M799580</link>
      <description>Activating the volume group fixed the problem.  Thanks everyone - I have my /usr/lib back now!&lt;BR /&gt;&lt;BR /&gt;Rachel</description>
      <pubDate>Mon, 01 Dec 2003 17:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132936#M799580</guid>
      <dc:creator>Rachel Smith_1</dc:creator>
      <dc:date>2003-12-01T17:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: moved /usr/lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132937#M799581</link>
      <description>I would first do a /sbin/cat /etc/fstab to determine /usr's fstype and lvol.&lt;BR /&gt;&lt;BR /&gt;Next, /sbin/fsck -F vxfs /dev/vg00/rlvol7 -- or whatever is appropriate for your filesystem/lvol.&lt;BR /&gt;&lt;BR /&gt;Now, mount /usr&lt;BR /&gt;/sbin/mount -F vxfs /dev/vg00/lvol7 /usr&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 17:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moved-usr-lib/m-p/3132937#M799581</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-01T17:17:30Z</dc:date>
    </item>
  </channel>
</rss>

