You are not logged in.
Hello,
I have this problem, Oracle 10g server is installed
but when I try to create a database with dbca, this error happens
Oracle Server 10g 64bit and Arch Linux 64bit
I have also packages installed bin32 and lib32
[oracle@cyber-lnb ~]$ dbca
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
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)
[oracle@cyber-lnb ~]$ cat .bash_profile
. $HOME/.bashrc
export ORACLE_BASE=/home/oracle/oracle10g
export ORACLE_HOME=$ORACLE_BASE/orateste/1020
export ORACLE_SID=ORATESTE
export ORACLE_INVENTORY=/home/oracle/oracle10g/inventory
export ORACLE_BASE ORACLE_SID ORACLE_HOME
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export EDITOR=nano
export VISUAL=nano
[oracle@cyber-lnb ~]$
[oracle@cyber-lnb ~]$ locate -i libnj
/home/oracle/oracle10g/orateste/1020/lib/libnjni10.so
/home/oracle/oracle10g/orateste/1020/lib/libnjssl10.so
/home/oracle/oracle10g/orateste/1020/lib32/libnjni10.so
/home/oracle/oracle10g/orateste/1020/lib32/libnjssl10.so
how to fix this?
Offline
Try doing:
1. cd into $ORACLE_HOME/bin
2. type: ln -s $ORACLE_HOME/lib/libnjni10.dylib $ORACLE_HOME/lib/libnjni10 , then ENTER
3. type: ln -s $ORACLE_HOME/lib/libclntsh.dylib $ORACLE_HOME/lib/libclntsh.dylib.10.1
4. go into $ORACLE_HOME/bin and start ./netca
Offline
thanks ,
Same error, after create links
is a very common error, in other distributions, but each one has a way to fix, is usually a missing package, but do not know what
Offline
It is java trying to execute native code. Is your JVM 32 or 64 bit? If 64 try a 32 bits version and vice versa.
Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes
Offline