install issues on Fedora 20
Posted: Sun Aug 10, 2014 2:04 am
It looks like the docs aren't entirely accurate for the README.Fedora in Fedora 20. There is no longer a mysqld-server, it's now called maria. But that's just minor compared to what I'm now running into.
I've got at least a dozen things I've had to add to zm.conf because it bombs when trying to start the process. An example:
[root@localhost zoneminder]# systemctl status zoneminder.service -l
zoneminder.service - Video security and surveillance system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-08-09 22:47:47 ADT; 43s ago
Process: 1754 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=2)
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Logger.pm line 153.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN not safe after errors--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Logger.pm line 168.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 34.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 34.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Aug 09 22:47:47 localhost.localdomain systemd[1]: zoneminder.service: control process exited, code=exited status=2
Aug 09 22:47:47 localhost.localdomain systemd[1]: Failed to start Video security and surveillance system.
Aug 09 22:47:47 localhost.localdomain systemd[1]: Unit zoneminder.service entered failed state.
[root@localhost zoneminder]# vi /etc/zm.conf
So I added each new one every time it bombs, as most of them have been easy so far.
But I'm stuck on one now:
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Bareword "ZM_PATH_MAP" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 83.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 120.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Aug 09 22:53:18 localhost.localdomain systemd[1]: zoneminder.service: control process exited, code=exited status=2
Aug 09 22:53:18 localhost.localdomain systemd[1]: Failed to start Video security and surveillance system.
Aug 09 22:53:18 localhost.localdomain systemd[1]: Unit zoneminder.service entered failed state.
[root@localhost zoneminder]# vi /usr/share/perl5/vendor_perl/ZoneMinder/General.pm
[root@localhost zoneminder]# vi /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm
How do I know what to set that to?
Also, is there a more updated zm.conf that may have all these things already in place with some kind of default values?
I've previously been running version 1.22, and just wiped the whole thing to start fresh on Fedora 20. Having lots of install issues, though...
I've got at least a dozen things I've had to add to zm.conf because it bombs when trying to start the process. An example:
[root@localhost zoneminder]# systemctl status zoneminder.service -l
zoneminder.service - Video security and surveillance system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-08-09 22:47:47 ADT; 43s ago
Process: 1754 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=2)
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Logger.pm line 153.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN not safe after errors--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Logger.pm line 168.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 34.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 34.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 09 22:47:47 localhost.localdomain zmpkg.pl[1754]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Aug 09 22:47:47 localhost.localdomain systemd[1]: zoneminder.service: control process exited, code=exited status=2
Aug 09 22:47:47 localhost.localdomain systemd[1]: Failed to start Video security and surveillance system.
Aug 09 22:47:47 localhost.localdomain systemd[1]: Unit zoneminder.service entered failed state.
[root@localhost zoneminder]# vi /etc/zm.conf
So I added each new one every time it bombs, as most of them have been easy so far.
But I'm stuck on one now:
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Bareword "ZM_PATH_MAP" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 83.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 120.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 09 22:53:18 localhost.localdomain zmpkg.pl[1784]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Aug 09 22:53:18 localhost.localdomain systemd[1]: zoneminder.service: control process exited, code=exited status=2
Aug 09 22:53:18 localhost.localdomain systemd[1]: Failed to start Video security and surveillance system.
Aug 09 22:53:18 localhost.localdomain systemd[1]: Unit zoneminder.service entered failed state.
[root@localhost zoneminder]# vi /usr/share/perl5/vendor_perl/ZoneMinder/General.pm
[root@localhost zoneminder]# vi /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm
How do I know what to set that to?
Also, is there a more updated zm.conf that may have all these things already in place with some kind of default values?
I've previously been running version 1.22, and just wiped the whole thing to start fresh on Fedora 20. Having lots of install issues, though...