EM 12c, 13c: emctl start oms Fails and emctl.log File Reports java.io.IOException: Permission denied can't create package cache dir

(Doc ID 2353724.1)

Last updated on JANUARY 29, 2018

Applies to:

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

Symptoms

emctl start oms Fails.

$EM_INSTANCE_BASE/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log reports following errors:

2018-01-25 12:25:16,416 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR>*sys-package-mgr*: can't create package cache dir, '/var/tmp/WLSTTemporacle/packages'
2018-01-25 12:25:37,389 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR>java.io.IOException: Permission denied
2018-01-25 12:25:37,390 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR> at java.io.UnixFileSystem.createFileExclusively(Native Method)
2018-01-25 12:25:37,390 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR> at java.io.File.checkAndCreate(File.java:1705)
2018-01-25 12:25:37,390 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR> at java.io.File.createTempFile0(File.java:1726)
2018-01-25 12:25:37,391 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR> at java.io.File.createTempFile(File.java:1838)
2018-01-25 12:25:37,391 [Thread-2] DEBUG commands.BaseCommand run.577 - <ERR> at com.oracle.cie.domain.script.jython.WLST_offline.getWLSTOfflineInitFilePath(WLST_offline.java:239)

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