zoneminder won't start error about ip address
Posted: Thu Dec 12, 2019 2:18 am
Hi
Save an old man, I am trying to set up zoneminder on a centos 7 desktop computer. Starting by systemctl start zoneminder.service begats
Thanks
Jim
Save an old man, I am trying to set up zoneminder on a centos 7 desktop computer. Starting by systemctl start zoneminder.service begats
The Host '192.168.2.70' is not allowed is possibly from when this computer was first started and dns gave it that ip addr but its now a static 192.168.2.11 I have no idea where its picking up the 192.168.2.70 from its not in the /etc/hosts file.â zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/zoneminder.service.d
ââzm-httpd.conf
Active: failed (Result: exit-code) since Wed 2019-12-11 18:07:40 PST; 2s ago
Process: 20958 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: DBI connect('database=zm;host=192.168.2.11','zmuser',...) failed: Host '192.168.2.70' is not allowed to connect to this MariaDB server at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 113.
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: Can't connect to db at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 166.
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 166.
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Dec 11 18:07:40 ace.light zmpkg.pl[20958]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Dec 11 18:07:40 ace.light systemd[1]: zoneminder.service: control process exited, code=exited status=255
Dec 11 18:07:40 ace.light systemd[1]: Failed to start ZoneMinder CCTV recording and security system.
Dec 11 18:07:40 ace.light systemd[1]: Unit zoneminder.service entered failed state.
Dec 11 18:07:40 ace.light systemd[1]: zoneminder.service failed.
Thanks
Jim