Project

General

Profile

Actions

Bug #427

closed

Misleading message from lttng command when modules not loaded

Added by Daniel U. Thibault almost 12 years ago. Updated almost 12 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/22/2013
Due date:
% Done:

0%

Estimated time:

Description

If you issue the 'lttng' command while the lttng modules are not loaded, the misleading error message is:

lttng: error while loading shared libraries: liblttng-ctl.so.0: cannot open shared object file: No such file or directory

This initially makes the user think that the liblttng-ctl.so.0 symbolic link is damaged, or that the lttng-tools installation is otherwise damaged. Ideally lttng should check for the lttng kernel modules (lttng-tracer should suffice, I suspect) and report their absence.

Actions

Also available in: Atom PDF