Skip to main content

alphaWorks  >  Forums  >  IBM Toolkit for Data Collection and Visual Analysis for Multi-Core Systems  >  developerWorks

Error After Startind DataCollector Agent    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 7 - Pages: 1 - Last Post: Mar 5, 2009 5:26 AM Last Post By: tengqiming Threads: [ Previous | Next ]
allo

Posts: 5
Registered: Mar 04, 2009 05:29:35 AM
Error After Startind DataCollector Agent
Posted: Mar 04, 2009 05:31:21 AM
Click to report abuse...   Click to reply to this thread Reply
Hi all,

I am facing following error after starting the agent? Kindly guide me what is the problem?

THOR Loading THOR agent...
THOR DONE
>> ERROR: at Reader.cpp: 184
>> Failed opening data channel /debug/THOR/probem/data0 No such file or directory
THOR Module started ...

Thanks

allo

Posts: 5
Registered: Mar 04, 2009 05:29:35 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 04, 2009 05:36:23 AM   in response to: allo in response to: allo's post
Click to report abuse...   Click to reply to this thread Reply
When i just used -version option following output with errors appeared

]$ java -agentlib:ThorAgent -version
THOR Loading THOR agent...
THOR DONE
>> ERROR: at Monitor.cpp: 209
>> Failed sending INIT command.
>> WARNING: at Controller.cpp: 55
>> No native event will be generated.
Please check if the kernel module has been installed properly!
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b02)
Java HotSpot(TM) Server VM (build 1.5.0_09-b02, mixed mode)
>> ERROR: at Monitor.cpp: 74
>> Invalid control channel
>> ERROR: at Monitor.cpp: 365
>> Failed sending STOP command.
>> ERROR: at Monitor.cpp: 74
>> Invalid control channel
>> ERROR: at Monitor.cpp: 152
>> Failed sending CLEANUP command
THOR Flushing event queues
tengqiming

Posts: 15
Registered: Oct 31, 2006 08:31:27 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 04, 2009 06:24:42 AM   in response to: allo in response to: allo's post
Click to report abuse...   Click to reply to this thread Reply
Hi,

Based on the error message you posted, the problem could be a failure of installation of the kernel module. Please make sure you are using the $THORDIR/bin/install.sh to install the module. Also make sure you are not using a problematic installation to profiling your application. Always uninstall the module if it seems not installed correctly.

A detailed instruction on installing the data collector can be found in the DataCollector.v1.1.tar.gz file, named INSTALL.

Please let us know if this answered your question. Thank you for your feedback, anyway.
allo

Posts: 5
Registered: Mar 04, 2009 05:29:35 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 04, 2009 10:33:39 AM   in response to: tengqiming in response to: tengqiming's post
Click to report abuse...   Click to reply to this thread Reply
Yes it is now working, i uninstalled and re-inntalled the Data Collector.

But now i am facing a new problem, that the VisualAnalyzer is too slow , i am unable to see any result from a 64k trace file
tengqiming

Posts: 15
Registered: Oct 31, 2006 08:31:27 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 04, 2009 06:47:55 PM   in response to: allo in response to: allo's post
Click to report abuse...   Click to reply to this thread Reply
I'm not quite sure why the Visual Analyzer is slow. Could you please provide more information about the linux distro you are using? It could be that the lwJGL (a variant of OpenGL) is not working ...
allo

Posts: 5
Registered: Mar 04, 2009 05:29:35 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 05, 2009 03:53:16 AM   in response to: tengqiming in response to: tengqiming's post
Click to report abuse...   Click to reply to this thread Reply
OS Info

Linux m01 2.6.18-92.el5.src-PAPI #1 SMP Tue Jan 27 10:57:40 CET 2009 x86_64 x86_64 x86_64 GNU/Linux

Java
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b02)
Java HotSpot(TM) Server VM (build 1.5.0_09-b02, mixed mode)

Machine
sun fire x4600 M2

allo

Posts: 5
Registered: Mar 04, 2009 05:29:35 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 05, 2009 05:12:41 AM   in response to: allo in response to: allo's post
Click to report abuse...   Click to reply to this thread Reply
Thanks,
Problem Solved, I was using thin client with server, that's why it was very slow, now am analyzing trace files on separate machine, there the analyzer working fine.
tengqiming

Posts: 15
Registered: Oct 31, 2006 08:31:27 AM
Re: Error After Startind DataCollector Agent
Posted: Mar 05, 2009 05:26:02 AM   in response to: allo in response to: allo's post
Click to report abuse...   Click to reply to this thread Reply
Thanks for the feedback.

Point your RSS reader here for a feed of the latest messages in all forums