pcp
[Top] [All Lists]

[pcp] Files missing from /usr/share/pcp/lib after installing the .deb pa

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] Files missing from /usr/share/pcp/lib after installing the .deb packages (#39)
From: Rares Vernica <notifications@xxxxxxxxxx>
Date: Thu, 13 Aug 2015 13:05:11 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1439496311; bh=5QJKVNXPnVdQdqVQ+8KDAHFYx6tVFSedc1ts6SluE2w=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=kQoecpC/00Y2stAcavlxxNyUwtgxkBrSaeEJ96PCwn2NsbRBpXpxvtNAbeBTt5ZWb pQui+Lksacm+k88jZgd2x0x3H1itdQBXvE1U+ODuHDVsp714YdoBpeZPb81NcVKWrO Q+cQXd0lfoh/5pyPFYhQ5yTZhoEH4e7d8aIC5jRk=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b60ac81caed137018b79815e2b18fd4cafc6b42fe592cf0000000111e4ba7792a169ce0602f422@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b60ac81caed137018b79815e2b18fd4cafc6b42fe592cf0000000111e4ba7792a169ce0602f422@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItkDvGPX5Sz4jBYxicFavQ_RTGmvYks5onO_3gaJpZM4FrOqs>
Reply-to: performancecopilot/pcp <reply+00bd08b60ac81caed137018b79815e2b18fd4cafc6b42fe592cf0000000111e4ba7792a169ce0602f422@xxxxxxxxxxxxxxxx>

I compiled version 3.10.4 from Git with ./Makepkgs. After installing the .deb files, it seems that files are missing /usr/share/pcp/lib. I get the following messages in /var/log/messages when pmcd tries to start:

Mar 27 18:09:20 beaglebone systemd[1]: [/lib/systemd/system/pmcd.service:3] Unknown lvalue 'Documentation' in section 'Unit'. Ignoring.
Mar 27 18:17:10 beaglebone (pmcd)[715]: Failed at step EXEC spawning /usr/share/pcp/lib/pmcd: No such file or directory
Mar 27 18:17:10 beaglebone systemd[1]: pmcd.service: main process exited, code=exited, status=203
Mar 27 18:17:10 beaglebone systemd[1]: Unit pmcd.service entered failed state.

Here are the contents of the /usr/share/pcp/lib directory:

debian@beaglebone:~$ ll /usr/share/pcp/lib
total 72
-rw-r--r-- 1 root root  2659 Apr 21  2015 bashproc.sh
-rwxr-xr-x 1 root root  1259 Apr 21  2015 lockpmns
-rw-r--r-- 1 root root 35927 Apr 21  2015 pmdaproc.sh
-rw-r--r-- 1 root root 10683 Apr 21  2015 rc-proc.sh
-rw-r--r-- 1 root root  1970 Apr 21  2015 rc-proc.sh.minimal
-rwxr-xr-x 1 root root  4931 Apr 21  2015 ReplacePmnsSubtree
-rwxr-xr-x 1 root root   983 Apr 21  2015 unlockpmns

I have a second instance of the same hardware with the same OS. There I did sudo make install which I know it is not recommended. Here are the contents of the /usr/share/pcp/lib directory on the second system:

debian@beaglebone:~$ ll /usr/share/pcp/lib/
total 132K
-rw-r--r-- 1 root root 2.6K Apr 14 13:44 bashproc.sh
-rwxr-xr-x 1 root root 1.3K Apr 14 13:44 lockpmns
-rwxr-xr-x 1 root root 2.2K Apr 14 12:12 pcp
-rwxr-xr-x 1 root root  14K Apr 14 12:12 pmcd
-rw-r--r-- 1 root root  36K Apr 14 13:44 pmdaproc.sh
-rwxr-xr-x 1 root root 6.6K Apr 14 12:13 pmie
-rwxr-xr-x 1 root root 7.3K Apr 14 12:13 pmlogger
-rwxr-xr-x 1 root root 6.7K Apr 14 12:13 pmmgr
-rwxr-xr-x 1 root root 6.9K Apr 14 12:13 pmproxy
-rwxr-xr-x 1 root root 7.5K Apr 14 12:13 pmwebd
-rw-r--r-- 1 root root  11K Apr 14 13:44 rc-proc.sh
-rw-r--r-- 1 root root 2.0K Apr 14 13:44 rc-proc.sh.minimal
-rwxr-xr-x 1 root root 4.9K Apr 14 13:44 ReplacePmnsSubtree
-rwxr-xr-x 1 root root  983 Apr 14 13:44 unlockpmns

The two systems run Debian. Here are the details:

$ cat /etc/issue
Debian GNU/Linux 7
$ uname -a
Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux


Reply to this email directly or view it on GitHub.

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