From: David Goulet Date: Wed, 26 Feb 2014 16:45:45 +0000 (-0500) Subject: Fix: Warn user if JUL port is already being used X-Git-Tag: v2.5.0-rc1~149 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5b06ad8b15efa6566f9da15e2b28e681729a603a;p=lttng-tools.git Fix: Warn user if JUL port is already being used Fixes #740 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/jul-thread.c b/src/bin/lttng-sessiond/jul-thread.c index c1df1d862..b4a71d798 100644 --- a/src/bin/lttng-sessiond/jul-thread.c +++ b/src/bin/lttng-sessiond/jul-thread.c @@ -141,6 +141,8 @@ static struct lttcomm_sock *init_tcp_socket(void) ret = sock->ops->bind(sock); if (ret < 0) { + WARN("An other session daemon is using this JUL port. JUL support " + "will be deactivated not interfering with the tracing."); goto error; }