Hi!

First I've to say that it isn't a good idea and afaik not supported by
Opsera to run the Master and Slave on different platforms (32 vs 64
bit).

As our slaves aren't working you are stressed out. So I write you
anything that crosses me mind, be careful nothing of the things below
are tested or proven.

The logs tell, that you're missing the Log::Dispatch::FileRotate perl
module. I checked one of my slaves (64 bit) and found the module at 
/usr/local/nagios/perl/lib/Log/Dispatch/FileRotate.pm
You might want to check if this file is present, and provide it as a
quick fix (copy it from master or CPAN). As perl modules are platform
agnostic that shouldn't be a problem.

Unfortunately I'm not sure why this happens. Have you updated your
slaves too? Did send2slaves run successfully?
The /usr/local/nagios/perl directory is filled by send2slaves and
install_slave. These two scripts pack (inter alia)
the /usr/local/nagios/perl directory at the master and unpack it at the
slave. So you might also want to have a look at the send2slaves log
at /usr/local/nagios/var/log/send2slaves.debug

-- 
kind regards, Henry

On Do, 2011-04-28 at 14:56 +0000, Toni Van Remortel wrote:
> Hi,
> 
> My 64-bit slaves worked perfectly with a 32-bit master with Opsview 3.9.x.
> The upgrade to 3.11.0 had some issues, but it worked after a manual start of 
> import_slaveresultsd.
> 
> But now I get this:
> Stopping opsview... import_slaveresultsd not running
> done
> Starting opsview... ERROR: can't load appenderclass 
> 'Log::Dispatch::FileRotate'
> Bareword "ARRAYREF" not allowed while "strict subs" in use at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch.pm line 35.
> Bareword "ARRAYREF" not allowed while "strict subs" in use at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch.pm line 35.
> Bareword "CODEREF" not allowed while "strict subs" in use at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch.pm line 35.
> Compilation failed in require at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch/Output.pm line 9.
> BEGIN failed--compilation aborted at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch/Output.pm line 9.
> Compilation failed in require at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch/FileRotate.pm line 6.
> BEGIN failed--compilation aborted at 
> /usr/local/nagios/bin/../perl/lib/Log/Dispatch/FileRotate.pm line 6.
> Compilation failed in require at (eval 18) line 3.
> Can't call method "info" on an undefined value at 
> /usr/local/nagios/bin/import_slaveresultsd line 171.
> END failed--call queue aborted at /usr/local/nagios/bin/import_slaveresultsd 
> line 95.
> Cannot startup import_slaveresultsd
> 
> Any idea how to fix this?
> 
> Thanks,
> Toni Van Remortel
> System Engineer @ Precision Operations N.V.
> +32 3 451 92 20 - toni.van.remor...@p-ops.be
> Satenrozen 2a, 2550 Kontich, Belgium
> 
> _______________________________________________
> Opsview-users mailing list
> Opsview-users@lists.opsview.org
> http://lists.opsview.org/lists/listinfo/opsview-users

_______________________________________________
Opsview-users mailing list
Opsview-users@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to