Koozali.org: home of the SME Server

sysmon error after upgrade to 5.6

Greg

sysmon error after upgrade to 5.6
« on: January 21, 2003, 05:09:20 AM »
Hello

Ihave done an upgrade from 5.1.2 update 3 to 6.5 and all went well apart from the sysmon failure as follows...

I did install the latest rpms on Sysmon 4, RRDtool and Systat but still have the problem.

Shall I unistall these rpms and reinstall? I also have the Raid monitor showing alerts since the upgarde to 5.6.

Any advise would be much appreciated..

TIA Greg

Jan 19 12:29:08 nvtserver sysmon: Starting sysmon daemon:
Jan 19 12:29:08 nvtserver sysmon: 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 /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/sbin/sysmon line 6.
Jan 19 12:29:08 nvtserver sysmon: BEGIN failed--compilation aborted at /usr/sbin/sysmon line 6.
Jan 19 12:29:08 nvtserver sysmon: 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 /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/sbin/sysmon line 6.
Jan 19 12:29:08 nvtserver sysmon: BEGIN failed--compilation aborted at /usr/sbin/sysmon line 6.
Jan 19 12:29:08 nvtserver sysmon: sysmon startup failed
Jan 19 12:29:08 nvtserver sysmon:
Jan 19 12:29:08 nvtserver rc: Starting sysmon: failed

TIA

Greg

Shad Lords

Re: sysmon error after upgrade to 5.6
« Reply #1 on: January 21, 2003, 08:28:10 AM »
Make sure you have the right rrdtool for the version you have.

rrdtool-1.0.39-1.7.2 contains the following:  (from rpm -ql rrdtool)

/usr/lib/perl5/5.6.1/i386-linux/RRDp.pm
/usr/lib/perl5/5.6.1/i386-linux/RRDs.pm
/usr/lib/perl5/5.6.1/i386-linux/auto/RRDs/RRDs.bs
/usr/lib/perl5/5.6.1/i386-linux/auto/RRDs/RRDs.so

If this were the rpm you had installed then you would not be getting the errors above.

-Shad

Greg

Re: sysmon error after upgrade to 5.6
« Reply #2 on: January 21, 2003, 09:41:37 AM »
Hello Shad

Thank you for the info.

This RPM was already installed. I did install it again and the response was listed below. Shall I do a "Force RPM" or maybe uninstall the symon 3 the redo the same RPM on rrdtool-1.0.39-1.7.2?

If the force solution is the way to go... can you confirm how the force command is entered.

Really apreciate your help. :o)

TIA Greg

error: failed dependencies:
Jan 21 12:27:35 smeserver e-smith[20403]: ^Irrdtool = 1.0.33-2.asp is needed by eneo-sysmon-3.0-15
Jan 21 12:27:35 smeserver e-smith[20403]: S10update-rpm-system=action|Event|update-rpm-system|Action|S10update-rpm-system|Start|1043123254 855841|End|1043123255 711294|Elapsed|0.855453

Shad Lords

Re: sysmon error after upgrade to 5.6
« Reply #3 on: January 21, 2003, 11:46:29 PM »
Upgrade to the lastest sysmon.  v3.0 is old and v4.0 has many new features.

SME v5.6 requires v3.1 or higher of sysmon to work.

http://lordsfam.net/downloads/production/e-smith-sysmon-4.0/

-Shad

Greg

Re: sysmon error after upgrade to 5.6
« Reply #4 on: January 22, 2003, 09:07:12 AM »
The problem with the symon4 failure to start after upgrading to 5.6 was solved by uninstalling the previous version of eneo-sysmon (3) then reistalling the latest RRD's RPM and then sysmon4 again.

I confirmed with a reboot the RPM works well.

Thank you for all your help.