Category:
Resource – Launchers
Diagnosing a Single PC Issue
If you’re experiencing a problem with your Agilicus Agent on a single PC, these are the primary diagnostic steps you can take:
- Review Log Files:
First, check the contents of the log files located in your agent’s logs directory. These files often contain valuable information about recent activities and errors.- Path:
%LOCALAPPDATA%\Agilicus\Agent\logs - What to look for: Examine the most recent log files for any error messages, warnings, or unexpected behavior.
- Path:
- Run a Debug Refresh:
If the log files don’t reveal the issue, you can force a client refresh with debug logging enabled. This can provide more detailed output about the agent’s operation.- Steps:
- Open a
cmd(Command Prompt) window. - Run the following command:
%LOCALAPAPPDATA%\Agilicus\Agent\agilicus-agent.exe client --cfg-file %LOCALAPPDATA%\Agilicus\Agent\agent.conf.enc.yaml --client-refresh true --debug
- Open a
- Sharing Results (Optional): If you need to share the results of this debug refresh with Agilicus support, you can append the following to the command to save the output to a file:
%LOCALAPAPPDATA%\Agilicus\Agent\agilicus-agent.exe client --cfg-file %LOCALAPPDATA%\Agilicus\Agent\agent.conf.enc.yaml --client-refresh true --debug > "%USERPROFILE%\Desktop\debug.log" 2>&1
After running this, a file nameddebug.logwill be created on your desktop, which you can then share.
- Steps:
- Debug a Specific Launcher:
If the previous steps don’t identify the problem, you can debug the specific launcher directly. This allows you to see any issues related to its specific command execution.- Steps:
- Locate the shortcut icon for the specific launcher you are having trouble with (e.g., on your desktop or Start Menu).
- Right-click the shortcut and select “Properties.”
- In the “Shortcut” tab, find the “Target” field. This field contains the full command line used to launch the application.
- Copy the entire command line from the “Target” field.
- Open a
cmd(Command Prompt) window as your regular user (not as an administrator). - Paste the copied command line into the
cmdwindow. - Append
--debugto the end of the command line. - Press Enter to run the command.
- This will execute the launcher with debug logging, and any remaining issues or output will be displayed directly in the command prompt window.
- Steps:
