error during launch of profiling and logging -- piAgent [message #86936] |
Mon, 13 November 2006 14: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 #87059 is a reply to message #86952] |
Tue, 14 November 2006 10:00 |
Eclipse User |
|
|
|
Originally posted by: jonathan.alvarsson.gmail.com
> 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
|
|
|
Re: error during launch of profiling and logging -- piAgent [message #87123 is a reply to message #87059] |
Tue, 14 November 2006 15:48 |
Randy D. Smith Messages: 394 Registered: July 2009 |
Senior Member |
|
|
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 #87370 is a reply to message #87123] |
Wed, 15 November 2006 13:05 |
Eclipse User |
|
|
|
Originally posted by: jonathan.alvarsson.gmail.com
> What kind of hardware? If you're on a 32-bit hardware system, then we
> shouldn't be seeing any of these.
It's an intel centrino Duo so I guess 64 bit?
> 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?
I have no idea. It normally works well but maybe that doesn't mean
anything? How do I find out? java -help didn't really say anything
meaningful (at least not to me... :( )
Is there a way to see if Eclipse is compiled for 32 bit och 64 bit? I
found this line: "sun.arch.data.model=32" in configuration details is that
a sign that I have a 32 bit version of Eclipse?
|
|
|
|
Re: error during launch of profiling and logging -- piAgent [message #87674 is a reply to message #87430] |
Thu, 16 November 2006 17:52 |
Eclipse User |
|
|
|
Originally posted by: jonathan.alvarsson.gmail.com
> Run "java -version" and tell me what it says.
$ java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
> As for the Eclipse version... what is the exact name of the zip file you
> downloaded and installed?
eclipse-SDK-3.2-linux-gtk.tar.gz
the build id is: M20060629-1905
|
|
|
|
Re: error during launch of profiling and logging -- piAgent [message #87795 is a reply to message #87690] |
Fri, 17 November 2006 16:08 |
Eclipse User |
|
|
|
Originally posted by: jonathan.alvarsson.gmail.com
> 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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03622 seconds