pcp
[Top] [All Lists]

Re: [pcp] Installing MySQL PMDA on Centos 4.9

To: chandana@xxxxxxxxxxxxx
Subject: Re: [pcp] Installing MySQL PMDA on Centos 4.9
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat, 31 Dec 2011 05:49:30 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1325242835.21593.6.camel@xxxxxxxxxxxxxxxxxxxxx>
References: <1325242835.21593.6.camel@xxxxxxxxxxxxxxxxxxxxx>
G'day Chandana.

This is a genric Perl problem for the PCP bits, and not specific to the
mysql pmda.

My first guess would be that the PCP build is making 32-bit binaries
while your Perl installation has 64-bit binaries.

If you could post the output from
        $ perl -V
that would help confirm this.

And also, is this a 32-bit or 64-bit flavour of Centos 4.9?

On Fri, 2011-12-30 at 22:00 +1100, Chandana De Silva wrote:
> Hello All
> I am trying to install the MySQL PMDA on a Centos 4.9 host, and am
> getting the following error;
> 
> [root@server mysql]# ls
> Install  pmdamysql.pl  Remove
> [root@server mysql]# ./Install 
> Perl PCP::PMDA module is not installed, install it and try again
> 
> The PCP-PMDA RPM is installed;
> [root@server mysql]# rpm -ql perl-PCP-PMDA
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/PCP/PMDA.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/PCP/PMDA/PMDA.so
> /usr/share/man/man3/PCP::PMDA.3pm.gz
> 
> I notice extended directory structure, which is different from a newer
> Fedora 16 install;
> [chandana@fatta ~]$ rpm -ql perl-PCP-PMDA
> /usr/lib64/perl5/vendor_perl/PCP/PMDA.pm
> /usr/lib64/perl5/vendor_perl/auto/PCP/PMDA/PMDA.so
> /usr/share/man/man3/PCP::PMDA.3pm.gz
> 
> 
> I tried to symlink the 5.8.5/i386-linux-thread-multi/PCP and
> 5.8.5/i386-linux-thread-multi/auto/PCP directories
> to /usr/lib/perl5/vendor_perl but that did not work.
> 
> Some help would be appreciated.
> 
> Regards
> Chandana
> 
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp


<Prev in Thread] Current Thread [Next in Thread>