Zoneminder failing to install on Linux Mint 20.3
Posted: Sun Oct 02, 2022 12:56 pm
Hi,
I was having issues with zoneminder so I removed and purged it (using apt) , also deleted events folder. When I tried to install it, via apt, I get the following error:
Setting up zoneminder (1.36.26-focal1) ...
detected systemd
Detected db service is mysql.service
Checking for db
Db exists.
Updating permissions for user zmuser@localhost
Socket.pm did not return a true value at /usr/lib/x86_64-linux-gnu/perl/5.30/Sys/Syslog.pm line 10.
BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/perl/5.30/Sys/Syslog.pm line 10.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Logger.pm line 107.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 107.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Database.pm line 67.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Database.pm line 67.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Config.pm line 76.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150.
Compilation failed in require at /usr/bin/zmupdate.pl line 74.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74.
Error updating db.
dpkg: error processing package zoneminder (--configure):
installed zoneminder package post-installation script subprocess returned error exit status 1
I have confirmed that the dbuser zmuser exists and has the correct password, from zm.conf.
I'm running Linux Mint 20.3 and kernel 5.4.0-126-generic if that's any help.
Any pointers to resolve this would be appreciated.
Cheers
Ian
I was having issues with zoneminder so I removed and purged it (using apt) , also deleted events folder. When I tried to install it, via apt, I get the following error:
Setting up zoneminder (1.36.26-focal1) ...
detected systemd
Detected db service is mysql.service
Checking for db
Db exists.
Updating permissions for user zmuser@localhost
Socket.pm did not return a true value at /usr/lib/x86_64-linux-gnu/perl/5.30/Sys/Syslog.pm line 10.
BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/perl/5.30/Sys/Syslog.pm line 10.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Logger.pm line 107.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 107.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Database.pm line 67.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Database.pm line 67.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Config.pm line 76.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150.
Compilation failed in require at /usr/bin/zmupdate.pl line 74.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74.
Error updating db.
dpkg: error processing package zoneminder (--configure):
installed zoneminder package post-installation script subprocess returned error exit status 1
I have confirmed that the dbuser zmuser exists and has the correct password, from zm.conf.
I'm running Linux Mint 20.3 and kernel 5.4.0-126-generic if that's any help.
Any pointers to resolve this would be appreciated.
Cheers
Ian