Wednesday, July 28, 2010

Can not start dbca and sqlplus after 10gR2 installation on Z/Linux

After installed Oracle 10g and patched it to I'm trying to create a database and getting the following errors:

[oracle@zLinux70 ~]$ dbcaWarning: JIT compiler "jitc" not found. Will use interpreter.UnsatisfiedLinkError exception loading native library: njni10Exception in thread "main" java.lang.UnsatisfiedLinkError: get at Source) at Source) at Source) 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.ui.UIHost.( at oracle.sysman.assistants.dbca.ui.InteractiveHost.( at oracle.sysman.assistants.dbca.Dbca.getHost( at oracle.sysman.assistants.dbca.Dbca.execute( at oracle.sysman.assistants.dbca.Dbca.main(

Then I tried sqlplus and also it's not working.
[oracle@zLinux70 ~]$ sqlplus /nologsqlplus: error while loading shared libraries: /u01/app/oracle/oracle/product/10.2.0/db_1/lib/ cannot restore segment prot after reloc: Permission denied

By searching on Oracle support, I found the document
DBCA fails: UnsatisfiedLinkError exception loading native library: njni10 in z/Linux [ID 875013.1]. It says to disable SELinux.

Modify /etc/selinux/config file to set SELINUX=disabled as follows:


The Linux admin had to bounce the server after the change.

[oracle@zLinux70 ~]$ /usr/sbin/sestatusSELinux status: disabled
[oracle@zLinux70 ~]$ /usr/sbin/getenforceDisabled

The issue is resolved after the bounce.

No comments: