oracle 10g(10.2.0.2) and Linux Redhat AS5
411278Aug 17 2007 — edited Nov 26 2010hello,
i was installing an oracle 10g with patch 10.2.0.2, software installation seems to be succesfull, but when I then starts the dbca on the server, i get:
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:2
23)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.jav
a:256)
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>(InteractiveHo
st.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)
server is an Enterprise Linux Enterprise Linux Server release 5 (Carthage)
64-bit
filled in following in .bash_profile:
ORACLE_BASE=/usr1/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2/dbcip_1;export ORACLE_HOME
ORACLE_SID=PROD;export ORACLE_SID
DISPLAY=my_ip:0.0;export DISPLAY
PATH=$PATH:.:$HOME/product/10.2/dbcip_1/bin:/usr/bin:/bin:/usr/bin/X11:/usr/loca
export PATH
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS33
TNS_ADMIN=$ORACLE_HOME/network/admin;export TNS_ADMIN
NLS_LANG=american_america.WE8MSWIN1252;export NLS_LANG
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
# LD_ASSUME_KERNEL=2.4.19;export LD_ASSUME_KERNEL
I had to set the ld_assume_kernel in comment, otherwhise it gives errors on all I do, is this normal?
starting netca gives this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr1/oracle/product/
10.2/dbcip_1/jdk/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object f
ile: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
can anyone help me with this?
thanks!