$ dbca
UnsatisfiedLinkError exception loading native library: njni12
java.lang.UnsatisfiedLinkError: njni12 (rtld: 0712-001 Symbol CreateIoCompletionPort was referenced
from module /database/db/product/11.2.0/db/lib/libnjni12.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol GetMultipleCompletionStatus was referenced
from module /database/db/product/11.2.0/db/lib/libnjni12.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.)
Exception in thread "main" java.lang.UnsatisfiedLinkError: oracle/net/common/NetGetEnv.get(Ljava/lang/String;)Ljava/lang/String;
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.
at oracle.sysman.assistants.util.NetworkUtils.
at oracle.sysman.assistants.util.step.StepContext.
at oracle.sysman.assistants.dbca.backend.Host.
at oracle.sysman.assistants.dbca.backend.Host.
at oracle.sysman.assistants.dbca.wizard.UIHost.
at oracle.sysman.assistants.dbca.wizard.InteractiveHost.getInstance(InteractiveHost.java:78)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:208)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:121)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:226)
The solution, as described in Doc ID 1949184.1 is actually a very simple one, all you need to do is enable to IOCP (I/O Completion Ports). The steps to do that are:
1.
Log in as root and run the following command:
# smitty iocp
Select Change / Show Characteristics of I/O Completion Ports.
2.
Change configured state at system restart from Defined to Available.
Restart the machine
3.
Run the lsdev command to confirm the IOCP status is set to Available:
$ lsdev | grep iocp
iocp0 Available I/O Completion Ports
4.
Relink Oracle Home. In order to do that, connect with the Oracle software owner user and then:
Set the ORACLE_HOME environment variableExecute $ORACLE_HOME/bin/relink all5.
That\'s it ! Now the \"dbca\" and \"dbua\" runs successfuly
收起