openSUSE LEAP 15
ZM 1.30.4 ( installed through yast with this repos) (zoneminder-mp exactly)
https://wiki.zoneminder.com/index.php/I ... s_for_SuSE?
mysql works - running
zm_database_init done all good
phpmyadmin works can play with database
apache2 is running
ive followed guide but can not run systemctl start zm.service
also localhost/zm gives me output "Could not open config file."
Can any one have a look and give me advise.
Many thanks in advance
Code: Select all
#
linux-qly8:/home/kofik # systemctl start zm.service
Job for zm.service failed because the control process exited with error code.
See "systemctl status zm.service" and "journalctl -xe" for details.
linux-qly8:/home/kofik # systemd start zm.service
Excess arguments.
linux-qly8:/home/kofik # systemctl status zm
● zm.service - ZoneMinder Video Surveillance System
Loaded: loaded (/usr/lib/systemd/system/zm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-10-02 20:41:05 BST; 9s ago
Process: 11769 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Can't connect to db at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder/Config.pm line 236.
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder/Conf>
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Compilation failed in require at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder.pm line >
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder.pm l>
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Compilation failed in require at /usr/bin/zmpkg.pl line 48.
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Control process exited, code=exited status=255
paź 02 20:41:05 linux-qly8 systemd[1]: Failed to start ZoneMinder Video Surveillance System.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Unit entered failed state.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Failed with result 'exit-code'.
linux-qly8:/home/kofik # journalctl -xe
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Jednostka zm.service się nie powiodła.
--
-- Wynik: failed.
paź 02 20:40:47 linux-qly8 systemd[1]: zm.service: Unit entered failed state.
paź 02 20:40:47 linux-qly8 systemd[1]: zm.service: Failed with result 'exit-code'.
paź 02 20:41:05 linux-qly8 systemd[1]: Starting ZoneMinder Video Surveillance System...
-- Subject: Rozpoczęto uruchamianie jednostki zm.service
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Jednostka zm.service rozpoczęła uruchamianie.
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: DBI connect('database=zm;host=localhost','zm_admin',...) failed: Access denied for use>
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Can't connect to db at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder/Config.pm line 236.
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder/Conf>
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Compilation failed in require at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder.pm line >
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.26.1/ZoneMinder.pm l>
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: Compilation failed in require at /usr/bin/zmpkg.pl line 48.
paź 02 20:41:05 linux-qly8 zmpkg.pl[11769]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Control process exited, code=exited status=255
paź 02 20:41:05 linux-qly8 systemd[1]: Failed to start ZoneMinder Video Surveillance System.
-- Subject: Jednostka zm.service się nie powiodła
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Jednostka zm.service failed.
--
-- Wynik: failed.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Unit entered failed state.
paź 02 20:41:05 linux-qly8 systemd[1]: zm.service: Failed with result 'exit-code'.
paź 02 20:41:15 linux-qly8 systemd[1]: is_symlink_with_known_name(zm.service, zm.service) → 1
lines 1190-1222/1222 (END)