[Spacewalk-list] question about monitoring

Michiel van Es michiele at info.nl
Thu Sep 18 08:08:49 UTC 2008


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:

[root at devmx01 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
> [root at devmx01 ~]# 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 <michiele at mobiel.info.nl> 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).
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20080918/f3a604d1/attachment.sig>


More information about the Spacewalk-list mailing list