
Yana asked a question.
Snow agent on Linux with root access have many "WARNING" in logs
Hi Folks,
I have a Linux agent and noticed that I have a lot of warrning and erros in Snowpack.
The warnings look as follows: WARNING; snowagent; linux/running_processes.cpp; get_running_processes; Could not get canonical path for: /proc/2/exe error: No such file or directory.
And errors and look as follows: Verbose; snowagent; linux/running_processes.cpp; get_running_processes; Could not determine if proc executable is symlink for path: /proc/ acpi/exe error: No such file or directory
Maybe someone knows how to solve this problem?
Thaks in advance.
Kind regards
Yana
What version of the agent is that?
Also, have you logged in a support ticket in parallel? That may save you a lot of time!
Agent version is 6.3.1, I don't have a ticket for this problem yet, but I am about to set one up.
WARNINGS aren't necessarily a bad thing, especially on Linux. The only ones you should really be worried about are ERROR/FATAL, WARNING is usually only important if it's a path that you know there's going to be something in (like /usr/bin)
Hi Yana,
pseudo filesystem /proc should be excluded by default for software scan (Snow Agent and Java Scanner).
Accordingly >5% of snowagent*.log and >97% lines of sijs*.log are waste.
In the same way 88% of snowagent*.log lines in question "MANIFEST.MF" headers of jar-files most content of logs are useless.
I'm in doubt, if snow ideas board or a blog post is the best way to stop this nonsens logs.
Best Regards
Joachim
Ideas board.
You can also request it be excluded while requesting the agent.
/proc exclusion is not possible for Java Scanner only for Snow Agent.
Scanning /proc while searching for installed software is useless and should be excluded per default by Snow for both.