/
.NetCore on Linux - Profiler doesn't start and doesn't produce any log
.NetCore on Linux - Profiler doesn't start and doesn't produce any log
Problem
I see the TestListener entry in the Cockpit Live agents attached to my application under test, but the Profiler doesn’t start.
Even when I enable logs to file nothing happens despite the permissions to the executables, files and folders look good.
Cause
Sometimes there are missing dependencies on Linux, and the Profiler cannot tell us about it since its process fails immediately before the initialization of the logger.
Solution
You can use the Linux ldd
command to show dependencies of the agent’s library on Linux (see ldd(1) - Linux manual page )
ldd libSL.DotNet.ProfilerLib.Linux.so
# OR ldd <path-to-agent>/libSL.DotNet.ProfilerLib.Linux.so
It will produce a status of the agent dependencies like in the screenshot below
If you cannot resolve the missing dependency, don't hesitate to get in touch with Sealights Support.
, multiple selections available,
Related content
.Net/.NetCore - I don't know what namespace to configure
.Net/.NetCore - I don't know what namespace to configure
More like this
Sealights .NET Core agent - Configuring the Profiler-Initiated Collector
Sealights .NET Core agent - Configuring the Profiler-Initiated Collector
More like this
SeaLights .NET Core agent - Running tests
SeaLights .NET Core agent - Running tests
More like this
SeaLights CD Agent for .Net Application
SeaLights CD Agent for .Net Application
More like this