- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/lib/hpux32/dld.so file is renamed
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
Discussions
Discussions
Forums
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
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
тАО12-06-2008 02:06 AM
тАО12-06-2008 02:06 AM
'dld.so' library file has been renamed by one user to 'dld.so_save'. Following command is what she had run :
#pwd
/usr/lib/hpux32
#mv dld.so dls.so_save
Because of this blunder, no commands are running. Even from Single User mode. When any command is run, following is what the error is :
# ls
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort(coredump)
# find
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort(coredump)
# w
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort(coredump)
# cd /usr/sbin
# vi
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort(coredump)
# cd /usr/lib/hpux32
# /usr/bin/cp dld.so_safe dld.so
/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.
Abort(coredump)
**********************************************
Need your guidance in resolving this at the earliest.
Regards,
Ramaprasad K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 02:25 AM
тАО12-06-2008 02:25 AM
Re: /usr/lib/hpux32/dld.so file is renamed
You are confused. This was renamed by root. You need to talk to this person.
If you don't know about these tricks below, you should not fiddle with dld.so directly and only swinstall/swremove on linker patches. (Or mail/call me directly. :-)
If you are going to fiddle with dld.so, you need to use atomic ln(1) operations. And not mv or cp:
# ln -f dld.so dld.so_save
# ln -f dld.so.new dld
But you are in luck, you can repair it by a bigger hammer, even without going into single user mode:
# /sbin/ln -f dld.so_save dld.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 03:47 AM
тАО12-06-2008 03:47 AM
Re: /usr/lib/hpux32/dld.so file is renamed
Sorry, 'User' I meant by person with root access.
Also, one more clarification. Does 'ln' run. As no commands are running as showm in my first post.
regards.
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 04:29 AM
тАО12-06-2008 04:29 AM
Re: /usr/lib/hpux32/dld.so file is renamed
No, not after the system was messed up. That's why you now need to use /sbin/ln.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 04:11 AM
тАО12-08-2008 04:11 AM
Re: /usr/lib/hpux32/dld.so file is renamed
You need to login from cdron in single user mode and then correct the changes .
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 05:08 AM
тАО12-08-2008 05:08 AM
Re: /usr/lib/hpux32/dld.so file is renamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 04:27 PM
тАО12-08-2008 04:27 PM
Re: /usr/lib/hpux32/dld.so file is renamed
In order to keep it straight, you should only use atomic ln(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 12:00 AM
тАО02-02-2009 12:00 AM
Re: /usr/lib/hpux32/dld.so file is renamed
I am also facing same problem.
but i even do not have any root session open could you please tell me the exact steps i need to follow in order to fix it.
I really appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 12:20 AM
тАО02-02-2009 12:20 AM
Re: /usr/lib/hpux32/dld.so file is renamed
Don't ever fiddle with system shlibs unless you have two root sessions and one user session for testing.
>tell me the exact steps i need to follow in order to fix it.
If you aren't logged on as root, you'll have to boot into single user mode and follow the steps in this other thread where they made an even more dangerous mistake:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1304918