- 論壇徽章:
- 0
|
裝完oracle ,啟動(dòng)netca報(bào)錯(cuò),在線等待,謝謝了
上metalink查了一下,找到原因了,如下:
Problem Description ------------------- You are unable to launch either netca or netmgr on UNIX following an installation of Oracle 9.x. $cd $ORACLE_HOME $cd bin $./netmgr or $cd $ORACLE_HOME $cd bin $./netca Results in the following error: ---------------------------------------- Error loading native library: libnjni9.so. java.lang.UnsatisfiedLinkError: jniGetOracleHome at at oracle.net.common.NetGetEnv.getOracleHome(Compiled Code) at oracle.net.mgr.container.NetUtils.getImageDirectory(Compiled Code) at oracle.net.mgr.container.NetApplication.init(Compiled Code) at oracle.sysman.emSDK.client.appContainer.WebApplication.launch(Compiled Code) at oracle.sysman.emSDK.client.appContainer.WebApplication.main(Compiled Code) Solution Description -------------------- 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. For example with a C shell: setenv LD_LIBRARY_PATH =/app/oracle/product/9.0.1/lib32 LD_LIBRARY_PATH Now try executing the netca or netmgr executable again. |
|