[naemon-users] Naemon 1.0.10 install issue - Thruk will not install
Peter Vago
peter.vago at gmail.com
Wed Apr 24 23:53:39 CEST 2019
Hi, Thanks for responding!
Well, on Debian Buster I got more errors (e.g. Thruk is dependent on
perlapi package, but it does not exist any more)....going back to Debian
Stretch is not an option for me now.
Finally I installed Ubuntu 18.04 server and managed to install Naemon
1.0.10.
I got some errors here also:
1: Plack error, the same as before on Debian 8/9
Workaround: I edited the following file and replaced version to "1.0045"
root at myserver2:/etc/naemon# head /usr/share/thruk/lib/Thruk/Request.pm
package Thruk::Request;
use strict;
use warnings;
use Plack 1.0045;
2. naemon-thruk postinstall threw error: "ERROR: Conf naemon does not
exist." This was coming from /usr/sbin/a2enconf script.
Solution. I had to create /etc/apache2/conf-available/naemon.conf manually.
So, it look okay for now...I stupid ran update on my prod server. I've been
trying to get it running for 5-6 hours.
Thanks,
Peter
Christian Kujau <lists at nerdbynature.de> ezt írta (időpont: 2019. ápr. 24.,
Sze, 23:29):
> On Wed, 24 Apr 2019, Peter Vago wrote:
> > Plack version 1.0046 required--this is only version 1.0045 at
> > /usr/share/thruk/lib/Thruk/Request.pm line 4.
>
> Plack is shipped via libthruk:
>
> $ dpkg -S /usr/lib/thruk/perl5/Plack*
> libthruk: /usr/lib/thruk/perl5/Plack
> libthruk: /usr/lib/thruk/perl5/Plack.pm
>
> Maybe you have Plack installed from Debian or somewhere else?
>
> $ apt-file search Plack.pm
> libplack-perl: /usr/share/perl5/Plack.pm
> libthruk: /usr/lib/thruk/perl5/Plack.pm
> libweb-simple-perl: /usr/share/perl5/Web/Simple/HackedPlack.pm
> omd-2.60-labs-edition:
> /opt/omd/versions/2.60-labs-edition/lib/perl5/lib/perl5/Plack.pm
> omd-2.90-labs-edition:
> /opt/omd/versions/2.90-labs-edition/lib/perl5/lib/perl5/Plack.pm
> omd-3.00-labs-edition:
> /opt/omd/versions/3.00-labs-edition/lib/perl5/lib/perl5/Plack.pm
>
> Look for Plack.pm on your system and try to find out where it comes from.
> Having more than one version of $foo is possible, but then one would have
> to adjust the search path of $bar (in this case, Thruk, Perl).
>
> HTH,
> Christian.
> --
> BOFH excuse #331:
>
> those damn raccoons!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20190424/c22861bf/attachment.html>
More information about the Naemon-users
mailing list