dbca报错没有libclntsh.so.11.1

$ dbca
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /opt/app/oracle/product/11.2.0/dbhome_1/lib/libnjni11.so: /opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: undefined symbol: nnfyboot
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.(Unknown Source)
        at oracle.sysman.assistants.util.NetworkUtils.(NetworkUtils.java:269)
        at oracle.sysman.assistants.util.step.StepContext.(StepContext.java:317)
        at oracle.sysman.assistants.dbca.backend.Host.(Host.java:778)
        at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:257)
        at oracle.sysman.assistants.dbca.ui.InteractiveHost.(InteractiveHost.java:54)
        at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
        at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
        at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)

 

==================================================

方法:

$ cd /opt/app/oracle/product/11.2.0/dbhome_1/inventory/Scripts/ext/lib/

$ cp libclntsh.so.11.1  /opt/app/oracle/product/11.2.0/dbhome_1/lib/

$ dbca

启动正常!

 

你可能感兴趣的:(oracle,故障处理)