Rpi 4B-8G, 2T SSD, 10 IP cams, 203,000 events-Offline
Posted: Mon Dec 04, 2023 12:33 am
Installed Ubuntu 22.04 using Rpi bootloader on 4B-8G, booting from 125G SSD, running 10 Lorex
IP cameras at 1280x720@2FPS. Current ZM v1.36.33. This was an experimental install around Oct
2022 and currently still running with few to no issues.
Beginning Dec 2022, installed Ubuntu 22.04 using same Rpi bootloader on a 2nd 4B-8G, this time
booting from a 2T SSD, with the same 10 Lorex IP cameras at 1280x720@2FPS. Again, this install
ran with few to no issues since Dec 2, 2022 to Oct 2023 accumulating 203,000 events. PurgeWhenFull
set at 70%, 1.1T Used,649G Available. This install created to see if one year worth of events could
be realized. I almost made it.
What went wrong? On 2nd Rpi booted from 2T SSD, performed usual update only this time, received an error message stating issue with libevent fail to update, refer to libevent docs. Docs gave little resolve info, so did usual apt removed/install. Ended with "libevent-2.1-7/jammy,now 2.1.12-stable-1build3 arm64 [installed]".
Upon reboot and attempt to log into Zoneminder, this message is displayed,
"ZoneMinder Error
Unable to connect to ZM db using dsn mysql:host=localhost;dbname=zm;charset=utf8
SQLSTATE[HY000] [2002] No such file or directory
ZoneMinder will retry connection in 15 seconds."
I'm not sure whether the libvent remove/install played a role however, the libvent is same
version which resides on the other Rpi 4B-8G 125G SSD. The 203,000 events may be an
issue however, I do not believe the PurgeWhenFull set at 70% has been reached causing a large
dump of old events. Quite possibly ram may be an issue, however htop never indicated excessive
use of ram. I reviewed log files but never seen anything that talked to me as definitive clue
what has occurred. Logs can be quite cryptic.
At any rate, I present this situation to the forum with hopes it can be revived. I'm tickled the
little Raspberry Pi has preformed so well dealing with all the event files on this system. I would
like to resume its operation if at all possible. If not, I have a 1T SSD coming that I will
configure in its place while retaining events that exist on the 2T SSD.
Any thoughts?
Thanks for reading...
IP cameras at 1280x720@2FPS. Current ZM v1.36.33. This was an experimental install around Oct
2022 and currently still running with few to no issues.
Beginning Dec 2022, installed Ubuntu 22.04 using same Rpi bootloader on a 2nd 4B-8G, this time
booting from a 2T SSD, with the same 10 Lorex IP cameras at 1280x720@2FPS. Again, this install
ran with few to no issues since Dec 2, 2022 to Oct 2023 accumulating 203,000 events. PurgeWhenFull
set at 70%, 1.1T Used,649G Available. This install created to see if one year worth of events could
be realized. I almost made it.
What went wrong? On 2nd Rpi booted from 2T SSD, performed usual update only this time, received an error message stating issue with libevent fail to update, refer to libevent docs. Docs gave little resolve info, so did usual apt removed/install. Ended with "libevent-2.1-7/jammy,now 2.1.12-stable-1build3 arm64 [installed]".
Upon reboot and attempt to log into Zoneminder, this message is displayed,
"ZoneMinder Error
Unable to connect to ZM db using dsn mysql:host=localhost;dbname=zm;charset=utf8
SQLSTATE[HY000] [2002] No such file or directory
ZoneMinder will retry connection in 15 seconds."
I'm not sure whether the libvent remove/install played a role however, the libvent is same
version which resides on the other Rpi 4B-8G 125G SSD. The 203,000 events may be an
issue however, I do not believe the PurgeWhenFull set at 70% has been reached causing a large
dump of old events. Quite possibly ram may be an issue, however htop never indicated excessive
use of ram. I reviewed log files but never seen anything that talked to me as definitive clue
what has occurred. Logs can be quite cryptic.
At any rate, I present this situation to the forum with hopes it can be revived. I'm tickled the
little Raspberry Pi has preformed so well dealing with all the event files on this system. I would
like to resume its operation if at all possible. If not, I have a 1T SSD coming that I will
configure in its place while retaining events that exist on the 2T SSD.
Any thoughts?
Thanks for reading...