Issue
Error while running ADOP cutover phase while applying pre-upgrade AD and TXK Patches (for upgrading from R12.2.0 to 12.2.4)
Error Details
A. This error is thrown on the Console itself:
Executing service control script:
/u01/oracle/VIS/fs2/inst/apps/VIS_ebs/admin/scripts/adapcctl.sh start
Timeout specified in context file: 100 second(s)
script returned:
****************************************************
You are running adapcctl.sh version 120.0.12020000.6
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 204
adapcctl.sh: check the logfile /u01/oracle/VIS/fs2/inst/apps/VIS_ebs/logs/appl/admin/log/adapcctl.txt for more information ...
.end std out.
.end err out.
B. Then I tried by starting the Apps Tier manually by running $ADMIN_SCRIPTS_HOME/adstrtal.sh. Again the same error was thrown.
Further Investigation
A. On further investigation I found the exact error under it log files:
Log File Name = /u01/oracle/VIS/fs2/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/diagnostics/logs/OHS/EBS_web_VIS/console~OHS~1.log
--------
15/01/04 04:23:29 Start process
--------
/u01/oracle/VIS/fs2/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
httpd.worker: Syntax error on line 1039 of /u01/oracle/VIS/fs2/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/httpd.conf: Syntax error on line 115 of /u01/oracle/VIS/fs2/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/ssl.conf: Could not open configuration file /u01/oracle/VIS/fs2/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/oracle_apache_ssl.conf: No such file or directory
B. Checked the status of HTTP Server
[applvis@ebs scripts]$ ./adopmnctl.sh status
You are running adopmnctl.sh version 120.0.12020000.2
Checking status of OPMN managed processes...
Processes in Instance: EBS_web_VIS_OHS1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
EBS_web_VIS | OHS | N/A | Down
adopmnctl.sh: exiting with status 0
adopmnctl.sh: check the logfile /u01/oracle/VIS/fs2/inst/apps/VIS_ebs/logs/appl/admin/log/adopmnctl.txt for more information ...
Resolution
1. As shown in the log file there's a syntax error and it couldn't open configuration file oracle_apache_ssl.conf. So to resolve this error simply comment out the command which is looking for oracle_apache_ssl.conf file.
2. Go to /u01/oracle/VIS/fs2/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/ssl.conf, and then comment out line 115 (see the below screenshot).
3. Save and exit.
4. Restart patch application (or manually run adstrtal.sh to start application tier). And this time patch application will be successful without the HTTP error.
adop phase=cutover restart=yes
VIS environment has changed.
All users must re-source the environment using below command:
source /u01/oracle/VIS/EBSapps.env run|patch
[END 2015/01/04 04:39:25] adzdoptl.pl run
adop phase=cutover - Completed Successfully
Log file: /u01/oracle/VIS/fs_ne/EBSapps/log/adop/3/adop_20150104_043820.log
adop exiting with status = 0 (Success)