While attempting to create an Oracle database, the Database Creation Assistant (DBCA) hangs with the following error (or something similar):
UnsatisfiedLinkError exception loading native library: njni10 Exception in thread "main" java.lang.UnsatisfiedLinkError: get at oracle.net.config.Config.getNetDir(Unknown Source)
This can happen with NETCA and DBUA as well.
The first thing you should do is verify the platform and operating system you are trying to install on. Make sure you are not attempting to create a 32-bit database on a 64-bit box. For whatever reason, Linux 32-bit Oracle can be installed on a Linux 64-bit box, but when you go to create the database using DBCA, the missing library error pops up.
Also, these errors popup with AIX and HP-UX (and, hey, we don't support either of those!).
Make sure that all environment variables have been appropriately set including $ORACLE_HOME, $PATH, $LD_LIBRARY_PATH
If when looking at the selinux status it shows that it is enforced:
Modify /etc/selinux/config file to set SELINUX=disabled as follows:
cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled. # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
After that both commands show disabled and DBCA tool runs succesfully