You are not logged in.

#1 2010-02-12 01:30:09

awayand
Member
Registered: 2009-09-25
Posts: 398

munin plugin mysql_ error: Missing dependency Cache::Cache

Hi,
I am trying to execute the following munin plugin:

# /etc/munin/plugins/mysql_ suggest
Missing dependency Cache::Cache at ./mysql_ line 703.

Any ideas which package I am missing?

Thanks!

Offline

#2 2010-07-15 14:40:30

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

Re: munin plugin mysql_ error: Missing dependency Cache::Cache

Hi,

did you solve this? Or someone else?

Offline

#3 2010-07-15 14:48:19

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: munin plugin mysql_ error: Missing dependency Cache::Cache

No, unfortunately not.

Offline

#4 2010-07-16 13:42:09

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

Re: munin plugin mysql_ error: Missing dependency Cache::Cache

I have got some solution

not sure if all of this is necessary.

for first i tried to solved this Missing dependency Cache::Cache, install from AUR perl-cache-cache you can test this component by

perl -e "use Cache::Cache"

. But still same error. Somewhere on googlecode i was read about Cache::SharedMemoryCache. I tried perl -e again but it false, you will need IPC ShareLite. But i didnt find it in arch, so I dl it from cpan http://search.cpan.org/~andya/IPC-ShareLite-0.17/ install and again try perl -e ..... Perl should works fine.

EDIT: maybe i install perl-dbi but not sure if its necessary (im like kamikaze :-D)


In this step mysql_ still dont work, but you can do simlink for mysql_queries, mysql_slowqueries, mysql_threads like

ln -s /usr/lib/munin/plugins/mysql_threads /etc/munin/plugins/

and these works fine.


Sorry for my english :-)

Last edited by ETNyx (2010-07-16 13:47:18)

Offline

#5 2012-02-03 07:41:47

b_adele
Member
From: Montpellier, France
Registered: 2012-02-03
Posts: 15
Website

Re: munin plugin mysql_ error: Missing dependency Cache::Cache

Hello,

I found this solution
yaourt -S perl-dbi perl-cache-cache
perl -MCPAN -eshell
install IPC::ShareLite

It's work for me

Offline

Board footer

Powered by FluxBB