Troubleshooting
Start with the agent log. It has the result of the last report for each delivery method.
The log file
/var/log/drra/drra.log, and journalctl -u drra. Run drra once as root to get a fresh result right away, and drra config to see the settings in use.
Messages
| Message | What to do |
|---|---|
Registration status from server: pending | Approve the host on the admin page (check drra fingerprint), or set the enrollment token |
key_mismatch | The host was reinstalled or its key changed. Delete its old registration on the admin page. |
revoked | An admin revoked the host. Approve it again if that was a mistake. |
bad_timestamp | Fix the clock on the host or the server (chronyd); allowed difference: max_clock_skew_seconds |
bad_token | The enrollment token in drra.ini does not match server.ini |
bad_signature | The request was changed on the way, or the key does not match the registration |
Request to ... failed: SSL certificate problem | The host does not trust the server's certificate: install the CA in the system trust store or set ca_file |
Request to ... failed: Could not resolve host or Connection refused | Check host and port, DNS, and outgoing firewall rules |
Unexpected answer from ... (HTTP 404) | upload_path or register_path is wrong |
NT_STATUS_... | The CIFS copy failed: share name, credentials_file, or permissions on the share |
Host key verification failed | Add the SCP server to known_hosts_file, or use accept-new once |
Scan status failed | Run drra scan to see the error: openscap-scanner missing, the feed cannot be downloaded, or the CSAF/VEX index is missing on the server |
Hook skipped= | The hook file or folder is not owned by root, or is group or world writable |
Server side
STATUS: errorabout saving a registration or a report: the web server user cannot write to the data folder orreports_dir. Check the owner, ACL and, with SELinux, thehttpd_sys_rw_content_tlabel (ls -Z).admin.phprefuses to run: the.htaccesslogin is not active (checkAllowOverride), ordrsm_configis wrong withlogin = drsm.vex_index.phpanswers 404:vex_sync.phphas not built the index yet.- Check the Apache error log for PHP errors.