Hi Marty,
----- Original Message -----
> [...]
> Then from /var/lib/pcp/pmdas/mysql/ I attempt to install the agent but get a
> message instead:
> $ sudo ./Install
> Perl PCP::PMDA module is not installed, install it and try again
>
This message is coming from checks in /usr/share/pcp/lib/pmdaproc.sh which
is attempting to verify the pcp/perl setup - in particular, it runs a hunk
of shell code alot like this:
perl -e 'use PCP::PMDA' 2>/dev/null
if test $? -ne 0
then
echo 'Perl PCP::PMDA module is not installed, install it and try again'
exit 1
fi
So what does "sudo perl -e 'use PCP::PMDA'" print out? (and whats the exit
code, cos thats ultimately preventing the Install from proceeding).
> I try installing the missing module but it's already installed:
> $ sudo apt-get install libpcp-pmda-perl
> libpcp-pmda-perl is already the newest version.
That's ... wierd. Have never come across this issue myself, testing a stock
Debian install. But, the answer might come from the perl diagnostics above,
hopefully - let us know what you find.
cheers.
--
Nathan
|