Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: aspear@vmware.com (Aaron Spear)
Subject: [lttng-dev] Issues running ust 2.1.0 as non root user
Date: Fri, 11 Jan 2013 08:40:03 -0800 (PST)	[thread overview]
Message-ID: <968286530.6126265.1357922403542.JavaMail.root@vmware.com> (raw)
In-Reply-To: <943560396.6116090.1357921852170.JavaMail.root@vmware.com>

Hi all,

I have LTTng 2.1.0 that I built/installed from source, and it all works fine when I run as root.  So as root I can take kernel traces and also ust traces.  However, when I attempt to run UST as a normal user it seems that there is some issue with the session daemon that I am not quite understanding.  It looks like the permissions are correct on the executables in /usr/local/bin and such.  Here is the error that I see with the verbose flag on (not sure if this helps...)

aspear at aspear-deb64 ~
$ lttng --verbose create mytest
DEBUG3: URI string: file:///home/aspear/lttng-traces/mytest-20130111-093135 [in uri_parse() at uri.c:253]
DEBUG3: URI file destination: /home/aspear/lttng-traces/mytest-20130111-093135 [in uri_parse() at uri.c:290]
DEBUG3: URI dtype: 3, proto: 0, host: , subdir: , ctrl: 0, data: 0 [in uri_parse() at uri.c:467]
DEBUG1: LSM cmd type : 8 [in send_session_msg() at lttng-ctl.c:259]
Session mytest created.
Traces will be written in /home/aspear/lttng-traces/mytest-20130111-093135
DEBUG1: Init config session in /home/aspear [in config_init() at conf.c:294]

aspear at aspear-deb64 ~
$ lttng --verbose enable-event -a -u
DEBUG1: Session name found: mytest [in get_session_name() at utils.c:51]
DEBUG1: LSM cmd type : 6 [in send_session_msg() at lttng-ctl.c:259]
Error: Events: Fatal error of the session daemon (channel channel0, session mytest)
DEBUG1: Clean exit [in clean_exit() at lttng.c:169]

Is there perhaps some other setup step required when you do the install from source that the install does for a normal user?

thanks,
Aaron Spear



       reply	other threads:[~2013-01-11 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <943560396.6116090.1357921852170.JavaMail.root@vmware.com>
2013-01-11 16:40 ` Aaron Spear [this message]
2013-01-11 16:45   ` David Goulet
2013-01-11 17:22     ` Aaron Spear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=968286530.6126265.1357922403542.JavaMail.root@vmware.com \
    --to=aspear@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox