HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: libc.1 & reboot
Operating System - HP-UX
1832833
Members
2834
Online
110047
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-21-2002 12:16 PM
08-21-2002 12:16 PM
hi,
I accidentally renamed /usr/lib/libc.1, and then can't su, can't even reboot the machine.
anyone knows how to recover from a case like
this? it is a D230, 10.20 Box.
thanks
I accidentally renamed /usr/lib/libc.1, and then can't su, can't even reboot the machine.
anyone knows how to recover from a case like
this? it is a D230, 10.20 Box.
thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 12:55 PM
08-21-2002 12:55 PM
Solution
You should be able to boot to single user by interrupting the boot process.
BOOT PRI
Interact with ISL? Y
At the ISL> prompt, enter hpux -is /stand/vmunix
You will then be root user using a statically linked shell. All the utilities you use MUST be statically linked so that you are only allowed to use those in /sbin.
You can use /sbin/mv to rename the file but you must first mount /usr using /sbin/mount.
BOOT PRI
Interact with ISL? Y
At the ISL> prompt, enter hpux -is /stand/vmunix
You will then be root user using a statically linked shell. All the utilities you use MUST be statically linked so that you are only allowed to use those in /sbin.
You can use /sbin/mv to rename the file but you must first mount /usr using /sbin/mount.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 06:06 AM
08-23-2002 06:06 AM
Re: libc.1 & reboot
Hi,
You can also try to add the renamed file in the path and then do a cp libc.1.newname to libc.1.oldname. I was able to do it.
The steps are as follows:
export LIBPATH=$LIBPATH:/usr/lib/livc.1.newname
now you should be able to execute the commands and do a copy. Hope this will work.It did work for me.
Thanks
You can also try to add the renamed file in the path and then do a cp libc.1.newname to libc.1.oldname. I was able to do it.
The steps are as follows:
export LIBPATH=$LIBPATH:/usr/lib/livc.1.newname
now you should be able to execute the commands and do a copy. Hope this will work.It did work for me.
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP