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 MARCH 09, 2018

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:

ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1
-bash-4.1$ ls -ltr
total 172
...
-rw-r----- 1 oracle oracle 3303 Mar 2 16:25 ssl.conf
-rw-r----- 1 oracle oracle 6801 Mar 1 17:49 ohs.plugins.nodemanager.properties
-rw-r----- 1 oracle oracle 566 Mar 2 16:25 mod_wl_ohs.conf
-rw-r----- 1 oracle oracle 53011 Mar 1 17:49 mime.types
-rw-r----- 1 oracle oracle 13077 Mar 1 17:49 magic
-rw-r----- 1 oracle oracle 40528 Mar 2 16:25 httpd.conf
-rw-r----- 1 oracle oracle 1083 Mar 1 17:49 component-logs.xml
-rw-r----- 1 oracle oracle 2482 Mar 1 17:49 component_events.xml
-rw-r----- 1 oracle oracle 392 Mar 1 17:49 auditconfig.xml
-rw-r----- 1 oracle oracle 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:

ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1
-bash-4.1$ ls -ltr
total 216
...
-rw-r----- 1 oracle oracle 3293 Mar 1 17:49 ssl.conf
-rw-r----- 1 oracle oracle 6801 Mar 1 17:49 ohs.plugins.nodemanager.properties
-rw-r----- 1 oracle oracle 561 Mar 1 17:49 mod_wl_ohs.conf
-rw-r----- 1 oracle oracle 53011 Mar 1 17:49 mime.types
-rw-r----- 1 oracle oracle 13077 Mar 1 17:49 magic
-rw-r----- 1 oracle oracle 40518 Mar 1 17:49 httpd.conf
-rw-r----- 1 oracle oracle 1083 Mar 1 17:49 component-logs.xml
-rw-r----- 1 oracle oracle 2482 Mar 1 17:49 component_events.xml
-rw-r----- 1 oracle oracle 392 Mar 1 17:49 auditconfig.xml
-rw-r----- 1 oracle oracle 906 Mar 1 17:49 admin.conf



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




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