- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bad Magic....
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
06-09-2003 12:15 AM
06-09-2003 12:15 AM
Bad Magic....
I have a problem ....
exec tibrvout -A -s biTibrvout:biTibrv -- -o /sv/gbcldv27/atai/rel/server/bin/tibrvout.config :
/usr/lib/dld.sl: Bad magic number for shared library: /sv/gbcldv27/rel/server/lib/liboracle.sl
/usr/lib/dld.sl: Exec format error
CMDTUX_CAT:819: INFO: Process id=25717 Assume started (pipe).
What can I do?
Thanks for yours helps...
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 12:21 AM
06-09-2003 12:21 AM
Re: Bad Magic....
I know my answer could be too banal, but are you sure that
- version of oracle library is compatible with the platform you are compiling on ?
Could you give more details ?
In Metalink this is the only note i found:
Problem Description: ==================== You are trying to create your own shared library using Oracle's archived libraries. You believe Oracle's libraries were compiled with the +z compiler option. You would like to get the libraries compiled with the +Z option. Problem Explanation: ==================== The compiler options +z and +Z cause the compiler to generate position independent code (PIC) for use in building shared libraries. Normally, +z should be used to generate PIC; however, when certain limits are exceeded, +Z is required to generate PIC. Solution Description: ===================== The 7.1.6 shared library liboracle.sl was compiled with +z, not +Z. The +Z option is not needed in order for liboracle.sl to be used successfully. If you wish to create your own shared library using Oracle's archived libraries, then it is up to you to make sure the contents of the shared library conform to the limitations of +z. Other uses of the Oracle software in customer-created shared libraries are not supported, and we cannot recompile our libraries with +Z.
.
Usuallt exec format error means that you are using the wrong binaries or shared libraries...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 12:27 AM
06-09-2003 12:27 AM
Re: Bad Magic....
what I can do to verify if my oracle is compatible with the OS insalled?
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 12:33 AM
06-09-2003 12:33 AM
Re: Bad Magic....
Check in search for "Bad Magic" there are several previous posts. Perhaps one of them can help you.
HTH, Vicente.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 12:36 AM
06-09-2003 12:36 AM
Re: Bad Magic....
you must check the number of kernel bits in your kernerl
getconf KERNEL_BITS
and the version of oracle
readbale from the label.
oracle 9.x is only for 64bit HPUX.
Can you tell us
- your O.S.
- your version of Oracle
- what are trying to do ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 01:29 AM
06-09-2003 01:29 AM
Re: Bad Magic....
the kernel bits version is 64 bits, oracle version is 9.2.0.3.
On the same serever there is also 8.1.7 64 bits oracle version.
I hope that you can help me.
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 01:40 AM
06-09-2003 01:40 AM
Re: Bad Magic....
Just a quick point, the bad magic error usually indicates that you have installed and attempted to run a binary compiled on an uncompatible platform / or compiled for different hardware or in this case, maybe you have an existing library for an older application that is not compatible with the new one.
Hope this helps,
-=ChaZ=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 01:50 AM
06-09-2003 01:50 AM
Re: Bad Magic....
I said that on the server thare is also oracle 8.1.7 64 bits.....but we don't use this version now.....
Can this is a problem like said Charles?
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 02:00 AM
06-09-2003 02:00 AM
Re: Bad Magic....
if you are sure that the binaries are for your platform, may be you mixed up your shared linraries.
Check the environtmane tf the user that is tryin to execute the action. Are the path regarding the 9.x ionstallation always the first occurences..
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 02:20 AM
06-09-2003 02:20 AM
Re: Bad Magic....
the path is ok.
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 02:36 AM
06-09-2003 02:36 AM
Re: Bad Magic....
Just another quick thought, ( I know very little about Oracle ) you mentioned that the PATH variable was ok, but does the .profile for the new Oracle install point to the default PATH as defined in the generic /etc/profile ? - alonge the same line, have you tried removing the PATH env and only putting in the new working / libs / oracle filesystems, including the usual bin /usr/bin etc ?
Finaly, you could try performing a full system backup, removing the old version of Oracle or move its associated lib dirs out of the way and then reinstalling the new product?
Hope you fix it!
Cheers,
-=ChaZ=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 02:41 AM
06-09-2003 02:41 AM
Re: Bad Magic....
file /sv/gbcldv27/rel/server/lib/liboracle.sl
what /sv/gbcldv27/rel/server/lib/liboracle.sl
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 02:46 AM
06-09-2003 02:46 AM
Re: Bad Magic....
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 04:39 AM
06-09-2003 04:39 AM
Re: Bad Magic....
Massimo, this is tha output of your commands:
# file /sv/gbcldv27/rel/server/lib/liboracle.sl
/sv/gbcldv27/rel/server/lib/liboracle.sl: ELF-64 shared object file - PA-RISC 2.0 (LP64)
# what /sv/gbcldv27/rel/server/lib/liboracle.sl
/sv/gbcldv27/rel/server/lib/liboracle.sl:
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1994, 2000, 2001 The Regents of the University of Michigan.
Copyright (c) 1990, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1995, 1999, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1995, 1999, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1995, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1995, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1993, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1995, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000, 2001 Regents of the University of Michigan.
Copyright (c) 1996, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1990, 2000 Regents of the University of Michigan.
Copyright (c) 1995, 2000 Regents of the University of Michigan.
Copyright (c) 1993, 2001 The Regents of the University of Michigan.
Copyright (c) 1995 Regents of the University of Michigan.
Copyright (c) 1995, 1999, 2000, 2001 Regents of the University of Michigan.
#
Thanks.....
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 04:44 AM
06-09-2003 04:44 AM
Re: Bad Magic....
I try to execute ldd command on the library.....and I recived this output:
ldd /sv/gbcldv27/rel/server/lib/liboracle.sl
libc.2 => /usr/lib/pa20_64/libc.2
libm.2 => /usr/lib/pa20_64/libm.2
Unable to find library 'libwtc9.sl'.
I hope that this message can help you...Thanks for ALL yours help
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 04:47 AM
06-09-2003 04:47 AM
Re: Bad Magic....
i'm running out of shots....
latest ld and liner patch ?
Previusoly there was a thread in which there were the patch requirement for a oracle 9.
What version of O.S. is yours (uname -a output) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 04:50 AM
06-09-2003 04:50 AM
Re: Bad Magic....
try with a find with the name of the library.
May be it is not in the SHLIB_PATH.
If it is.... then check with chatr to see if searching is properly enabled.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 05:03 AM
06-09-2003 05:03 AM
Re: Bad Magic....
My OS version is 11.11
You can see tha output of swlist -l patch in attachement.
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 05:55 AM
06-09-2003 05:55 AM
Re: Bad Magic....
I try to execute chatr /app/oracle/product/9.2.0.3/lib/libwtc9.sl and I see this output:
chatr(warning): file "/app/oracle/product/9.2.0.3/lib/libwtc9.sl" appears to be corrupted and does not have a DT_FLAGS dynamic table entry. Therefore, the -B options will not function properly.
/app/oracle/product/9.2.0.3/lib/libwtc9.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /b/s223/lib/:/b/s223/rdbms/lib/
shared vtable support disabled
segments:
index type address flags size
5 text 4000000000000000 z---c D (default)
6 data 8000000100000000 ---m- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled
I hope that you can help me please
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 06:01 AM
06-09-2003 06:01 AM
Re: Bad Magic....
the chatr was intended for tibrvout.
But, what are you tryng to do, installing oracle ? compiling something ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 06:19 AM
06-09-2003 06:19 AM
Re: Bad Magic....
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 06:41 AM
06-09-2003 06:41 AM
Re: Bad Magic....
then... you are starting an application.
which application ?
and i suppose that you didn't paste all the output, but just the error.
Is there any more output.
If it is an oracle app, maybe that with all the log we can find something.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 09:18 AM
06-09-2003 09:18 AM
Re: Bad Magic....
Remove .../product/8.1.7/lib from SHLIB_PATH and relink the ORACLE. You may be happy after that.
Tim