EM12c: emctl Start OMS Fails with "<ERR>java.io.IOException: Permission denied" Error in emctl.log

(Doc ID 1389637.1)

Last updated on MARCH 24, 2016

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.
Checked for relevance on 22-Jan-2014


Trying to start 12C oms fails with following error message:

./emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Starting WebTier...
WebTier Successfully Started
Starting Oracle Management Server...
Oracle Management Server Could Not Be Started
Oracle Management Server is Down
Please check /u01/app/oracle/product/12.1.0/middleware_1/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details

The <gc_inst>/em/EMGC_OMS1/sysman/log/emctl.log shows:-

2011-12-15 14:41:24,136 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Jython scans all the jar files it can find at first startup. Depending on the system, 
this process may take a few minutes to complete, and WLST may not return a prompt right away.
2011-12-15 14:41:24,136 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
2011-12-15 14:41:24,771 [Thread-2] INFO wls.OMSController run.1744 - <ERR>*sys-package-mgr*: can't create package cache dir, '/tmpWLSTTemporacle/packages' 2011-12-15 14:41:45,764 
[Thread-2] INFO wls.OMSController run.1744 - <ERR>java.io.IOException: Permission denied
2011-12-15 14:41:45,766 [Thread-2] INFO wls.OMSController run.1744 - <ERR> at java.io.UnixFileSystem.createFileExclusively(Native Method)
2011-12-15 14:41:45,767 [Thread-2] INFO wls.OMSController run.1744 - <ERR> at java.io.File.checkAndCreate(File.java:1704)
2011-12-15 14:41:45,767 [Thread-2] INFO wls.OMSController run.1744 - <ERR> at java.io.File.createTempFile(File.java:1792)
2011-12-15 14:41:45,768 [Thread-2] INFO wls.OMSController run.1744 - <ERR> at java.io.File.createTempFile(File.java:1828)
2011-12-15 14:41:45,778 [Thread-2] INFO wls.OMSController run.1744 - <ERR>Problem invoking WLST - java.lang.NullPointerException
2011-12-15 14:41:45,792 [main] INFO wls.OMSController processCmd.1392 - wlst process is finished
2011-12-15 14:41:45,822 [main] DEBUG oms.StatusOMSCmd processStatusOMS.166 - Webtier HTTPS port in emgc property file: 7799
2011-12-15 14:41:45,822 [main] DEBUG oms.StatusOMSCmd processStatusOMS.185 - Using https port.
2011-12-15 14:41:45,823 [main] DEBUG oms.StatusOMSCmd processStatusOMS.202 - Using webtier https port.
2011-12-15 14:41:46,465 [main] DEBUG oms.StatusOMSCmd pingOMSCheck.332 - Attempting to connect to https://omsmachine.domain:7301/em/faces/logon/core-uifwk-console-login
2011-12-15 14:41:46,531 [main] INFO oms.StatusOMSCmd processStatusOMS.293 - Failed to connect to em login page
2011-12-15 14:41:46,532 [main] INFO oms.StatusOMSCmd processStatusOMS.294 - Connection refused
2011-12-15 14:41:46,532 [main] INFO oms.StatusOMSCmd processStatusOMS.295 - Connection exception when trying to hit OMS page. OMS is down
2011-12-15 14:41:46,532 [main] INFO wls.OMSController statusOMS.1354 - statusOMS finished with result: 8



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