-
Notifications
You must be signed in to change notification settings - Fork 26
Debugging
Steve Brasier edited this page Aug 6, 2024
·
1 revision
The filebeat
, opensearch
and mysql
services are containerised using podman. If the podman command fails, in some cases the reason for the failure is not surfaced in the syslog or journal for the service. Debugging this involves trying to run the equivalent command as the podman
user but not under systemd. By default, all these services run on the control node.
Using the opensearch
service as an example.
- SSH into the control node.
- Ensure the service is stopped:
sudo systemctl stop opensearch
. - Find the opensearch unit file, e.g as shown in
systemctl status opensearch
. - Copy the
ExecStart
command from this. - Change to the podman user and that user's home directory:
sudo su podman cd
- Run the ExecStart command but with the
-d/--detach
option removed. - Observe any error messages on stderr.