- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/lib/dld.sl: Can't open shared library
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
07-29-2010 02:59 AM
07-29-2010 02:59 AM
By mistake I renamed /usr/lib/libdld.2 to /usr/lib/libdld.2.old
after that server is not allowing me to login.
I have booted the server in to single user mode, most of the commands are not working ( only cd echo are working).
I am getting below error.
# ls
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libdld.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
#
Please help me to resolve this issue. can I revert it back ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 03:05 AM
07-29-2010 03:05 AM
Re: /usr/lib/dld.sl: Can't open shared library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 03:50 AM
07-29-2010 03:50 AM
Re: /usr/lib/dld.sl: Can't open shared library
I booted the server with .prev kernel,its not booting giving below error.
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libdld.2
/usr/lib/dld.sl: No such file or directory
/sbin/auto_parms[24]: 333 Abort(coredump)
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libdld.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 03:51 AM
07-29-2010 03:51 AM
SolutionBooting with the .prev kernel won't help, because the problem is not in the kernel.
Moving the /usr/lib/libdld.2 file away broke the dynamic loader: now any binaries that require shared libraries won't run until the problem is fixed. Only statically linked programs will run. Unfortunately, all the binaries in /usr/bin will require at least the /usr/lib/libc.2 library...
The commands in /sbin are statically linked and should work even when /usr/lib/libdld.2 does not exist.
Use this command:
# /sbin/mv /usr/lib/libdld.2.old /usr/lib/libdld.2
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 03:54 AM
07-29-2010 03:54 AM
Re: /usr/lib/dld.sl: Can't open shared library
After booting to single-user mode, the root filesystem will be in read-only mode, and /usr will not be mounted. First run "mountall", then the /sbin/mv command I posted in my first reply.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 04:33 AM
07-29-2010 04:33 AM
Re: /usr/lib/dld.sl: Can't open shared library
It worked !!!!!
Thanks a lot for your quick response.
Regards,
Josin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 03:37 PM
07-29-2010 03:37 PM
Re: /usr/lib/dld.sl: Can't open shared library
The correct question is why?
If you are patching these, swinstall knows how to rename these and correctly move a new one n place.
You need to use atomic "ln -f":
ln -f /usr/lib/libdld.2 /usr/lib/libdld.2.old
ln -f /usr/lib/libdld.2.new /usr/lib/libdld.2
Note: Since dld and libdld have to be in sync, you really need to modify both at the same time and that may require /sbin/ln -f.
- Tags:
- atomic ln
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010 09:02 PM
07-29-2010 09:02 PM
Re: /usr/lib/dld.sl: Can't open shared library
Thanks a lot for providing different approach to solve this issue.
issue is already resolved by
# /sbin/mv /usr/lib/libdld.2.old /usr/lib/libdld.2
server is working fine now.