Troubleshooting agent errors means finding and fixing problems with agents that handle tasks like data collection and monitoring. Key steps include checking error messages, reviewing settings, ensuring connectivity, and updating software. This helps keep everything running smoothly.
Services failed during installation
Symptoms:
- One or more connectors (e.g.,
custom-jdbc-connector,snowflake-pipeline-connector,databricks-connector) fail during installation. -
Error message similar to:
ERROR::Operator - Installation continued despite failure in one module.
Resolution:
- Check connector statusThis command looks for the services installed on the VM. If any service is missing, it was not deployed successfully.
./discli agent status - Restart the operator (recommended)
./discli agent restart operatorRestarting the operator triggers re-deployment of failed services.
- (Optional) Update operator version, if the issue
persists
./discli agent applyOperatorVersion --version=<latest>
Replication Engine test failed with a CDC error
If you test a Replication Engine and the test fails with a CDC‑related error, the message shown in the UI may not explain the root cause. In these cases, you should review the CDC runtime logs on the Agent.
Follow these steps if:
- Replication Engine test fails during setup or validation
- The error mentions CDC, capture, engine, or runtime
- The engine shows Action Required without a clear fix
The Replication Engine depends on the CDC runtime on the Agent. If CDC fails, the engine test can fail even when the UI error is generic. CDC logs are stored on the Agent at: /precisely/connect/cdc/logs
How to view CDC logs
-
Go to the CDC logs directory cd /precisely/connect/cdc/logs
-
Lists available CDC log files
lsYou will typically see files like:
LOCALHOST_51701.log
LOCALHOST_51701_YYYY-MM-DD.N.log
What these files mean:
- LOCALHOST_<port>.log → current CDC runtime log
- LOCALHOST_<port>_<date>.log → older (rotated) log'
-
Opens the CDC log in read‑only mode so you can scroll and review errors safely.
Helpful tips while viewing the log:
- Use arrow keys to scroll
- Type /error to search for errors
- Press q to exit
- Look for any error or exception messages in the CDC log. If you’re unsure how to interpret an error or what it indicates, share the relevant log entries with Precisely Support for further analysis.
Failed agent installation
Installing the agent can sometimes encounter issues due to network issues, insufficient permissions, software conflicts, corrupt installation files, or unmet system requirements.
The agent CLI tool provides commands to manage the agent services, which are essential for ensuring optimal performance. Use these commands to diagnose and resolve common issues that can arise during the installation and runtime of the agent.
| Scenario | Solution |
|---|---|
| To list all running agent services. |
./discli agent status
|
| To check agent communication with cloud services. If you get agent details logged in the console, then communication is good. If not, restart the operator service. |
./discli agent details
|
| If you observe one or more failed services, restart the operator service to start the failed services. |
./discli agent restart operator
|
| To retrieve the individual service logs. |
./discli agent logs operator
|
| If the machine restarts, start the agent again. |
./discli agent start
|
| To stop and start the agent service again. Note: This will not fix the issues in the k3s service.
|
Run the commands in this order:
|
| If disk is nearly full and disk space is low, Kubernetes services may stop automatically. | Free up disk space and then restart the k3s agent using the steps above. |
If the agent installation fails with an
error relating to
keytool/bc-fips, then
follow the manual installation steps and
retry the installation. |
|
Log management
This section outlines the key log directories and commands used for monitoring and troubleshooting in the Data Integrity Suite.
-
/logs/precisely/all- This directory contains all log files related to the application. It serves as a centralized location for monitoring and troubleshooting the application's performance and errors. -
/precisely/agent/install/logs- This directory contains installation logs for the agent. These logs provide detailed information about the installation process, helping to diagnose any issues that may arise during setup.
Log collection
Solution: To address more complex scenarios, use the
disdiag.sh utility. This tool gathers not
only logs but also configuration details, metadata, and
environmental information, offering a holistic view needed for
advanced troubleshooting.
The utility is not included by default and must be downloaded manually. You can always find the latest version and knowledge base article: Creating Agent Diagnostic Bundles – Precisely KB
Steps to run the diagnostic utility
To generate a diagnostic bundle, you can generally follow these steps:
-
Sign in to the platform where the diagnostic tool will be used.
-
Download the diagnostic script or utility as described in the above knowledge base article.
-
Follow the instructions in the article to run the tool, as usage details may differ.
-
After execution, locate the generated diagnostic output file following guidance in the article.
Information to include when reporting an issue
When submitting an issue to support, please attach the generated diagnostic bundle and provide the following information:
-
A clear description of the issue (including observed behavior and any error messages)
- Approximate time the issue occurred (please include relevant time zone)
- Relevant environment details (such as affected workspace, project, or instance)