My Oracle Support Banner

Oracle HTTP Server 12.2.1.x Configuration Files are Overwritten or Restored to Default after using Config.sh to Update Domain (Doc ID 2371240.1)

Last updated on AUGUST 18, 2020

Applies to:

Oracle HTTP Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

It is found that OHS configuration files are being updated through Configuration Wizard's Update Domain functionality when adding an additional OHS instance or making any change to Domain configuration.

1) Configuration Files before Domain Update:

DOMAIN_HOME/config/fmwconfig/components/OHS/instances/component_name
ls -ltr
total 172
...
-rw-r----- 1 user group 3303 Mar 2 16:25 ssl.conf
-rw-r----- 1 user group 6801 Mar 1 17:49 ohs.plugins.nodemanager.properties
-rw-r----- 1 user group 566 Mar 2 16:25 mod_wl_ohs.conf
-rw-r----- 1 user group 53011 Mar 1 17:49 mime.types
-rw-r----- 1 user group 13077 Mar 1 17:49 magic
-rw-r----- 1 user group 40528 Mar 2 16:25 httpd.conf
-rw-r----- 1 user group 1083 Mar 1 17:49 component-logs.xml
-rw-r----- 1 user group 2482 Mar 1 17:49 component_events.xml
-rw-r----- 1 user group 392 Mar 1 17:49 auditconfig.xml
-rw-r----- 1 user group 906 Mar 1 17:49 admin.conf

 

2) Ran config.sh and update domain configuration adding an OHS instance.

3) Configuration Files after Domain Update:

DOMAIN_HOME/config/fmwconfig/components/OHS/instances/component_name
ls -ltr
total 216
...
-rw-r----- 1 user group 3293 Mar 1 17:49 ssl.conf
-rw-r----- 1 user group 6801 Mar 1 17:49 ohs.plugins.nodemanager.properties
-rw-r----- 1 user group 561 Mar 1 17:49 mod_wl_ohs.conf
-rw-r----- 1 user group 53011 Mar 1 17:49 mime.types
-rw-r----- 1 user group 13077 Mar 1 17:49 magic
-rw-r----- 1 user group 40518 Mar 1 17:49 httpd.conf
-rw-r----- 1 user group 1083 Mar 1 17:49 component-logs.xml
-rw-r----- 1 user group 2482 Mar 1 17:49 component_events.xml
-rw-r----- 1 user group 392 Mar 1 17:49 auditconfig.xml
-rw-r----- 1 user group 906 Mar 1 17:49 admin.conf



Notice the dates and sizes of some modified files have changed.




Changes

 

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
Changes
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.