[lttng-dev] No session daemon is available

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Sun Sep 8 11:15:34 EDT 2019


----- On Sep 6, 2019, at 4:42 PM, Rana Shakti singh <rana94302 at gmail.com> wrote: 

> Hi,

> I am enabling event using following steps but i am getting following error:

> 1.$ lttng create my-test-trace
> Spawning a session daemon

This command run as user is launching a lttng-sessiond as that particular user, which is 
not allowed to do any kernel tracing. 

You'll want to kill that daemon, and launch lttng-sessiond separately as root instead. 

Thanks, 

Mathieu 

> Session my-test-trace created.
> Traces will be output to /home/rana/lttng-traces/my-test-trace-20190905-220127

> 2.sudo lttng enable-channel --kernel --subbuf-size=8M chan1
> Error: Channel chan1: No session daemon is available (session my-session)

> 3.$ lttng enable-event --session=my-test-trace --kernel --channel=channel0
> sched_switch
> Error: Event sched_switch: No session daemon is available (channel channel0,
> session my-test-trace)

> Your suggestion will be appreciated

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190908/5fff63c8/attachment.html>


More information about the lttng-dev mailing list