emctl start oms Failed With 'Failed to connect to repository database' and EMGC_OMS1.out File Reports 'Opening of wallet based credential store failed (Permission denied)' (Doc ID 2002413.1)

Last updated on APRIL 23, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

OMS failed to start with the following error:
$<OMS_HOME>/bin>./emctl start oms

Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server is not functioning because of the following reason:
Failed to connect to repository database. OMS will be automatically restarted once it identifies that database and listener are up.
Check EM Server log file for details: /u01/app/oracle/gc_inst1/user_projects/domains/GCDomain/servers/EMGC_OMS1/logs/EMGC_OMS1.out

 $EM_INSTANCE_BASE/gc_inst/user_projects/domain/GCDomain/server/EMGC_OMS1/logs/EMGC_OMS1.out file reports the following error:

<Warning> <oracle.jps.credstore> <JPS-01050> <Opening of wallet based credential store failed. Reason java.io.IOException: java.io.FileNotFoundException: /tmp/pki_data1183506452.lck.tmp (Permission denied)>
Exception caught while getting credentials oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06516: Failed to get credential store. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: java.io.FileNotFoundException: /tmp/pki_data1183506452.lck.tmp (Permission denied)
java.lang.IllegalArgumentException: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06516: Failed to get credential store. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: java.io.FileNotFoundException: /tmp/pki_data1183506452.lck.tmp (Permission denied)


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms