Wiseon3

Registered
Dec 5, 2012
4
1
3
cPanel Access Level
Root Administrator
Hi,

I'm trying to display additional mysql graphs in munin, using the /usr/local/cpanel/3rdparty/share/munin/plugins/mysql_ plugin, but I have the following error:
Missing dependency Cache::Cache at /etc/munin/plugins/mysql_table_locks line 716.

I've already installed perl-DBI, perl-IPC-ShareLite, perl-Cache-Cache and cpanel-perl-514-Cache-Cache. I've even installed Cache::Cache and DBI in perl -MCPAN -e shell.

The plugin mysql_ seems to try to access Cache::SharedMemoryCache and it fails, that is why it throws the missing dependency error.

What can I do to be able to use that plugin?
 

Wiseon3

Registered
Dec 5, 2012
4
1
3
cPanel Access Level
Root Administrator
For anyone interested, I managed to get it to work, with the help of cPanel support. You have to install IPC::ShareLite, then Cache::Cache in the user's perl:
/usr/local/cpanel/3rdparty/perl/514/bin/perl -MCPAN -e shell
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.