Unable to start OC4J:oacore service in R12

Issue

$ adapcctl.sh status
You are running adapcctl.sh version 120.7.12010000.2
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
Processes in Instance: TEST_test09.test09.hyd.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |   22768 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |   21413 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |   21412 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |   21411 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |     N/A | Down   
HTTP_Server                      | HTTP_Server        |   21348 | Alive  
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/mtlog/TEST_test09/logs/appl/admin/log/adapcctl.txt for more information ... 

$ adapcctl.sh stopall
You are running adapcctl.sh version 120.7.12010000.2
opmnctl: stopping opmn and all managed processes...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/mtlog/TEST_test09/logs/appl/admin/log/adapcctl.txt for more information ... 

$ adapcctl.sh startall
You are running adapcctl.sh version 120.7.12010000.2
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=auohsmhpt09:10025
    5 of 6 processes started.
ias-instance id=TEST_test09.test09.hyd.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
    default_group/oacore/default_group/
Error
--> Process (index=4,uid=219444867,pid=0)
    no port available from the port range
    failed to start a managed process after the maximum retry limit
    no port available from the port range
    no port available from the port range
    Log:
    none
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/mtlog/TEST_test09/logs/appl/admin/log/adapcctl.txt for more information ... 
$

Solution

==>Stopped apache using adapcctl.sh stopall
==>Stopped Discoverer services

$ opmnctl stopall
opmnctl: stopping opmn and all managed processes...
================================================================================
opmn id=test09:10021
    6 of 7 processes stopped.
ias-instance id=test_disco.test09.hyd.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
    OC4J/OC4J_BI_Forms/default_island

Error
--> Process (pid=20623)
    time out while waiting for a managed process to stop
    Log:
    /test/disco/product/disco_1012/opmn/logs/OC4J~OC4J_BI_Forms~default_island~1
opmnctl: graceful stop of processes failed, trying forceful shutdown...
$

==> Started apache

$ adapcctl.sh startall
You are running adapcctl.sh version 120.7.12010000.2
opmnctl: starting opmn and all managed processes...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/mtlog/TEST_test09/logs/appl/admin/log/adapcctl.txt for more information ... 

$ adapcctl.sh status
You are running adapcctl.sh version 120.7.12010000.2
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
Processes in Instance: TEST_test09.test09.hyd.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |    3386 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    3385 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    3380 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    3379 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    3378 | Alive  
HTTP_Server                      | HTTP_Server        |    3377 | Alive  

adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/mtlog/TEST_test09/logs/appl/admin/log/adapcctl.txt for more information ... 
$

==>Issue resolved
==>Started Discoverer services

No comments:

SHRD0014: GLLEZL - process exiting with failure

  SYMPTOMS Journal Import completes with the following error: Error ------ ORA-01653 : unable to extend table GL.GL_IMPORT_REFERENCES ORA-01...