# Restart logs for services

**URL:** <https://forums.balena.io/t/restart-logs-for-services/370022>\
**Category:** balenaOS\
**Tags:** raspberrypi4\
**Created:** [February 28, 2024, 1:02pm UTC](https://forums.balena.io/t/restart-logs-for-services/370022 "2024-02-28T13:02:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Perzade](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@Perzade](https://forums.balena.io/u/Perzade)\
**Post date:** [February 28, 2024, 1:02pm UTC](https://forums.balena.io/t/restart-logs-for-services/370022/1 "2024-02-28T13:02:07Z")

</div>

I have Balena OS version 4.0.16 deployed on a rpi4 device. Supervisor lock is enabled to avoid random restarts. However, sometimes all services restart randomly and I have checked the system uptime. It seems hardware has not rebooted but only services have restarted. Are there any logs to check why services are restarted at supervisor level.

---

<div class="post-metadata">

**Author:** ![Perzade](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@Perzade](https://forums.balena.io/u/Perzade)\
**Post date:** [March 4, 2024, 10:45am UTC](https://forums.balena.io/t/restart-logs-for-services/370022/2 "2024-03-04T10:45:57Z")

</div>

Attaching health checks

 ![image](https://global.discourse-cdn.com/balena/original/2X/d/db11cf287946acb83bdb488f79ed85143fd5f11a.png)

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [March 5, 2024, 11:53am UTC](https://forums.balena.io/t/restart-logs-for-services/370022/3 "2024-03-05T11:53:40Z")

</div>

Hello @Perzade did you check more logs of the device?

Usually when balenaEngine is crashlooping might be caused due a disk corruption. Could you please try to update the balenaOS and see what happens?

---

<div class="post-metadata">

**Author:** ![Perzade](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@Perzade](https://forums.balena.io/u/Perzade)\
**Post date:** [March 5, 2024, 12:09pm UTC](https://forums.balena.io/t/restart-logs-for-services/370022/4 "2024-03-05T12:09:02Z")

</div>

It is the latest OS version 4.0.16 as I have mentioned before. I couldn’t find more info. Can you share what logs can be checked further?

---

<div class="post-metadata">

**Author:** ![Perzade](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@Perzade](https://forums.balena.io/u/Perzade)\
**Post date:** [March 5, 2024, 12:13pm UTC](https://forums.balena.io/t/restart-logs-for-services/370022/5 "2024-03-05T12:13:36Z")

</div>

HW is rpi CM4 with 16GB EMMC & 4GB RAM. I checked the corruption and it shows failed status for 1 file only.

 ![image](https://global.discourse-cdn.com/balena/original/2X/0/0db2f135219eb7bddf4cf68b65d3ca3afe1440fd.png)

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [March 5, 2024, 12:32pm UTC](https://forums.balena.io/t/restart-logs-for-services/370022/6 "2024-03-05T12:32:55Z")

</div>

Ok! I thought you were using a Raspberry Pi 4 with a SD card @Perzade

Could you please try

```auto
balena ps -a

```

You can also check the **journalctl** logs for messages related to **balena** :

```auto
journalctl -fn 100 -u balena

```

---

<div class="post-metadata">

**Author:** ![Perzade](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@Perzade](https://forums.balena.io/u/Perzade)\
**Post date:** [March 7, 2024, 9:42am UTC](https://forums.balena.io/t/restart-logs-for-services/370022/7 "2024-03-07T09:42:16Z")

</div>

Hey…I couldn’t find anything more in the logs. How often are health check reports updated? I am getting same output for past 24hrs even when all service have been working well for over a day.
