Need help figuring out what is triggering a shutdown

Started by derek@stayawake.io, Today at 05:05:26 PM

Previous topic - Next topic
Today at 05:05:26 PM Last Edit: Today at 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 Today at 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 Today at 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.