Operating System - HP-UX
1753826 Members
8482 Online
108805 Solutions
New Discussion юеВ

Re: error debugging oracle core

 
cabloy
Advisor

error debugging oracle core

Hi
We have gdb 3.3 for PA_RICS 1.1 or 2.0 version to my HP-UX 11.11 box to degug an oracle core. But when trying to do so, I get this:
$ gdb $ORACLE_HOME/bin/oracle core
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 3.3 for PA-RISC 2.0 (wide), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.3 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `oracle'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: section .data not found in /oracle/FM8/101_64/lib/libodm10.sl

warning: section .data not found in /oracle/FM8/101_64/lib/libskgxn2.sl

warning: section .data not found in /oracle/FM8/101_64/lib/libocr10.sl

warning: section .data not found in /oracle/FM8/101_64/lib/libocrb10.sl

warning: section .data not found in /oracle/FM8/101_64/lib/libocrutl10.sl

warning: section .data not found in /oracle/FM8/101_64/lib/libdbcfg10.sl

warning: File not processed by pxdb--about to process now.

Error opening: /oracle/FM8/101_64/lib/libjox10.sl for read/write.
PXDB aborted.
Out of memory
#0 0xc0000000001fa55c in ?? ()
(gdb)

Any help available is truly appreciated.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: error debugging oracle core

>gdb 3.3

The latest version is 5.5, get the latest:
http://www.hp.com/go/wdb

If this doesn't help, try:
1) copy libjox10.sl to another directory
2) Make it writable to you
3) strip -l libjox10.sl # of the copy
4) export GDB_SHLIB_PATH=directory-of-copy

Then run gdb.

Note since you got signal 6, looking at the stack trace may not help, you need to look at any error output or logs for the cause.
Steven E. Protter
Exalted Contributor

Re: error debugging oracle core

Shalom,

HP gdb 3.3 for PA-RISC 2.0 (wide), HP-UX 11.00.

This makes no sense. HP-UX 11.11 supports PA-RISC 2.0, not 11.00

I suspect gdb needs to be installed again or the environment is wrong for run.

chatr the binary
see that necessary libraries on on SHLIB_PATH variable prior to using the utility.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: error debugging oracle core

>Steven: HP gdb 3.3 for PA-RISC 2.0 (wide), HP-UX 11.00.
>This makes no sense. HP-UX 11.11 supports PA-RISC 2.0, not 11.00

Sure it does. 11.00 also supports 64 bit. That version of 11.00 gdb works on both.

>I suspect gdb needs to be installed again

The only thing wrong is that gdb 3.3 is obsolete. But the immediate problem is that pxdb64 can't handle libjox10.sl
cabloy
Advisor

Re: error debugging oracle core

Thanks for your immediate responce. Reinstallation of GDB was already done. Current version of GDB is now 5.5.0 however when i try to execute the command "gdb $ORACLE_HOME/bin/oracle core" i've encountered the same error but this time the error messages "OUT of Memory" was gone.
Any possible solutions on this it will great help to us. See below for your reference.

thanks.

O.S version: HP-UX B.11.11 U 9000/800

GDB Version:

HP gdb 5.5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.

Error:
scipl3:oraq01 12> gdb $ORACLE_HOME/bin/oracle core
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 5.5.0 for PA-RISC 2.0 (wide), HP-UX 11.00
and target hppa2.0w-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..

warning: exec file is newer than core file.
Core was generated by `oracle'.
Program terminated with signal 6, Aborted.


warning: Load module /oracle/Q01/101_64/lib/libodm10.sl has been stripped.
Debugging information is not available.


warning: Load module /oracle/Q01/101_64/lib/libskgxn2.sl has been stripped.
Debugging information is not available.


warning: Load module /oracle/Q01/101_64/lib/libdbcfg10.sl has been stripped.
Debugging information is not available.


warning: File not processed by pxdb--about to process now.

Error opening: /oracle/Q01/101_64/lib/libjox10.sl for read/write.
PXDB aborted.

warning: Load module /oracle/Q01/101_64/lib/libnnz10.sl has been stripped.
Debugging information is not available.

#0 0xc0000000013f977c in kill+0x2c () from /usr/lib/pa20_64/libc.2
(gdb) r
Starting program: /oracle/Q01/101_64/bin/oracle
warning: Load module /oracle/Q01/101_64/lib/libodm10.sl has been stripped.
Debugging information is not available.

warning: Load module /oracle/Q01/101_64/lib/libskgxn2.sl has been stripped.
Debugging information is not available.

warning: Load module /oracle/Q01/101_64/lib/libdbcfg10.sl has been stripped.
Debugging information is not available.

warning: File not processed by pxdb--about to process now.

Error opening: /oracle/Q01/101_64/lib/libjox10.sl for read/write.
PXDB aborted.
warning: Load module /oracle/Q01/101_64/lib/libnnz10.sl has been stripped.
Debugging information is not available.


Program exited with code 01.
Dennis Handly
Acclaimed Contributor

Re: error debugging oracle core

>i've encountered the same error ... Any possible solutions on this it will great help to us.

I already told you the 4 steps to do in case a new gdb didn't work.

What version of pxdb64 do you have?
H.Merijn Brand (procura
Honored Contributor

Re: error debugging oracle core

I think I found a generic solution that resolves this Oracle fuckup of SSL. I'd rather kill Oracle or at least remove libnnz10, but alas, it probably has more functionality than just the broken parts.

Assuming that is where your OpenSSL is installed in /usr/local/ssl

On PA-RISC:

tcsh/csh: setenv LD_PRELOAD /usr/local/ssl/lib/libcrypto.sl
sh/ksh/bash: export LD_PRELOAD=/usr/local/ssl/lib/libcrypto.sl

On Itanium:

tcsh/csh: setenv LD_PRELOAD /usr/local/ssl/lib/libcrypto.so
sh/ksh/bash: export LD_PRELOAD=/usr/local/ssl/lib/libcrypto.so

On both, it is more reliable to make very sure that /usr/local/ssl/lib is in front in both $SHLIB_PATH and in $LD_LIBRARY_PATH

Enjoy, Have FUN! H.Merijn [ who finds Oracle to be fun only in very rare conditions ]
Enjoy, Have FUN! H.Merijn