Hi, Does anyone know from RH how I can change the DSN? I want to use the spacewalk monitoring feature but I get an oracle error ( I think the default is that the monitoring is doing a oracle call to localhost and I placed the oracle server on an other server)
Thanks for any help where I can find the oracle dsn.. Kind regards, Michiel Michiel van Es said the following on 9/18/2008 10:08 AM: > Hi, > > I managed to install the SatConfig-general package through the rpm's > found on : http://spacewalk.redhat.com/yum/0.2/rhel/5Server/i386/ (the > 0.1 repo is missing the perl(Net*) packages...) > I got an error now that the TNS listener isn't working after restarting > the Monitoring, but I think that is because I host the Oracle DB > somewhere else then on the Spacewalk machine. > Does anyone know where I can set the host instead of the localhost? (the > webinterface monitoring configuration page does not show me a host field..) > > The error: > > [EMAIL PROTECTED] np.d]# /etc/init.d/Monitoring start > 2008-09-18 10:04:05 Monitoring: Debug level = 0 > 2008-09-18 10:04:05 Monitoring: Switches: start > 2008-09-18 10:04:05 Monitoring: STARTING... > 2008-09-18 10:04:05 InstallSoftwareConfig: STARTING... > 2008-09-18 10:04:05 InstallSoftwareConfig: Grabbing local config info > 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 59 > 2008-09-18 10:04:05 InstallSoftwareConfig: !! ERROR: connect > failed: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) > > 2008-09-18 10:04:05 InstallSoftwareConfig: START HAD ERRORS > 2008-09-18 10:04:05 InstallSoftwareConfig: ============ STATUS > =============== > 2008-09-18 10:04:05 InstallSoftwareConfig: Last action: start > 2008-09-18 10:04:05 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* > RUNNING > 2008-09-18 10:04:05 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING > LAST ACTION: > 2008-09-18 10:04:05 InstallSoftwareConfig: !! ERROR: connect > failed: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) > > 2008-09-18 10:04:05 InstallSoftwareConfig: > =================================== > 2008-09-18 10:04:05 Monitoring: !! Monitoring configuration load > failed > 2008-09-18 10:04:05 Monitoring: !! Monitoring configuration not > loaded - not starting MOC functions! > 2008-09-18 10:04:05 Monitoring: START HAD ERRORS > 2008-09-18 10:04:05 Monitoring: ============ STATUS =============== > 2008-09-18 10:04:05 Monitoring: ++++ Monitoring backend functionality > is enabled > 2008-09-18 10:04:05 Monitoring: ++++ Monitoring scout functionality > is enabled > 2008-09-18 10:04:05 Monitoring: Last action: start > 2008-09-18 10:04:05 Monitoring: ** Installed for SysV startup ** > 2008-09-18 10:04:05 Monitoring: WARNING: STARTED BUT *NOT* RUNNING > 2008-09-18 10:04:05 Monitoring: ERRORS ENCOUNTERED DURING LAST ACTION: > 2008-09-18 10:04:05 Monitoring: !! Monitoring configuration load > failed > 2008-09-18 10:04:05 Monitoring: !! Monitoring configuration not > loaded - not starting MOC functions! > 2008-09-18 10:04:05 Monitoring: =================================== > > > Kind regards, > > Michiel > > > > On 9/15/2008 10:53 AM, Michiel van Es wrote: >> Hi Jon, >> >> The only rpm I am missing now (the others are installed through >> rpmforge) is: >> >> Error: Missing Dependency: perl(Network::IPv4Addr) is needed by package >> SatConfig-general >> [EMAIL PROTECTED] ~]# rpm -qa | grep perl(Network::IPv4Addr) >> >> Do you know where I can find that rpm for CentOS 5 i386? >> >> Kind regards, >> >> Michiel >> >> >> >> On 9/15/2008 3:43 AM, Jon Stanley wrote: >>> On Sun, Sep 14, 2008 at 8:06 AM, Michiel Van Es <[EMAIL PROTECTED]> wrote: >>> >>>> Is already possible to install the SatConfig-general package? >>>> I still got the dependency errors..also after installing the perl >>>> packages through CPAN.. >>> Installing the perl packages via CPAN has no effect on what the RPM >>> database believes is installed - therefore, you'll still have problems >>> installing an rpm that requires them. >>> >>> A quick fix if you're familiar with RPM packaging is adding an ugly >>> little hackish package that simply Provides those modules: >>> >>> Provides: perl(Foo::Bar), perl(Bar::Baz) >>> >>> etc. I've used this to satisfy deps actually provided by the broken >>> oracle-instantclient RPM in the recent past (for something >>> non-Spacewalk related). >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
