[Spacewalk-list] Cron error after 1.2 -> 1.3 update

Cliff Perry cperry at redhat.com
Fri Feb 11 15:03:09 UTC 2011


Benedetto Vassallo wrote:
> Hi,
> I updated my spacewalk server from 1.2 to 1.3 and every 15 minutes I 
> recive this message.
> Did I missed some perl module?
> 
> Thank you
> 
> ===========================================
>     Date: Fri, 11 Feb 2011 13:15:01 +0100
>     From: Cron Daemon <root at spacewalk.unipa.it>
>  Subject: Cron <nocpulse at spacewalk>  if [ -e /etc/NOCpulse.ini ] ; then 
> /usr/bin/monitor-queue ALERTS 50 100 2>&1 > /dev/null; fi
>       A: nocpulse at spacewalk.unipa.it
> 
> Undefined subroutine &NOCpulse::Gritch::get_sendmail called at 
> /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm line 408.
> ============================================
> 
> 

Can you file a bug for this.

I encountered this myself last week in Satellite and planned to write a 
bug for Satellite (eventually - but my review was not wrapped up yet of 
a bigger issue). I made a comment with contents:


Minor bug (but fatal)

/usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm

Line 408 needs to be commented out:

         my $sendmail = get_sendmail();

Which stops failure of this code path and stops the cron emails every 15
minutes for notification failing with email:


-------- Original Message --------
Subject: Cron <nocpulse at rlx-1-18>  if [ -e /etc/NOCpulse.ini ] ; then
/usr/bin/monitor-queue ALERTS 50 100 2>&1 > /dev/null; fi
Date: Tue, 8 Feb 2011 09:30:02 -0500
From: root at rlx-1-18.rhndev.redhat.com (Cron Daemon)
To: nocpulse at redhat.com

Undefined subroutine &NOCpulse::Gritch::get_sendmail called at
/usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm line 408.

Now I get these emails from the 5.4.0 Satellite:

-------- Original Message --------
Subject: Possible Notification Meltdown!!!
Date: Tue, 8 Feb 2011 10:15:02 -0500
From: NOCpulse user <nocpulse at redhat.com>
To: cperry+rlx-1-18 at redhat.com

ALERTS queue size is 294 at Tue Feb  8 10:15:02 2011

<< Sent by /usr/bin/monitor-queue line 46 on host rlx-1-18.rhndev.redhat.com
(sat 1f81b9bc3ebd, "RHN Satellite Monitoring Scout").
    3 of these messages were filtered since Tue Feb  8 15:00:04 2011 GMT >>



Cliff.




More information about the Spacewalk-list mailing list