Red Hat Bugzilla – Bug 1001997
MonitoringScout EXECUTION FAILED: Can't open config file '/usr/share/rhn/config-defaults/rhn_web.conf'
Last modified: 2013-10-01 15:40:05 EDT
Description of problem:
MonitoringScout execution failed due to missing config file '/usr/share/rhn/config-defaults/rhn_web.conf'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install proxy against parent that has monitoring activated
2. During proxy installation enable MonitoringScout (proceed using defaults)
3. At the end of installation, upon rhn-proxy restart tuple error message displayed
Enabling Spacewalk Proxy.
Shutting down rhn-proxy...
2013-08-28 05:16:36 !!!!!!!!!! STEP MonitoringScout EXECUTION FAILED: Can't open config file '/usr/share/rhn/config-defaults/rhn_web.conf': No such file or directory at /usr/share/perl5/vendor_perl/PXT/Config.pm line 71.
Terminating jabberd processes ...
Stopping s2s: [FAILED]
Stopping c2s: [FAILED]
Stopping sm: [FAILED]
Stopping router: [FAILED]
Stopping httpd: [FAILED]
Stopping squid: [FAILED]
init_cache_dir /var/spool/squid... Starting squid: . [ OK ]
Starting httpd: [ OK ]
Initializing jabberd processes ...
Starting router: [ OK ]
Starting sm: [ OK ]
Starting c2s: [ OK ]
Starting s2s: [ OK ]
Starting MonitoringScout ...
2013-08-28 05:16:45 !!!!!!!!!! STEP MonitoringScout EXECUTION FAILED: Can't open config file '/usr/share/rhn/config-defaults/rhn_web.conf': No such file or directory at /usr/share/perl5/vendor_perl/PXT/Config.pm line 71.
4. Afterwards error message is printed during rhn-proxy start | stop | restart | status
MonitoringScout execution fails
MonitoringScout execution succeeds
/usr/share/rhn/config-defaults/rhn_web.conf is provided by spacewalk-base-minimal-config. So it can be easily workarounded by yum install spacewalk-base-minimal-config.
Some package should require spacewalk-base-minimal-config to be installed in order to avoid this execution fail.
adding missing Require ...
Hmm, it looks we do not want spacewalk-base-minimal to require spacewalk-base-minimal-config due to managed-db
Adding the Require to spacewalk-proxy-management ...
Red Hat Satellite Proxy 5.6 has been released. This bug tracked under Proxy.
This bug either was VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.