Red Hat Bugzilla – Bug 461517
MonitoringConfig swaps password and db name
Last modified: 2009-09-17 03:01:15 EDT
Once you get the Monitoring RPMs installed and try to configure monitoring you will notice on:
that the DB name shows up in the password field. Saving this page doesn't seem to actually correct the problem and you get startup problems with Monitoring:
DBI connect('spacewalk','spacewalk',...) failed: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) at /usr/lib/perl5/site_perl/5.8.8/NOCpulse/NOCpulseini.pm line 60
2008-09-08 15:18:37 InstallSoftwareConfig: !! ERROR: connect failed: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
Debug I added:
DBD: Oracle dbname: spacewalk username: spacewalk password: XE
Even after hard coding spacewalk/spacewalk@xe into the Perl code you then get:
2008-09-08 14:57:31 InstallSoftwareConfig: START HAD ERRORS
2008-09-08 14:57:31 InstallSoftwareConfig: ============ STATUS ===============
2008-09-08 14:57:31 InstallSoftwareConfig: Last action: start
2008-09-08 14:57:31 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* RUNNING
2008-09-08 14:57:31 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING LAST ACTION:
2008-09-08 14:57:31 InstallSoftwareConfig: !! Reference to nonexistent macro 'NPVAR'
*** Bug 469347 has been marked as a duplicate of this bug. ***
Commited as 8655225da933934bff8cec5d8448d0bb09803fdb
and to master as f5911db27d211347454a058fe41022e1147e7f14
Funny thing is that this bug has been there for 2 years without notice.
Spacewalk has been released for some time.