pcp
[Top] [All Lists]

Latest version of pmwebapi not working with pmcd v3.6.9

To: pcp@xxxxxxxxxxx
Subject: Latest version of pmwebapi not working with pmcd v3.6.9
From: Dev Priya <devpriya00@xxxxxxxxx>
Date: Fri, 22 Mar 2013 13:06:07 -0700
Cc: Jun Wang <junwang123@xxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=qDbXt38dMlI/IGZ6IHuRL3wqQgDj1QYZstmYPEyeFX8=; b=vL8EjyL/CH9AJbvxyAK1SxaMnElYqH/sp6KKw0XNWtqfQuRQPEJkd4jghzXMNZof96 +LUGYYrfU/Nzant4Chqb2eMmfGIIOfww/YPK3igs4P2sRhqvwLKZg31zd4X7cJq9ZLDj lZgccBXKwLg3vtw3COSqS2lglSp/vSS3yWuRwL4EjWT+NaZXqnwhvO1dU49Nbzrxoz7n yZWNVfBNAR8gmc8pyQmZORQwb+zVD3XkNlmKHoePPFfLBnOCz7n04P5B0UvmhPNKaz8k rXgAPF5j7eJtO6N0+td6fAkJoCp1vKRskSEIrOxHyd4265Ck7AkB+dI7DDQ5rEA8OZeS 4T+g==
Hi Guys,

About couple of months back when I had checked out pmwebapi from git://sourceware.org/git/pcpfans.git and installed it, it was working fine out of the box. Now I guess some recent changes have gone in that has broken the compatibility with v3.6.9 of pmcd.

pmwebapi launches but as soon as I connect to it, it throws an error saying undefined symbol: __pmHashWalkCB

pmwebapi(32253) Info: Started daemon on tcp port 44323, pmapi url /pmapi
pmwebapi: symbol lookup error: pmwebapi: undefined symbol: __pmHashWalkCB

I saw that some changes were checked in fche/pmwebapi branch related to __pmHashWalkCB so I tried building pcp and pmcd from source from this branch. The build finishes with the commands

./configure; sudo make install

but pcp fails to run saying no file found /etc/pcp.env. I located pcp.env in /usr/local/share and copied it to /etc/pcp.env. Now pcp runs but pmcd is not to be found anywhere! I try restarting pmcd service but the service is not found!

Can someone please point me to a stable tag that will build fine with pcp, pmcd and pmwebapi? If would be great if I can use the old pmwebapi that works fine with v3.6.9. Please point me to the tag/commit of pmwebapi that will work with v3.6.9

Thanks,
Dev
<Prev in Thread] Current Thread [Next in Thread>