- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bad magic number for 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
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
тАО03-20-2002 02:56 AM
тАО03-20-2002 02:56 AM
Bad magic number for shared library
We have finished the installation Oracle 8.1.7 -64bit on HP-UX 11.00 -64bit an upgraded SAP to 4.6C SR2. Now when we start oracle/sap with command "startsap" or "stopsap" we get an error message:
/usr/lib/dld.sl: bad magic number for shared library: /oracle/
/usr/lib/dls.sl: Exec format error
/usr/sap/
All our kernel SAP are in 64bit
What is the problem? environment variables?
SHLIB_PATH is set to /oracle/
Best regards,
Arlindo Ferreira.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 03:20 AM
тАО03-20-2002 03:20 AM
Re: Bad magic number for shared library
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 07:12 AM
тАО03-20-2002 07:12 AM
Re: Bad magic number for shared library
To verify if the Oracle installation is 64-bit or 32-bit, use the following command at the unix prompt:
chatr $ORACLE_HOME/lib/libclntsh.sl
If the output from this command shows a 64-bit ELF shared library, the user will need to get a 32-bit Oracle client installed on the machine used.
Regards, Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 08:06 AM
тАО03-20-2002 08:06 AM
Re: Bad magic number for shared library
I think there is a problem related to Kernel parameters setting.
Please post output from "kmtune" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 08:25 AM
тАО03-20-2002 08:25 AM
Re: Bad magic number for shared library
in attachment file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 08:37 AM
тАО03-20-2002 08:37 AM
Re: Bad magic number for shared library
Make sure you have the following libc patches on your machine.
PHCO_23092 libc cuml. header patch
PHCO_23770 libc cuml. patch.
You may have to re-link Oracle after the install of the patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 08:43 AM
тАО03-20-2002 08:43 AM
Re: Bad magic number for shared library
It looks like kernel parameters are alright.
Please consider following points that will help you in resolving your problem.
1. SHLIB_PATH should include both $ORACLE_HOME/lib and $ORACLE_HOME/lib64
I belive there still is some 32 bit software within the Oracle package.
2.
Not sure if this will help you or not,
From the HP Doc KBRC00000398
"bad magic number" and "exec" errors from dld.sl
/Begin/
Possible causes and the fixes are:
If libc is older than dld.sl or vice versa, then the two libraries will have difficulties understanding each other. Update both by installing the latest libc and dld.sl patches.
If the error was encountered while attempting to run a COBOL program, then it is possible that the executable was created on a PA1.1 machine using a shared library that was created on a PA2.0 machine. The linker did not give the typical warning that a PA2.0 object was detected. Instead, the only error returned occurred at runtime, when dld.sl attempted to bind the shared libraries. The only solutions are to:
compile and run the program on the same machine.
install the latest dld.sl and libc patches on both machines and recompile.
If /lib is not linked to /usr/lib, then the shared libraries will not have a reference point.
ln -s /usr/lib /lib
Hope this helps.
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 10:40 PM
тАО03-20-2002 10:40 PM
Re: Bad magic number for shared library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2002 06:05 AM
тАО03-21-2002 06:05 AM
Re: Bad magic number for shared library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2002 08:49 AM
тАО03-21-2002 08:49 AM
Re: Bad magic number for shared library
case HP*:
# if ( ! $?SHLIB_PATH ) then
# setenv SHLIB_PATH $ORACLE_HOME/lib64
# else
# foreach d ( $ORACLE_HOME/lib64 )
# set i=0
# foreach p ( `echo $SHLIB_PATH | sed 's/:/ /g'` )
# if ( "$p" == "$d" ) then
# set i=1
# break
# endif
# end
# if ( $i == 0 ) then
# setenv SHLIB_PATH ${SHLIB_PATH}:$d
# endif
# end
# endif
breaksw
All the lines are commented out except the case statement and the breaksw.