Known Issues
Here are some known issues/limitations in the cloud agents.
Error seen in log file during selfpatch to 1.7.3
You may see the following error in the agent log file /var/log/qualys/qualys-cloud-agent.log
, while the agent upgrades to version 1.7.3 through selfpatch.
2018-08-06 05:27:19.696 [qualys-cloud-agent][8847452]:[Information]:
Next event: INTERVAL_EVENT_EXECUTE_SETUP, time left: 0 seconds
2018-08-06 05:27:19.696 [qualys-cloudagent][8847452]
[Information]:ExecuteSetup: /opt/qualys/cloudagent/setup/qualys-cloud-agent.rpm in progress
2018-08-06 05:27:20.643 [qualys-cloud-agent][8847452]:[Error]:Selfpatch execution failed: error: /opt/qualys/cloud-agent/setup/qualys-cloud-agent.rpm does not appear to be a RPM package
2018-08-06 05:27:20.643 [qualys-cloud-agent][8847452]:[Error]:Failed to install cloud-agent update: /opt/qualys/cloud-agent/setup/qualys-cloud-agent.rpm; no. of failed attempts:1
No action is needed. After a couple of such events, the agent eventually upgrades to version 1.7.3 successfully and starts sending events to the Qualys Cloud Platform.
After the agent is upgraded through selfpatch, the log file is available at /var/opt/qualys/qualys-cloud-agent.log
.
File not found error for ca-bundle.crt
You may see the following error in the agent log file /var/log/qualys/qualys-cloud-agent.log
, while the agent upgrades from rpm (release 1.6.2-34) to lpp.
2019-03-12 01:32:30.973 [qualys-cloud-agent][9175068]:[Information]:Init config file path:/etc/opt/qualys/cloud-agent/qualys-cloud-agent.conf
2019-03-12 01:32:30.974 [qualys-cloud-agent][9175068]:[Information]:Cloud agent version: 2.3.1-20, platform:
AIX
...
2019-03-12 01:32:31.035 [qualys-cloud-agent][9175068]:[Information]:Loaded manifest: 8058a702-3c79-4cf3-9c40-
a654654e3761
2019-03-12 01:32:31.408 [qualys-cloud-agent][9175068]:[Information]:Manifest type: VMPC
2019-03-12 01:32:31.415 [qualys-cloud-agent][9175068]:[Information]:Connection timeout: 60 seconds, Request
timeout: 600 seconds
2019-03-12 01:32:31.420 [qualys-cloud-agent][9175068]:[Information]:Cert
OS: AIX, CA path:/etc/opt/qualys/cloud-agent/ca-bundle.crt
2019-03-12 01:32:31.433 [qualys-cloud-agent][9175068]:[Error]:cloud-agent terminated: exception in main(): File not found:
/etc/opt/qualys/cloud-agent/ca-bundle.crt
This error may occur if the certificate file ca-bundle.crt is located in one of the “qualys” folders such as /var/opt/qualys
, /etc/opt/qualys
, /opt/qualys
, and so on.
We recommend you do not place the ca-bundle.crt file in any of the “qualys” folders.
You can place the ca-bundle.crt file at any place other than the “qualys” folders and then provide the file path in the /etc/qualys/cloud-agent/qagent.config
file in the following manner:
{
"os": "AIX",
"cafile": "<CustomizedPath>"
}
Now restart the Cloud Agent Service.