Hi,
I have mailcow dockered, its all good but becomes unhealthy when i restart CSF, upon checking logs:
unbound-mailcow-1 | 2024-09-02 19:52:49,682 INFO stopped: unbound (exit status 0)
unbound-mailcow-1 | 2024-09-02 19:52:49,685 WARN received SIGQUIT indicating exit request
unbound-mailcow-1 | Sep 2 19:52:49 0d5cbdbae185 syslog-ng[23]: syslog-ng shutting down; version=‘4.7.1’
unbound-mailcow-1 | 2024-09-02 19:52:50,846 INFO stopped: syslog-ng (exit status 0)
unbound-mailcow-1 | 2024-09-02 19:52:50,847 WARN stopped: processes (terminated by SIGTERM)
unbound-mailcow-1 | Setting console permissions…
unbound-mailcow-1 | Receiving anchor key…
unbound-mailcow-1 | Receiving root hints…
######################################################################## 100.0%
unbound-mailcow-1 | setup in directory /etc/unbound
unbound-mailcow-1 | removing artifacts
unbound-mailcow-1 | Setup success. Certificates created. Enable in unbound.conf file to use
unbound-mailcow-1 | 2024-09-02 19:53:15,115 INFO Set uid to user 0 succeeded
unbound-mailcow-1 | 2024-09-02 19:53:15,128 INFO supervisord started with pid 1
unbound-mailcow-1 | 2024-09-02 19:53:16,130 INFO spawned: ‘processes’ with pid 16
unbound-mailcow-1 | 2024-09-02 19:53:16,137 INFO spawned: ‘syslog-ng’ with pid 17
unbound-mailcow-1 | 2024-09-02 19:53:16,166 INFO spawned: ‘unbound’ with pid 18
unbound-mailcow-1 | 2024-09-02 19:53:16,192 INFO spawned: ‘unbound-healthcheck’ with pid 19
unbound-mailcow-1 | [1725295996] unbound[18:0] notice: init module 0: validator
unbound-mailcow-1 | [1725295996] unbound[18:0] notice: init module 1: iterator
unbound-mailcow-1 | Sep 2 19:53:16 0d5cbdbae185 syslog-ng[17]: syslog-ng starting up; version=‘4.7.1’
unbound-mailcow-1 | [1725295996] unbound[18:0] info: start of service (unbound 1.20.0).
unbound-mailcow-1 | [1725295996] unbound[18:0] info: generate keytag query _ta-4f66. NULL IN
unbound-mailcow-1 | 2024-09-02 19:53:17,443 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
unbound-mailcow-1 | 2024-09-02 19:53:17,443 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
unbound-mailcow-1 | 2024-09-02 19:53:17,443 INFO success: unbound entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
unbound-mailcow-1 | 2024-09-02 19:53:17,443 INFO success: unbound-healthcheck entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
unbound-mailcow-1 | 2024-09-02 19:55:52: Healthcheck: Failed to ping 1.1.1.1 on attempt 1. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:04: Healthcheck: Failed to ping 1.1.1.1 on attempt 2. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:16: Healthcheck: Failed to ping 1.1.1.1 on attempt 3. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:16: Healthcheck: Couldn’t ping 1.1.1.1 after 3 attempts. Marking this IP as failed.
unbound-mailcow-1 | 2024-09-02 19:56:28: Healthcheck: Failed to ping 8.8.8.8 on attempt 1. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:40: Healthcheck: Failed to ping 8.8.8.8 on attempt 2. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:52: Healthcheck: Failed to ping 8.8.8.8 on attempt 3. Trying again…
unbound-mailcow-1 | 2024-09-02 19:56:52: Healthcheck: Couldn’t ping 8.8.8.8 after 3 attempts. Marking this IP as failed.
unbound-mailcow-1 | 2024-09-02 19:57:04: Healthcheck: Failed to ping 9.9.9.9 on attempt 1. Trying again…
unbound-mailcow-1 | 2024-09-02 19:57:16: Healthcheck: Failed to ping 9.9.9.9 on attempt 2. Trying again…
unbound-mailcow-1 | 2024-09-02 19:57:28: Healthcheck: Failed to ping 9.9.9.9 on attempt 3. Trying again…
so then i check from the container itself, as soon as i restart docker, its healthy, im in the container and can dig, when it becomes unhealthy dig doesn’t work inside the container.
What could be wrong here?
I double-checked all ports are opened….unbound container is healthy without CSF
Any support is appreciated.