zmupdate.pl throwing errors
Posted: Thu May 12, 2016 1:11 pm
I recently compiled ZM from source on Gentoo and everything was working great. I just now recompiled from source because I wanted to try libvlc and in doing so updated to the latest source files from git.
When restarting ZM I get the following in my logs:
Not unexpected and I've had this before. I stop ZM and run zmupdate.pl -f but this throws these errors:
I don't know where to go from here. It doesn't look a db issue to me. Can anyone point me in the right direction? If I can provide any more info please ask.
Thanks in advance.
When restarting ZM I get the following in my logs:
Code: Select all
ERR [Config mismatch, expected 213 items, read 211. Try running 'zmupdate.pl -f' to reload config.]
Code: Select all
Use of uninitialized value $Config{"ZM_DIR_EVENTS"} in pattern match (m//) at /usr/bin/zmupdate.pl line 82.
Use of uninitialized value $Config{"ZM_PATH_WEB"} in concatenation (.) or string at /usr/bin/zmupdate.pl line 82.
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmupdate.pl line 82.
Use of uninitialized value $Config{"ZM_WEB_USER"} in getpwnam at /usr/bin/zmupdate.pl line 90.
Use of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Logger.pm line 156.
Use of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Logger.pm line 206.
Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in pattern match (m//) at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Database.pm line 83.
Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_NAME"} in concatenation (.) or string at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Database.pm line 96.
Use of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Database.pm line 96.
DBI connect('database=;host=','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Database.pm line 96.
Can't call method "trace" on an undefined value at /usr/lib64/perl5/vendor_perl/5.20.2/ZoneMinder/Database.pm line 102.
Thanks in advance.