# Almost all services dead after some time

**URL:** https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095
**Category:** Troubleshooting
**Created:** [4 December 2024 18:17 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095 "2024-12-04T18:17:23Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![hmtec99](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hmtec99](https://dietpi.com/forum/u/hmtec99)
#### Post date: [4 December 2024 18:17 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/1 "2024-12-04T18:17:23Z")

</div>

Maybe this is the problem… but whats the cause?

Dez 04 18:53:25 server kernel: EXT4-fs error (device mmcblk1p2): \_\_ext4\_find\_entry:1622: inode #136832: comm squeezeboxserve: checksumming directory block 0

```auto

In this state I got errors like this when execution everyday tasks:

```

root@server:/# dmesg -T  
-bash: /usr/bin/dmesg: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei

```auto

translated by me:

cannot execute binary: error in programfile format

after a reboot everything is running again for some time...
```

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [4 December 2024 19:56 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/2 "2024-12-04T19:56:49Z")

</div>

Anything wrong with our trouble shooting template or why did you ignored it?

Can you share some more details on your system pls

#### Required

- DietPi version | `cat /boot/dietpi/.version`
- Distro version | `echo $G_DISTRO_NAME $G_RASPBIAN`
- Kernel version | `uname -a`
- Architecture | `dpkg --print-architecture`
- SBC model | `echo $G_HW_MODEL_NAME` or (EG: RPi3)
- SDcard used | (EG: SanDisk ultra)

Especially about the used storage device, SD card, USB attached HDD/SSD, eMMC aso.

As well following would be helpful

```auto
df -h
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid

```

---

<div class="post-metadata">

### Author: ![hmtec99](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hmtec99](https://dietpi.com/forum/u/hmtec99)
#### Post date: [5 December 2024 09:09 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/3 "2024-12-05T09:09:19Z")

</div>

deleted

---

<div class="post-metadata">

### Author: ![hmtec99](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hmtec99](https://dietpi.com/forum/u/hmtec99)
#### Post date: [5 December 2024 09:22 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/4 "2024-12-05T09:22:28Z")

</div>

for diag i changed the following in /etc/systemd/journald.conf

```auto
[...]
[Journal]
**Storage=persistent**
#Compress=yes

```

But after hard reset (as ssh doesn’t work either after some point in time) there’s always only on boot to select:

```auto
root@server:~# journalctl --list-boots
Journal file /var/log/journal/bffaf240bb144a43a216fe42d351c598/system@00000000000000000000000000000000-0000000000000000-0000000000000000.journal is truncated, ignoring file.
IDX BOOT ID FIRST ENTRY LAST ENTRY
  0 fa94be513ce5487d86e5718942b7d9be Thu 2024-12-05 10:17:02 CET Thu 2024-12-05 10:21:45 CET

```

Is there anything more I have to modify for logging more than one boot process?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 December 2024 09:36 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/5 "2024-12-05T09:36:43Z")

</div>

Hmm how is the external drive powered? We recommend using powered USB hub or enclosure.

---

<div class="post-metadata">

### Author: ![hmtec99](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hmtec99](https://dietpi.com/forum/u/hmtec99)
#### Post date: [5 December 2024 10:35 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/6 "2024-12-05T10:35:14Z")

</div>

there’s no external drive (except usb-stick for backup)… it’s a radxa 5b with m2 ssd

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 December 2024 10:46 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/7 "2024-12-05T10:46:00Z")

</div>

if system is hanging, would be good to check for kernel error messages. At least if you still have access

```auto
dmesg -l 0,1,2,3

```

As well you can try to enable persistente logs

persistent system logs:

```auto
dietpi-software uninstall 103 # uninstalls DIetPi-RAMlog
mkdir /var/log/journal # triggers systemd-journald logs to disk
reboot # required to finalise the RAMlog uninstall
```

Then you can check system logs via:

```auto
journalctl
```

which will then show as well logs from previous boot sessions. To limit the size, you can additionally e.g. apply the following:

```auto
mkdir -p /etc/systemd/journald.conf.d
cat << '_EOF_' > /etc/systemd/journald.conf.d/99-custom.conf
[Journal]
SystemMaxFiles=2
MaxFileSec=7day
_EOF_
```

This will limit logs to 14 days split across two journal files, so that with rotation you will always have between 7 and 14 days of logs available.

---

<div class="post-metadata">

### Author: ![hmtec99](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hmtec99](https://dietpi.com/forum/u/hmtec99)
#### Post date: [16 December 2024 22:55 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/8 "2024-12-16T22:55:18Z")

</div>

OK. I think I got the root cause for this problem.

After transfer of the image from emmc to micro sd erverything is running fine again.

So the emmc seems to be damaged…

Thank you for your help!

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [16 March 2025 22:56 UTC](https://dietpi.com/forum/t/almost-all-services-dead-after-some-time/22095/9 "2025-03-16T22:56:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
