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 29, 2023
Applies to:
Oracle HTTP Server - Version 12.2.1.0.0 and laterInformation 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
...
<PERMISSIONS> 1 <USER> <GROUP> 3303 <DATE/TIME> ssl.conf
<PERMISSIONS> 1 <USER> <GROUP> 6801 <DATE/TIME> ohs.plugins.nodemanager.properties
<PERMISSIONS> 1 <USER> <GROUP> 566 <DATE/TIME> mod_wl_ohs.conf
<PERMISSIONS> 1 <USER> <GROUP> 53011 <DATE/TIME> mime.types
<PERMISSIONS> 1 <USER> <GROUP> 13077 <DATE/TIME> magic
<PERMISSIONS> 1 <USER> <GROUP> 40528 <DATE/TIME> httpd.conf
<PERMISSIONS> 1 <USER> <GROUP> 1083 <DATE/TIME> component-logs.xml
<PERMISSIONS> 1 <USER> <GROUP> 2482 <DATE/TIME> component_events.xml
<PERMISSIONS> 1 <USER> <GROUP> 392 <DATE/TIME> auditconfig.xml
<PERMISSIONS> 1 <USER> <GROUP> 906 <DATE/TIME> 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
...
<PERMISSIONS> 1 <USER> <GROUP> 3293 <DATE/TIME> ssl.conf
<PERMISSIONS> 1 <USER> <GROUP> 6801 <DATE/TIME> ohs.plugins.nodemanager.properties
<PERMISSIONS> 1 <USER> <GROUP> 561 <DATE/TIME> mod_wl_ohs.conf
<PERMISSIONS> 1 <USER> <GROUP> 53011 <DATE/TIME> mime.types
<PERMISSIONS> 1 <USER> <GROUP> 13077 <DATE/TIME> magic
<PERMISSIONS> 1 <USER> <GROUP> 40518 <DATE/TIME> httpd.conf
<PERMISSIONS> 1 <USER> <GROUP> 1083 <DATE/TIME> component-logs.xml
<PERMISSIONS> 1 <USER> <GROUP> 2482 <DATE/TIME> component_events.xml
<PERMISSIONS> 1 <USER> <GROUP> 392 <DATE/TIME> auditconfig.xml
<PERMISSIONS> 1 <USER> <GROUP> 906 <DATE/TIME> 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 |