Archive

Archive for the ‘Shinken’ Category

Shinken thruk_server.pl compilation error fix

October 26, 2011 Leave a comment

Heard about Shinken when searching for issues related with Nagios and decided to give it a try on my Ubuntu 10.10 (32bit) a try by following this script. Everything went well except then I try to start thruk (the http admin ui) I got the following error

ERROR: this is the wrong precompiled version, your archname is: i686-linux-gnu-thread-multi

BEGIN failed–compilation aborted at /opt/thruk/script/thruk_server.pl line 18.

By looking into the code, the perl script is expecting
/opt/thruk/local-lib/lib/perl5/i686-linux-gnu-thread-multi
but instead I got
/opt/thruk/local-lib/lib/perl5/i486-linux-gnu-thread-multi

So the fix can’t be simpler, simply do

cd /opt/thruk/local-lib/lib/perl5
ln -s i486-linux-gnu-thread-multi i686-linux-gnu-thread-multi
Advertisements
Categories: linux, Shinken