- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr directory deleted how to recover.
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
08-29-2002 03:24 AM
08-29-2002 03:24 AM
(1) How can we recover from this situation specially that we can not logon to the system??
(2) What are possible impacts on our SAP application on the system??
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 03:27 AM
08-29-2002 03:27 AM
Re: /usr directory deleted how to recover.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 03:29 AM
08-29-2002 03:29 AM
SolutionGet your recovery tapes out.
Boot into single user mode.
restore /usr if possible, otherwise recover root.
Impact to SAP will be that it won't be running for a few hours, like at least FOUR!!!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 03:57 AM
08-29-2002 03:57 AM
Re: /usr directory deleted how to recover.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 04:43 AM
08-29-2002 04:43 AM
Re: /usr directory deleted how to recover.
afaik: without /usr/lib you nearly can't do anything. Even simple commands like cp, ln, mv or so need the libs in /usr. I'm not sure about the possibility, to restart your system in single user mode.
If nothing else possibel:
- boot your system from the last ignite-tape, interrupt the automated recover process and interactivly recover only the lvol with the /usr directory. After that you should be able to boot your system.
- if you haven't an ignite tape: boot your system from the Support Plus cdrom, do not interact with IPL and select "Run a recovery shell".
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 04:52 AM
08-29-2002 04:52 AM
Re: /usr directory deleted how to recover.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 05:09 AM
08-29-2002 05:09 AM
Re: /usr directory deleted how to recover.
that was my estimation, too. But a time ago i wanted to move the /usr/lib to another lv and create a link. So I have moved /usr/lib to /usr/lib.bak and than died. I couldn't do absolutly nothing, always errormessage to /usr/lib/dld.sl.
My PATH-variable for root looks always first in /sbin and so i have thought the static-linked commands must work.
What's my mistake?
thanks, Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 06:12 AM
08-29-2002 06:12 AM
Re: /usr directory deleted how to recover.
You can do following.
1. boot the system in single user mode.
2. restore the /usr directory from backup.
If your running system is on the network, just copy /usr from any other similar HP server temporarily and try to recover the /usr from backup. You can restore /usr directory from other server using rcp.
Hope this helps as rcp resides in /bin.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 06:23 AM
08-29-2002 06:23 AM
Re: /usr directory deleted how to recover.
DO u have ignite , the amy be you can just run ercovery from there or reload the OS , this if is recent thne wont impact anything.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 07:05 AM
08-29-2002 07:05 AM
Re: /usr directory deleted how to recover.
Thanks to all of you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 07:10 AM
08-29-2002 07:10 AM
Re: /usr directory deleted how to recover.
Pete
Pete