Home » Infrastructure » Linux » DBCA Command Fails With Library Error (Oracle 9i R2 9.2.0.7 64-Bit on RHEL 4 x86-64 (AMD64/EM64T))
DBCA Command Fails With Library Error [message #316947] Mon, 28 April 2008 22:59
setisfai
Messages: 4
Registered: April 2008
Location: KL, Malaysia
Junior Member
Hi,

I am trying to install Oracle 9iR2 (9.2.0.4) 64-Bit Patchset 6 (9.2.0.7) on RHEL 4 x86-64 (AMD64/EM64T) box.
Installation of software only for both 9.2.0.4 and 9.2.0.7 was successful as I
had follow exectly as the notes as below:

Note:353529.1 : Requirements for Installing Oracle 9iR2 64-bit on RHEL 4 x86-64 (AMD64/EM64T)

Oracle9i Patch Set Notes Release 2 (9.2.0.7) Patch Set 6 for Linux x86-64 README

However when I want to create a database on 9.2.0.7, dbca command fails with errors as below
:

[oracle@ora9i64 bin]$ dbca
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(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:1853)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddress(Ne
tworkUtils.java:737)
at oracle.sysman.assistants.util.NetworkUtils.getLocalListenerAddresses(
NetworkUtils.java:774)
at oracle.sysman.assistants.util.NetworkUtils.needLocalListener(NetworkU
tils.java:712)
at oracle.sysman.assistants.util.step.StepContext.setListenersToUpdate(S
tepContext.java:486)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.jav a: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>(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)
[oracle@ora9i64 bin]$

Here is the content of oracle user .bash_profile file:

export ORACLE_HOME=/u01/app/oracle/product/9.2.0.4/db_1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=icbaprod
export LD_ASSUME_KERNEL=2.4.19
export LDEMULATION=elf_i386
export LD_LIBRARY_PATH =$ORACLE_HOME/lib32:$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin

unset USERNAME



Any advise or help are highly appreciated...

Thank you,
Faisal
Previous Topic: Problem While installing Oracle 10g on Fedora core 8
Next Topic: Error starting Listener after applying Startup script
Goto Forum:
  


Current Time: Fri Mar 29 01:17:00 CDT 2024