Home » Infrastructure » Linux » can't start dbca
can't start dbca [message #99279] Mon, 31 January 2005 23:06 Go to next message
xuan
Messages: 4
Registered: December 2001
Junior Member
I try to install oracle 9.2.0 in redflag linux which kernel is 2.4.20-8. I just install software only, and no error was reported. Then I run dbca, found error below:
Error loading native library: libnjni9.so.
Exception in thread "main" java.lang.UnsatisfiedLinkError: getLocalHostName
at oracle.net.common.NetGetEnv.getLocalHostName(Native Method)
at oracle.net.config.Config.systemName(Config.java)
at oracle.net.config.DirectoryService.getSystemObjectPath(DirectoryService.java)
at oracle.net.config.DirectoryService.qualifyObjectName(DirectoryService.java)
at oracle.net.config.Listener.<init>(Listener.java)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:1853)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(NetworkUtils.java:736)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(NetworkUtils.java:774)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkUtils.java:712)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(StepContext.java:485)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:139)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:454)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:185)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:141)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:85)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)

I would really appreciate any help that any of you could provide. Thank you so much in advance
Re: can't start dbca [message #99280 is a reply to message #99279] Mon, 31 January 2005 23:48 Go to previous messageGo to next message
Frank Naude
Messages: 4502
Registered: April 1998
Senior Member
Hi,

As per Metalink note 163343.1:

"The libnjni9.so is found in two locations in a 9.x installation, $ORACLE_HOME/lib and $ORACLE_HOME/lib32.

For example:
cd $ORACLE_HOME find . -name "libnjni9.so" -print

./lib/libnjni9.so
./lib32/libnjni9.so

If the LD_LIBRARY_PATH includes the $ORACLE_HOME/lib but not $ORACLE_HOME/lib32 that is likely the problem.

Add the $ORACLE_HOME/lib32 to the LD_LIBRARY_PATH environment variable and ensure that it appears before the reference to $ORACLE_HOME/lib in the LD_LIBRARY_PATH statement."

Best regards.

Frank
Re: can't start dbca [message #99281 is a reply to message #99280] Tue, 01 February 2005 16:34 Go to previous messageGo to next message
xuan
Messages: 4
Registered: December 2001
Junior Member
Thank you for your advise,Frank.
But only ./lib/libnjni9.so is found in my disk.And the directory $ORACLE_HOME/lib32 is not exist.
Re: can't start dbca [message #131566 is a reply to message #99279] Mon, 08 August 2005 05:29 Go to previous messageGo to next message
ram_p_j
Messages: 9
Registered: August 2005
Junior Member
Hi Frank,

i get the similiar error in AIX environment.. i tried ur above options like adding $ORACLE_HOME/lib32 before $ORACLE_HOME/lib in LD_LIBRARY_PATH of dbca file.. but doesn't seem to work.. please help me out to solve this.


java.lang.UnsatisfiedLinkError: getLocalHostName
at oracle.net.config.Config.systemName(Config.java)
at oracle.net.config.DirectoryService.getSystemObjectPath(DirectoryServi
ce.java)
at oracle.net.config.DirectoryService.qualifyObjectName(DirectoryService
.java)
at oracle.net.config.Listener.<init>(Listener.java)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtoco
lAddress(NetworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(Ne
tworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(
NetworkUtils.java)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkU
tils.java)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(S
tepContext.java)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.jav
a)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:454)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:185)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHo
st.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:141)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:85)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)
Exception in thread "main"

Thanks
Ram

[Updated on: Mon, 08 August 2005 06:04]

Report message to a moderator

Re: can't start dbca [message #295096 is a reply to message #131566] Mon, 21 January 2008 05:48 Go to previous message
rdavison
Messages: 1
Registered: January 2008
Junior Member
Hi, I get a similar exception when starting dbca on oracle 10g/Solaris 10:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xFEEE4C48
Function=[Unknown. Nearest: free+0x63]
Library=/lib/libc.so.1

