Need help figuring out what is triggering a shutdown

Started by derek@stayawake.io, July 17, 2026, 05:05:26 PM

Previous topic - Next topic
July 17, 2026, 05:05:26 PM Last Edit: July 17, 2026, 05:07:11 PM by derek@stayawake.io
Hello there. The last two mornings in a row the MSI NUC I have running OPNsense has been powered off. I'm not particularly savvy at cross-referencing logs on BSD. The General log shows the shutdown but doesn't indicate what initiated it.

2026-07-17T06:55:41-05:00 Notice syslog-ng syslog-ng shutting down; version='4.11.0'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82745] >>> Invoking stop script 'config'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82745] >>> Invoking backup script 'rrd'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82745] >>> Invoking backup script 'netflow'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82745] >>> Invoking backup script 'captiveportal'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82745] >>> Invoking stop script 'backup'
2026-07-17T06:55:40-05:00 Notice kernel <118>[82744] Stopping flowd_aggregate...done
2026-07-17T06:55:39-05:00 Notice kernel <118>[82744] Waiting for PIDS: 78290.
2026-07-17T06:55:39-05:00 Notice kernel <118>[82744] Stopping hostwatch.
2026-07-17T06:55:39-05:00 Notice kernel <118>[82744] Waiting for PIDS: 84382 84604.
2026-07-17T06:55:39-05:00 Notice kernel <118>[82744] Stopping flowd.
2026-07-17T06:55:39-05:00 Notice kernel <118>[82731] Waiting for PIDS: 11430.
2026-07-17T06:55:26-05:00 Notice kernel <118>[82731] Stopping redis.
2026-07-17T06:55:26-05:00 Notice kernel <118>[82731] >>> Invoking stop script 'freebsd'
2026-07-17T06:55:25-05:00 Notice kernel <118>[82730] >>> Invoking stop script 'beep'

2026-07-16T06:09:01-05:00 Notice syslog-ng syslog-ng shutting down; version='4.11.0'
2026-07-16T06:09:00-05:00 Notice kernel <118>[3779695] >>> Invoking stop script 'config'
2026-07-16T06:09:00-05:00 Notice kernel <118>[3779695] >>> Invoking backup script 'rrd'
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] >>> Invoking backup script 'netflow'
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] >>> Invoking backup script 'captiveportal'
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] >>> Invoking stop script 'backup'
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Stopping flowd_aggregate...done
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Waiting for PIDS: 5374.
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Stopping hostwatch.
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Waiting for PIDS: 88349 89060.
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Stopping flowd.
2026-07-16T06:08:59-05:00 Notice kernel <118>[3779681] Waiting for PIDS: 75703.
2026-07-16T06:08:45-05:00 Notice kernel <118>[3779681] Stopping redis.
2026-07-16T06:08:45-05:00 Notice kernel <118>[3779681] >>> Invoking stop script 'freebsd'
2026-07-16T06:08:44-05:00 Notice kernel <118>[3779679] >>> Invoking stop script 'beep'

System Specs:

MSI Cubi NUC 1MG-295US
Intel Core 3-100U 2024 6-core
500 GB SSD NVME
16 GB DDR5 @ 5200 MHz

Quote from: derek@stayawake.io on July 17, 2026, 05:05:26 PM2026-07-17T06:55:39-05:00 Notice kernel <118>[82744] Stopping hostwatch.

2026-07-16T06:08:59-05:00 Notice kernel <118>[3779695] Stopping hostwatch.
That's at least one service you can disable if you are not using it because it's known for causing issues since it's release :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Quote from: nero355 on July 17, 2026, 05:39:01 PMThat's at least one service you can disable if you are not using it because it's known for causing issues since it's release :)

Noted and disabled.

Could it be something/one poking that nice big bright power button? I don't see a BIOS manual for it; similar MSI devices don't seem to have an option to disable ACPI power-off. It's a reach, but I've seen similar.

Quote from: pfry on July 17, 2026, 06:47:38 PMCould it be something/one poking that nice big bright power button? I don't see a BIOS manual for it; similar MSI devices don't seem to have an option to disable ACPI power-off. It's a reach, but I've seen similar.

There is a seven year-old and a cat in this house. If the cat could manage it, I'd be shocked, not having opposable thumbs an all. I'm pretty sure the kid doesn't know the device is there but I'll make sure she knows. I guess I have an old cam I could point at that area to catch any culprits. I will check the BIOS for any settings that might help with prevention or recovery.

Quote from: derek@stayawake.io on July 17, 2026, 07:28:53 PMIf the cat could manage it, I'd be shocked, not having opposable thumbs an all.
"Cat Admin" is a real thing... Wouldn't be the first time... LOL! ^_^
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)