GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bad magic number
Operating System - HP-UX
1850344
Members
2806
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
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
04-07-2004 08:49 AM
04-07-2004 08:49 AM
Hello everyone,
I'm getting the following error message when I try to startup ORACLE 817.....
/usr/lib/dld.sl: Bad magic number for shared library: /u00/app/oracle/product/81
7/lib64/libclntsh.sl.8.0
/usr/lib/dld.sl: Exec format error
Abort(coredump)
Any help would be greatly appreciated....
I'm getting the following error message when I try to startup ORACLE 817.....
/usr/lib/dld.sl: Bad magic number for shared library: /u00/app/oracle/product/81
7/lib64/libclntsh.sl.8.0
/usr/lib/dld.sl: Exec format error
Abort(coredump)
Any help would be greatly appreciated....
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 08:56 AM
04-07-2004 08:56 AM
Solution
Solution from Metalink:
Your SHLIB_PATH enviroment variable included the wrong directory: $ORACLE_HOME/lib64
As explained in the installation guide the enviroment variable LD_LIBRARY_PATH should include the $ORACLE_HOME/lib64 directory, but the SHLIB_PATH should include ORACLE_HOME/lib.
Setting the enviroment variable SHLIB_PATH to $ORACLE_HOME/lib should solve this problem.
Your SHLIB_PATH enviroment variable included the wrong directory: $ORACLE_HOME/lib64
As explained in the installation guide the enviroment variable LD_LIBRARY_PATH should include the $ORACLE_HOME/lib64 directory, but the SHLIB_PATH should include ORACLE_HOME/lib.
Setting the enviroment variable SHLIB_PATH to $ORACLE_HOME/lib should solve this problem.
Remember, wherever you go, there you are...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 09:01 AM
04-07-2004 09:01 AM
Re: Bad magic number
This can happen for a number of reasons but a very common one is mixing 32-bit and 64-bit libraries and code. It could also be the result of trying to use code for an Itanium box on a PA-RISC box.
Also if you copied the Oracle binaries from another machine, you might need to relink.
I'll assume that you are using svrmgr.
cd ${ORACLE_HOME}/bin
ldd svrmgrl
This will list all the dynamic libraries.
First, do a "file" command on svrmmgrl itself to make sure it is a PA-RISC executable and then do a "file" command on each of the shared libraries to make sure that they are the correct type as well.
Also if you copied the Oracle binaries from another machine, you might need to relink.
I'll assume that you are using svrmgr.
cd ${ORACLE_HOME}/bin
ldd svrmgrl
This will list all the dynamic libraries.
First, do a "file" command on svrmmgrl itself to make sure it is a PA-RISC executable and then do a "file" command on each of the shared libraries to make sure that they are the correct type as well.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 05:48 PM
04-07-2004 05:48 PM
Re: Bad magic number
pls check your oracle libs and the SHLIB_PATH variable that there no mis up of 32 and 64 bit libs of the same shared/dynamic links libs of oracle .
Some cause happiness wherever they go; others, whenever they go
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 2026 Hewlett Packard Enterprise Development LP