Hi Nathan,
Today I completely rebuild my backported packages. Afterwards I made
full reinstallation of them (i.e. I purged all pcp related packages,
removed all logs and configuration files and installed new versions).
It seems that problem described below was relating to my backported
packages only. I made few builds and reinstallation in the past and
probably some artifact remained on my system. Now everything is
installed correctly and configuration files are placed on right place.
I also put new packages to web site (if anyone wants to download them):
http://uher.info/debian/dists/wheezy-backports/main/binary-amd64/
Repository listed above is not apt-getable (manual download and
installation is necessary) and binaries for amd64 distro are backported
only.
Finally I also downloaded today pcp-graph sources from jeffpc git
repository. After installation of some missing dev libraries on my
system I was able to build pcp-graph binary. Problem is that there
isnât included any documentation or manual page. Program itself
requires configuration file on startup. I tried to find any example
but I was not successful. Therefore I would like to ask you or Jeff
to provide some documentation, man page, example or any other
information source for pcp-graph. Many thanks in advance. Have a nice
day.
Cheers,
Marek
P.S.
In parallel I am trying to revive (just for fun) a piece of pcp-ise which
used Xvfb and pmchart to provide graph rendering.
-----Original Message-----
From: Nathan Scott [mailto:nathans@xxxxxxxxxx]
Sent: Thursday, May 23, 2013 1:52 AM
To: Uher Marek
Subject: Re: Replacement for pcp-ise / pcp-pro
----- Original Message -----
>
> Hi Nathan,
>
> I will check pcp-graph tomorrow. Today I tried to configure pmlogger and
> other stuff relating to pcp itself. I discovered one strange thing - I
> located two control files for pmlogger:
>
> /etc/pcp/pmlogger/control
> /etc/pmlogger/control
>
> I donât know if this problem is relating to my backported packages, or if
> is some configuration bug in official pcp 3.8 package. Both files belong
> to pcp package itself:
>
> dpkg -S /etc/pmlogger/control /etc/pcp/pmlogger/control
> pcp: /etc/pmlogger/control
> pcp: /etc/pcp/pmlogger/control
>
> In any case, file /etc/pmlogger/control is ignored and
> /etc/pcp/pmlogger/control is used as configuration file instead. This
> problem took me few hours today to investigate it.
>
> Therefore I would like to kindly ask you to verify this potential bug in
> official Debian package. I havenât any possibility to test it in Debian
> unstable distribution. So I am afraid that the same problem is relating to
> pmcd, pmie and pmproxy configuration files.
I think this is a feature of dpkg/apt - it seems to keep around original
copies of configuration files from earlier versions of packages, just in
case they need to be compared to new versions. I think. As you mention
later in your mail ...
$ dpkg --contents pcp_3.8.0_i386.deb | grep pmcd.conf
-rw-r--r-- root/root 381 2013-05-23 09:39 ./etc/pcp/pmcd/pmcd.conf
This is the "real" version of this file, as of 3.8.0, earlier versions it
lived in alternate locations.
> Directories and files:
>
> /etc/pmproxy/pmproxy.options
> /etc/pmie/control
> /etc/pmlogger/control
> /etc/pmcd/pmcd.conf
> /etc/pmcd/rc.local
> /etc/pmcd/pmcd.options
>
> are generated during pcp package installation (i.e. they are not a part of
> package but are dynamically generated). But as I wrote earlier - it may be
> a problem that concerns only my backported packages.
Not sure its a problem, I think dpkg is doing this as a safeguard during an
upgrade. If it was a new install, I suspect these would not exist. Or if
you do a dpkg --purge, that might remove these too I think.
Either way, I see this behaviour too - its definitely not specific to your
backport.
> Tomorrow I will play with pcp-graph and I will give you feedback.
(jeffpc on #pcp and/or pcp@xxxxxxxxxxx is the author, he'd love to hear too)
> Have a nice day.
You too!
cheers.
--
Nathan
--
Ing. Marek Uher
Senior Solution Specialist
Delivery Center Big Data & BI Solutions
Delivery Unit Horizontal Solutions
Systems Integration
T-Systems Czech Republic a.s.
Na PankrÃci 1685/17, 19
Praha 4
140 21
Czech Republic
Mobile: (+420) 739 242 103
Phone: (+420) 236 099 704
Fax: (+420) 236 099 999
E-mail: marek.uher@xxxxxxxxxxxx
WWW: http://www.t-systems.cz/
Data box ID: s5tjtv8
T-Systems Czech Republic a.s.
Registered with the Commercial Register maintained by the Municipal Court in
Prague, Part B, Entry No. 3938
With its registered address at Na PankrÃci 1685/17, 19, 140 21 Praha 4
Board of Directors:
Ing. Michal HÃtle, CSc., Chairman of the Board of Directors
Ing. Lenka KaliÅovÃ, CSc., Member of the Board of Directors
Company ID: 61059382
Tax ID: CZ61059382
UpozornÄnÃ: Tato zprÃva a jejà pÅÃlohy mohou obsahovat internà nebo dÅvÄrnÃ
informace. Pokud nejste zamÃÅlenà pÅÃjemce, tak prosÃm neprodlenÄ oznamte
odesÃlateli, Åe jste obdrÅeli tuto zprÃvu omylem. JakÃkoliv prohlÃÅenÃ, ÅÃÅenÃ
nebo kopÃrovÃnà tÃto zprÃvy je pÅÃsnÄ zakÃzÃno. NeprodlenÄ tuto zprÃvu a
vÅechny jejà pÅÃlohy smaÅte. DÄkujeme.
Notice: This transmittal and/or attachments may be privileged or confidential.
If you are not the intended recipient, you are hereby notified that you have
received this transmittal in error; any review, dissemination, or copying is
strictly prohibited. If you received this transmittal in error, please notify
us immediately by reply and immediately delete this message and all its
attachments. Thank you.
|