After Upgrading From 12.2.0 to 12.2.x Apache Does Not Start And Errors With Could not open configuration file


/u02/oracle/ERPPROD/fs1/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
Killedworker: Syntax error on line 1039 of /u02/oracle/ERPPROD/fs1/FMW_Home/webtier/instances/EBS_web_ERPPROD_OHS1/config/OHS/EBS_web_ERPPROD/httpd.conf: Syntax error on line 115 of /u02/oracle/EBS_web_ERPPROD_OHS1/config/OHS/EBS_web_ERPPROD/ssl.conf: Could not open configuration file
You have new mail in /var/spool/mail/applprod

[applprod@erpapp01 ~]$ ls -ltr
/u02/oracle/ERPPROD/fs1/FMW_Home/webtier/instances/EBS_web_ERPPROD_OHS1/OHS/EBS_web_ERPPROD/oracle_apache_ssl.conf: No such file or directory


In the runfilesystem xml file the value of variable s_ohs_installed is set to False.
This will stop the configuration file from getting generated.

Hence the file oracle_apache_ssl.conf was not created and the services are not starting.

[applprod@erpapp01 ~]$ grep -i s_ohs_installed $CONTEXT_FILE


Please perform following:

1. Take a backup of the run filesystem context file.

2. Edit the context file and change the parameter s_ohs_installed to generateEBSOHSConfigFiles.

[applprod@erpapp01 ~]$ grep -i s_ohs_installed $CONTEXT_FILE

3. Run autoconfig. This will generate the required files.

4. Start the Apache services.

5. Once the Apache services have been started, run fs_clone.

Back to Top