Current Java thread:
at oracle.net.common.NetGetEnv.getLocalHostName(Native Method)
at oracle.net.config.Config.systemName(Unknown Source)
at oracle.net.config.DirectoryService.getSystemObjectPath(Unknown Source)
at oracle.net.config.DirectoryService.qualifyObjectName(Unknown Source)
at oracle.net.config.Listener.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2535)
at oracle.sysman.assistants.util.NetworkUtils.getOneLocalListenerProtocolAddress(NetworkUtils.java:2515)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddressForPort(NetworkUtils.java:877)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(NetworkUtils.java:860)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(NetworkUtils.java:914)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkUtils.java:836)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(StepContext.java:679)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:258)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:684)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)

Dynamic libraries:
0x8050000 /app/jdk/jre/bin/java
0xfefa0000 /lib/libthread.so.1
0xfef80000 /lib/libdl.so.1
0xfeea0000 /lib/libc.so.1
0xfea00000 /app/jdk/jre/lib/i386/client/libjvm.so
0xfee50000 /usr/lib/libCrun.so.1
0xfee30000 /lib/libsocket.so.1
0xfed90000 /lib/libnsl.so.1
0xfed60000 /lib/libm.so.1
0xfee80000 /usr/lib/libsched.so.1
0xfe9a0000 /lib/libm.so.2
0xfe960000 /lib/libscf.so.1
0xfe940000 /lib/libdoor.so.1
0xfe920000 /lib/libuutil.so.1
0xfe8f0000 /lib/libgen.so.1
0xfe8c0000 /lib/libmd.so.1
0xfe8a0000 /lib/libmp.so.2
0xfe870000 /app/jdk/jre/lib/i386/native_threads/libhpi.so
0xfe3d0000 /app/jdk/jre/lib/i386/libverify.so
0xfe390000 /app/jdk/jre/lib/i386/libjava.so
0xfe370000 /app/jdk/jre/lib/i386/libzip.so
0xfe1c0000 /usr/lib/locale/en_GB.ISO8859-1/en_GB.ISO8859-1.so.3
0xe9950000 /app/lib/libOsUtils.so
0xe9920000 /app/lib/libnjni10.so
0xe8c00000 /app/lib/libclntsh.so.10.1
0xe8a60000 /app/lib/libnnz10.so
0xe98f0000 /lib/libkstat.so.1
0xe98d0000 /lib/librt.so.1
0xe98a0000 /lib/libaio.so.1
0xe9880000 /app/lib/libldapjclnt10.so

Heap at VM Abort:
Heap
def new generation total 576K, used 226K [0xede00000, 0xedea0000, 0xee7d0000)
eden space 512K, 37% used [0xede00000, 0xede30578, 0xede80000)
from space 64K, 52% used [0xede90000, 0xede98600, 0xedea0000)
to space 64K, 0% used [0xede80000, 0xede80000, 0xede90000)
tenured generation total 2388K, used 1557K [0xee7d0000, 0xeea25000, 0xf5e00000)
the space 2388K, 65% used [0xee7d0000, 0xee9554f8, 0xee955600, 0xeea25000)
compacting perm gen total 4096K, used 3590K [0xf5e00000, 0xf6200000, 0xf9e00000)
the space 4096K, 87% used [0xf5e00000, 0xf6181b08, 0xf6181c00, 0xf6200000)

Local Time = Mon Jan 21 10:52:59 2008
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)


My LD_LIBRARY_PATH is: LD_LIBRARY_PATH=$LIB32_DIR:$OH/network/lib32:$LIB_DIR:$OH/network/lib:$LD_LIB
RARY_PATH
export LD_LIBRARY_PATH;

any help is much appreciated.
Previous Topic: Installation problem
Next Topic: Installation Fail - Development Suits 10R1 on RHEL4
Goto Forum:
  


Current Time: Sat Dec 03 01:28:20 CST 2016

Total time taken to generate the page: 0.09453 seconds