cancel
Showing results for 
Search instead for 
Did you mean: 

How-To: Activate enhanced logging for a running SVM Daemon Service

How-To: Activate enhanced logging for a running SVM Daemon Service

Summary

This article describes how to activate verbose logging for the Software Vulnerability Manager 2019 Daemon service (installs as "Flexera Corporate Software Inspector Daemon").  This can be very helpful to debug technical problems with "System Center Inventory Import" schedule executions, or any other activity that is being delegated and therefore executed by the Daemon service. 

Synopsis

Logging is useful for troubleshooting purposes. A log file can reveal if the Flexera Daemon service is working correctly and performing all scheduled tasks at regular intervals. By modifying and/or creating registry keys it is possible to enable logging for the Flexera Daemon service.

Discussion

To enable logging of the Daemon service, follow the steps outlined below:

1) Open Regedit with elevated administrative account. 

2) Browse to "HKLM\SYSTEM\CurrentControlSet\Services\Flexera Corporate Software Inspector Daemon\".

3) Modify the ImagePath value, and append logging arguments -d "C:\<folder>\<logfile.txt>" -v -v -v

For instance: 
"C:\Program Files\Flexera Software\Corporate Software Inspector Daemon\daemon.exe" --service-launch -d "C:\Logs\MyDaemonLog.txt" -v -v -v

4) Restart the Flexera Corporate Software Inspector Daemon service. 

Restarting the service should work out-of-the-box and it should complete without errors.
If you encounter an error, review the ImagePath string and make sure you haven't missed quotes, etc. 
Once the service restarted without errors, the log file you specified in the ImagePath should be created.
You will need to leave the Daemon for a few hours in order to collect data from its own executions. 

To enable enhanced logging for the SVM Daemon service, take the following steps:

1) Open Regedit.

2) Navigate to "HKCU\Software\Secunia\Daemon".

3) Create the following registry keys (if not present already):

a) Create String Value named LogFile and enter the path of the log file, e.g. C:\Enhanced Daemon Log\Daemon.log.

b) Create DWORD (32 bit) Value named LogFileMax and enter the maximum size of the log file, e.g. 8000000 (8 MB).

c) Create DWORD (32 bit) Value named Logging and enter the level of logging 1-4, recommended level is 3.

4) Restart the Flexera Daemon service.

Additional Information

Possible reasons of why the Flexera SVM Daemon service might fail include:
  •  The Run-as-User account for the Flexera Daemon service does not have the appropriate permissions to connect to the SCCM database via ODBC (SQL permissions; Select and Connect).
  •  The Secunia Daemon service is unable to fetch the configuration script from the back-end server due to incorrect CSI User authentication (HTTP 400 errors).
  • The Proxy information provided during Daemon service installation is currently being incorrect.
Was this article helpful? Yes No
No ratings