My Oracle Support Banner

OHS12c: Unable To Start Remote OHS Component Using StartComponent.sh Script After Using Pack/Unpack (Doc ID 2249005.1)

Last updated on SEPTEMBER 28, 2018

Applies to:

Oracle HTTP Server - Version 12.1.3.0.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

On : Versions 12.1.3.0.0 to 12.2.1.x.x, Oracle HTTP Server

Unable to start remote OHS instances using the startComponent.sh script.


The following errors can be seen

[oracle@server2 bin]$ ./startComponent.sh ohs2 storeUserConfig showErrorStack
Starting system Component ohs2 ...
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from /infra/oracle/product/mw_home/user_projects/domains/WT1Domain
Error: readDomain() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/tmp/startComponent.py", line 1, in ?
File "", line 262, in startComponentInternal
File "", line 318, in readDomainOffline
File "", line 552, in raiseWLSTException
WLSTException: com.oracle.cie.domain.script.ScriptException: The domain directory must exist and contain config/config.xml

 

Reading domain from /u01/local/config/domains/soa_domain
Mar 21, 2016 4:24:01 AM com.oracle.cie.domain.script.jython.CommandExceptionHandler handleException
SEVERE: Error: runCmd() failed.
com.oracle.cie.domain.script.jython.WLSTException: Error reading domain:
60820: Unsupported Domain
60820: This domain is a managed domain. It has been scaled out from the original domain.
60820: Select a domain which is a compatible with this environment.
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2360)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.j

Further readDomain is failing with error in node 2

readDomain('/u01/local/config/domains/soa_domain')
Mar 21, 2016 7:47:44 AM com.oracle.cie.domain.script.jython.CommandExceptionHandler handleException
SEVERE: Error: runCmd() failed.
com.oracle.cie.domain.script.jython.WLSTException: Error reading domain:
60820: Unsupported Domain
60820: This domain is a managed domain. It has been scaled out from the original domain.
60820: Select a domain which is a compatible with this environment.
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)

 

It is found that previous to this, the pack command with managed=true was used

Section 4.4.1.3, "Task 2: Pack the Domain on host1."
https://docs.oracle.com/middleware/1213/webtier/administer-ohs/getstart.htm#HSADM1230

The issue can be reproduced at will with the following steps:

1. On a subsequent node where a domain has been extended using pack/unpack, attempt to start the OHS component using the following command:

./startComponent.sh ohs2 storeUserConfig showErrorStack

2. The mentioned errors can then be seen.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.