error during launch of profiling and logging -- piAgent [message #86936] |
Mon, 13 November 2006 09:56  |
Eclipse User |
|
|
|
Originally posted by: jonathan.alvarsson.gmail.com
Hi.
I Installed the Eclipse monitoring tools from the Callisto Discovery site
with the Eclipse update manager but when I try it out I get the following
error message:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent
And I quite frankly haven't got a clue about what I am supposed to do
about it...
Can someone please help me?
// Jonathan Alvarsson
|
|
|
|
|
Re: error during launch of profiling and logging -- piAgent [message #87123 is a reply to message #87059] |
Tue, 14 November 2006 10:48   |
Eclipse User |
|
|
|
Jonathan Alvarsson wrote:
>> The monitoring tools only, and not the rest of TPTP? Because the
>> piAgent is the profiling agent that, I assume, would be in the Trace
>> component.
>
> Well yes I first installed the monitoring system and all required
> dependencies (which didn't include the Trace component). I just now
> installed the trace component but that didn't make any difference.
>
>> So have you tried to launch something for profiling? If so, you
>> probably want to get the rest of TPTP.
>
>> Of course, even if you have it all you can run into that message if
>> you're "mixing and matching" 32- and 64-bit stuff. E.g., if you have
>> downloaded a 64-bit JVM but are trying to run 32-bit TPTP, the JVM
>> won't "see" the piAgent.
>
> Okey. How do I know if I have a mix and match of 32 and 64 bit stuff
> installed? Perhaps a slightly bit naively I thought I automagicly would
> get the right components with the automatic updater and that the
> components would complain if they were mixed and matched with the wrong
> components. But I guess we are not in that world yet...
>
>> So can you launch the "statistical analysis agent"? (Perfmon on
>> Windows and LinuxAgent on Linux) Because that's the agent you would
>> have available with the monitoring component.
>
> I don't know. How would I do that? To my great dissapointment googling
> didn't really help me with that question. Maybee I am asking the wrong
> question?
>
> btw I run Ubuntu linux and Eclipse 3.2
>
What kind of hardware? If you're on a 32-bit hardware system, then we
shouldn't be seeing any of these.
If you're on a 64-bit system, did you get the 32-bit Eclipse for Linux
x86 or the 64-bit Eclipse for x86_64? If the latter, are you running
with a 64-bit JVM?
You're right that the update manager should automatically get all the
right stuff... for Eclipse... but it can't control what JVM you're getting.
Bottom line, the "Cannot find agent library...piAgent" message generally
comes from either (1) not being able to find libpiAgent.so... path
issues and the like, or (2) it finding it, but the JVM and the
libpiAgent.so being different "bit-ness".
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
|
|
|
|
|
Re: error during launch of profiling and logging -- piAgent [message #87854 is a reply to message #87795] |
Fri, 17 November 2006 14:50  |
Eclipse User |
|
|
|
Jonathan Alvarsson wrote:
>> How about trying:
>> find <eclipse installation directory> -name "*piAgent*" -print
>> and then add that directory to your path before restarting Eclipse.
>> Then when it looks for libpiAgent.so it will find it this time.
>
> I tried
> export
> PATH=$PATH:/home/jonathan/programs/eclipse/plugins/org.eclip se.hyades.execution.linux.x86_4.2.0.v200606131519/
>
>
> which is where the file libpiAgent.so is but it didn't make any difference.
>> There is a release note in the versions affected by this problem about
>> this behavior... but I don't tend to read release notes either so I
>> can't fault others for not doing so.
>
> Hm release note? Did it flash by during the automagic installation in
> Eclipse or is it something I have to search more to find? Can't say that
> I usually read it I thought they mostly contained info about differences
> in a new version for users used with older versions.
>
Release note is at <
http://www.eclipse.org/tptp/home/downloads/releasenotes/rele asenotes4_2_0.html
>, but it won't do any good since this item is 3.PT.4 there, and you've
already taken the corrective action.
I'm stumped. I know we've had problems getting things working on
Ubuntu... something about libstdc++ compatibility needs, but I don't see
anything in the release note about that. Perhaps one of the other buys
(Bob? Samson?) can chime in now since I've been no help.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Powered by
FUDForum. Page generated in 0.07764 seconds