Koozali.org: home of the SME Server

Problem with eneo-sysmon

Mark

Problem with eneo-sysmon
« on: July 05, 2002, 02:28:47 PM »
Hi,

I upgraded from 5.1.2 to the new shiny 5.5 SME server - and now i find that system monitor is no longer working...

When i ask for a status at the cli - i get the following error...

Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/sbin/sysmonconv line 3.
BEGIN failed--compilation aborted at /usr/sbin/sysmonconv line 3.
error: execution of %post scriptlet from eneo-sysmon-3.0-15 failed, exit status 2


Anyone point me in the right direction? I have tried re-installing, but to no avail..

Thanks

Mark

Jon Blakely

Re: Problem with eneo-sysmon
« Reply #1 on: July 05, 2002, 03:18:08 PM »
Mark,

The problem is that the RRDs perl modules are in perl 5.6.0 directory and @INC does not look there for them when running sysmonconv.
What I did was move the RRDs perl modules from

/usr/lib/perl5/5.6.0/i386-linux/RRDp.pm and RRDs.pm plus the RRDs files under
/usr/lib/perl5/5.6.0/i386-linux/auto/RRDs

to

/usr/lib/perl5/site_perl/5.6.1/i386-linux/RRDs.pm and RRDp.pm and the RRD files under auto to
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/RRDs

Jon

Jens H. Kruuse

Re: Problem with eneo-sysmon
« Reply #2 on: July 07, 2002, 03:41:29 AM »
I tried Jon's solution but the aforementioned directories were empty!

So Googling around, I found "rrdtool-1.0.33-02.i386.rpm" (sorry, no link) which I installed first. Then I copied the perl files before installing "rrdtool-1.0.33-2.asp.i386.rpm", "sysstat-4.0.3-12.i386.rpm", and "eneo-sysmon-3.0-15.noarch.rpm".

Works like a charm! Thanx, Jon!

/Jens, newbie

Abe Loveless

Re: Problem with eneo-sysmon
« Reply #3 on: July 25, 2002, 01:48:39 AM »
Jon's advice worked for me as well.

Mark

Re: Problem with eneo-sysmon
« Reply #4 on: July 25, 2002, 02:03:09 AM »
Yeh - sorry forgot to say thanks for the advice Jon - worked great! :)

mark