Maynard Johnson, Thank you for reply about opcontrol --start ---session-dir and opcontrol --dump. We followed all your steps, opcontrol --deinit, ps awx | grep oprofiled, kiiliing the oprofiled process, and deleting the cache file /root/.profile/daemonrc. However, Oprofile 0.9.4 is still unable to write to the session-dirs directory. So we will use /var/lib/oprofile/samples together with opcontrol --reset. Thank you.
 
> Date: Tue, 26 Apr 2011 14:44:35 -0500
> From: maynardj@us.ibm.com
> To: frank_chang91@hotmail.com
> CC: oprofile-list@lists.sourceforge.net
> Subject: Re: Oprofile 0.9.4 Unable to complete dump of oprofile data: is the oprofile daemon running?
>
> Frank Chang wrote:
> >
> > Good morning. I am running Oprofile 0.9.4 on Centos Linux version 5.5 x86_32 .When I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test and profile my application using /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/Mary48.exe --run, I encounter an error when I do opcontrol --dump.
> > The error is: Unable to complete dump of oprofile data: is the oprofile daemon running? Why is the oprofile daemon stopping when I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test rather than when I use oprofile --start. I checked the permissions on /home/frankc/DQTTest/Mary5Test and it is drwxrwxrwx. Thank you
>
> Frank,
> As I suggested in my other reply to you, start simple. *DO NOT USE* '--session-dir' unless you *really* need to and unless you *really* understand how to use it. I don't remember if there were issues with 0.9.4 and the use of --session-dir. Can you do 'opcontrol --deinit'? If you need to, find the oprofiled process by using 'ps awx | grep oprofiled' and kill it. Then delete the cache file in /root/.oprofile/daemonrc and start from scratch.
>
> -Maynard
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > WhatsUp Gold - Download Free Network Management Software
> > The most intuitive, comprehensive, and cost-effective network
> > management toolset available today. Delivers lowest initial
> > acquisition cost and overall TCO of any competing solution.
> > http://p.sf.net/sfu/whatsupgold-sd
> >
> >
> >
> > _______________________________________________
> > oprofile-list mailing list
> > oprofile-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oprofile-list
>