Missing dependency Cache::Cache

1,658 views
Skip to first unread message

MagnusEnger

unread,
Mar 3, 2010, 7:22:29 AM3/3/10
to munin-mysql
Hi!

I'm completely new to Munin, and trying to get munin-mysql running. I
have it set up now the way I thought it should work, but I keep
getting this error:

Missing dependency Cache::Cache at /etc/munin/plugins/mysql_ line 828.

I have installed Cache::Cache and this does not give an error:

perl -e "use Cache::Cache"

Any thoughts on what might be causing this?

Regards,
Magnus Enger

Kjell-Magne Øierud

unread,
Mar 3, 2010, 9:03:50 AM3/3/10
to munin...@googlegroups.com
Hi Magnus

> [...] I keep getting this error:


>
> Missing dependency Cache::Cache at /etc/munin/plugins/mysql_ line 828.
>
> I have installed Cache::Cache and this does not give an error:
>
> perl -e "use Cache::Cache"
>
> Any thoughts on what might be causing this?

munin_mysql currently uses Cache::SharedMemoryCache which is a part of
the Cache::Cache distribution. Try 'perl -e "use
Cache::SharedMemoryCache"' to see if your system is compatible.

I'm planning to use something else as a cache though, so all hope is
not lost even if your system is incompatible ;-)

--
Kjell-Magne

MagnusEnger

unread,
Mar 3, 2010, 9:31:07 AM3/3/10
to munin-mysql
On Mar 3, 3:03 pm, Kjell-Magne Øierud <km.oie...@gmail.com> wrote:
> munin_mysql currently uses Cache::SharedMemoryCache which is a part of
> the Cache::Cache distribution. Try 'perl -e "use
> Cache::SharedMemoryCache"' to see if your system is compatible.

perl -e "use Cache::SharedMemoryCache" told me that:

Can't locate IPC/ShareLite.pm in @INC...

So I installed IPC::ShareLite, and now it seems to run just fine.
Thanks for your help and thanks for creating the plugin!

Regards,
Magnus

Reply all
Reply to author
Forward
0 new messages