I am researching PCP (and friends) as a replacement for Orca/SE Toolkit.
[this morning, sometime after 8 AM CDT]
I created a virtual machine using:
VirtualBox 4.3.26-r98988 on Windows 7 Enterprise SP1
and the
CentOS-6.6-x86_64-bin-DVD1.iso (selected "Basic Server")
The VM was updated using:
# yum update
At this point I created a Forwarding rule and switched to PuTTY.
I created a user account (and group):
# useradd -K PASS_MAX_DAYS=-1 -f -1 -e "" -c "for Performance Co-Pilot" pcp
added the following:
# yum install git
# yum install gcc
# yum install bison
# yum install flex
# yum install gcc-c++
# yum install qt-devel-4.6.2-28.el6_5.x86_64
switched to user pcp and
$ git clone git://git.pcp.io/pcp
$ cd pcp
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
(Note: configure produced the following warning but otherwise I see no
complaints - I ignored the warning)
WARNING: Python version 2.6 header file missing.
Cannot proceed with the Python 2 installation found.
$ make
$ su root
# make install
# chkconfig pmcd on
# service pmcd start
It failed with the following output:
[root@CentOS66BasicServer ~]# chkconfig pmcd on
[root@CentOS66BasicServer ~]# service pmcd start
Rebuilding PMNS ... pmnsmerge: error while loading shared libraries:
libpcp.so.3: cannot open shared object file: No such file or directory
Rebuilding the Performance Metrics Name Space (PMNS) in /var/lib/pcp/pmns ...
Rebuild: PCP upgrade processing for "root" PMNS changes ...
Rebuild: merging the following PMNS files:
root root_jbd2 root_linux root_mmv root_pmcd root_proc root_root root_xfs
Rebuild: pmnsmerge failed
"root" has not been changed.
failed (status=1)
Starting pmcd ... /usr/libexec/pcp/bin/pmcd: error while loading shared
libraries: libpcp_pmda.so.3: cannot open shared object file: No such file or
directory
pmcd_wait: error while loading shared libraries: libpcp.so.3: cannot open
shared object file: No such file or directory
/usr/libexec/pcp/bin/pmpost: error while loading shared libraries: libpcp.so.3:
cannot open shared object file: No such file or directory
/usr/libexec/pcp/bin/pmpost: error while loading shared libraries: libpcp.so.3:
cannot open shared object file: No such file or directory
[root@CentOS66BasicServer ~]#
The showing the following:
# find / -name 'libpcp.so*'
/usr/lib/libpcp.so.3
/usr/lib/libpcp.so
/home/pcp/pcp/src/libpcp/src/libpcp.so.3
/home/pcp/pcp/src/libpcp/src/libpcp.so
I see the following pcp(?) related links in /usr/lib
# ls -l /usr/lib | grep pcp
-rwxr-xr-x. 1 root root 2665548 Apr 15 10:19 libpcp.a
-rwxr-xr-x. 1 root root 89588 Apr 15 10:19 libpcp_gui.a
lrwxrwxrwx. 1 root root 15 Apr 15 10:19 libpcp_gui.so -> libpcp_gui.so.2
-rwxr-xr-x. 1 root root 59434 Apr 15 10:19 libpcp_gui.so.2
-rwxr-xr-x. 1 root root 101882 Apr 15 10:19 libpcp_import.a
lrwxrwxrwx. 1 root root 18 Apr 15 10:19 libpcp_import.so ->
libpcp_import.so.1
-rwxr-xr-x. 1 root root 65082 Apr 15 10:19 libpcp_import.so.1
-rwxr-xr-x. 1 root root 50266 Apr 15 10:19 libpcp_mmv.a
lrwxrwxrwx. 1 root root 15 Apr 15 10:19 libpcp_mmv.so -> libpcp_mmv.so.1
-rwxr-xr-x. 1 root root 40397 Apr 15 10:19 libpcp_mmv.so.1
-rwxr-xr-x. 1 root root 428214 Apr 15 10:19 libpcp_pmda.a
lrwxrwxrwx. 1 root root 16 Apr 15 10:19 libpcp_pmda.so -> libpcp_pmda.so.3
-rwxr-xr-x. 1 root root 261621 Apr 15 10:19 libpcp_pmda.so.3
lrwxrwxrwx. 1 root root 11 Apr 15 10:19 libpcp.so -> libpcp.so.3
-rwxr-xr-x. 1 root root 1489545 Apr 15 10:19 libpcp.so.3
-rwxr-xr-x. 1 root root 168728 Apr 15 10:19 libpcp_trace.a
lrwxrwxrwx. 1 root root 17 Apr 15 10:19 libpcp_trace.so ->
libpcp_trace.so.2
-rwxr-xr-x. 1 root root 102032 Apr 15 10:19 libpcp_trace.so.2
I have very little experience with Linux but have been working with Solaris for
the last 10 years. The symbolic links look iffy to me.
I hope this is something simple that I overlooked or missed in the docs.
Is CentOS a good environment for experimenting with PCP and friends?
Thanks for any advice,
Glen Gunselman
|