Fix: Warn user if JUL port is already being used
authorDavid Goulet <dgoulet@efficios.com>
Wed, 26 Feb 2014 16:45:45 +0000 (11:45 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 26 Feb 2014 16:45:45 +0000 (11:45 -0500)
Fixes #740

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/jul-thread.c

index c1df1d86282485c4166d17fa7191eaa14b1e2343..b4a71d79849d36d739020faa6733e1916cfaca76 100644 (file)
@@ -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;
        }
 
This page took 0.026878 seconds and 5 git commands to generate.