Can not start ora.oc4j resource in 11.2.0.4 GI as grid user name contains character "underscore" ("_") (Doc ID 1908774.1)

Last updated on OCTOBER 25, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

Fresh install of Grid Infrastructure 11.2.0.4 or upgrades from older release to 11.2.0.4, root script (root.sh or rootupgrade.sh) fails to start OC4J resource:

2014-05-14 15:41:17: J2EE (OC4J) Container Resource enable ... passed
2014-05-14 15:41:17: Running as user ora_grid: /u01/app/11.2.0/grid/bin/srvctl start oc4j
2014-05-14 15:41:17: s_run_as_user2: Running /bin/su ora_grid -c ' /u01/app/11.2.0/grid/bin/srvctl start oc4j '

2014-05-14 15:46:19: Error encountered in the command /u01/app/11.2.0/grid/bin/srvctl start oc4j
>  OC4J could not be started
>  PRCR-1079 : Failed to start resource ora.oc4j
>  CRS-2674: Start of 'ora.oc4j' on 'db2-10g' failed
>  CRS-2632: There are no more servers to try to place resource 'ora.oc4j' on that would satisfy its placement policy
>  End Command output
2014-05-14 15:46:19: J2EE (OC4J) Container Resource Start ... failed ...

 


$GRID_HOME/log/<node>/agent/crsd/scriptagent_<grid-user>/scriptagent_<grid-user>.log

2014-05-15 15:25:41.821: [    AGFW][1878091552] Starting the agent: /u01/app/11.2.0/grid/log/db2-10g/agent/crsd/scriptagent_ora_grid/


2014-05-15 15:25:41.850: [    AGFW][1856878336]{1:5231:7362} Agent received the message: RESOURCE_START[ora.oc4j 1 1] ID 4098:40371
2014-05-15 15:25:41.850: [    AGFW][1856878336]{1:5231:7362} Preparing START command for: ora.oc4j 1 1
2014-05-15 15:25:41.850: [    AGFW][1856878336]{1:5231:7362} ora.oc4j 1 1 state changed from: UNKNOWN to: STARTING
2014-05-15 15:25:41.851: [ora.oc4j][1858979584]{1:5231:7362} [start] Executing action script: /u01/app/11.2.0/grid/bin/oc4jctl[start]
2014-05-15 15:25:42.153: [ora.oc4j][1858979584]{1:5231:7362} [start] Start OC4J
2014-05-15 15:26:41.512: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40399
2014-05-15 15:27:41.514: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40421
2014-05-15 15:28:11.520: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40433
2014-05-15 15:28:41.524: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40445
2014-05-15 15:29:11.531: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40457
2014-05-15 15:30:11.538: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40477
2014-05-15 15:30:41.539: [    AGFW][1856878336]{1:5231:7362} Agent received the message: AGENT_HB[Engine] ID 12293:40491
2014-05-15 15:30:41.901: [   AGENT][1861080832]{1:5231:7362} {1:5231:7362} Created alert : (:CRSAGF00113:) :  Aborting the command: start for resource: ora.oc4j 1 1
2014-05-15 15:30:41.901: [ora.oc4j][1861080832]{1:5231:7362} [start] Killing action script: start
2014-05-15 15:30:41.901: [    AGFW][1861080832]{1:5231:7362} Command: start for resource: ora.oc4j 1 1 completed with status: TIMEDOUT
2014-05-15 15:30:41.902: [    AGFW][1856878336]{1:5231:7362} Agent sending reply for: RESOURCE_START[ora.oc4j 1 1] ID 4098:40371
2014-05-15 15:30:41.918: [ora.oc4j][1858979584]{1:5231:7362} [check] Executing action script: /u01/app/11.2.0/grid/bin/oc4jctl[check]
2014-05-15 15:30:42.020: [ora.oc4j][1858979584]{1:5231:7362} [check] Check OC4J
2014-05-15 15:30:42.171: [ora.oc4j][1858979584]{1:5231:7362} [check] Return code is 1
2014-05-15 15:30:42.173: [    AGFW][1856878336]{1:5231:7362} ora.oc4j 1 1 state changed from: STARTING to: OFFLINE
2014-05-15 15:30:42.173: [    AGFW][1856878336]{1:5231:7362} Agent sending last reply for: RESOURCE_START[ora.oc4j 1 1] ID 4098:40371
2014-05-15 15:30:42.174: [    AGFW][1856878336]{1:5231:7362} Agent has no resources to be monitored, Shutting down ..
2014-05-15 15:30:42.174: [    AGFW][1856878336]{1:5231:7362} Agent sending message to PE: AGENT_SHUTDOWN_REQUEST[Proxy] ID 20486:32
2014-05-15 15:30:42.182: [    AGFW][1856878336]{1:5231:7362} Agent is shutting down.
2014-05-15 15:30:42.182: [ USRTHRD][1856878336]{1:5231:7362} Script agent is exiting..

 

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