I did the install following the wiki https://wiki.zoneminder.com/Installing_ ... s_for_SuSE, and "Installation of ZoneMinder using YaST" and the package from Project home:Monex:stable, ZoneMinder-1.30.4-2.1.x86_64.rpm.
Mysql and apache2 setup goes fine and running "zm_database_init" seems to work as expected and a "zm" sql database is created. However when I run (as root)
# systemctl start zm.service I get:
Job for zm.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status zm.service" and "journalctl -xe" for details.
Output of # "systemctl status zm.service" and "journalctl -xe" are shown below.
I can access the zm console @ http://localhost/zm/index.php and would be happy to provide any logs or other output that might help resolve this issue. Please let me know if there is anything I can do.
Thanks!
Eric
Code: Select all
localhost:/home/ej # systemctl status zm.service
● zm.service - ZoneMinder Video Surveillance System
Loaded: loaded (/usr/lib/systemd/system/zm.service; disabled; vendor preset: disabled)
Active: failed (Result: protocol) since Mon 2018-06-04 17:58:05 PDT; 5s ago
Process: 4036 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Jun 04 17:58:04 localhost.localdomain sudo[4109]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmc -m 1
Jun 04 17:58:04 localhost.localdomain sudo[4113]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmfilter.pl
Jun 04 17:58:04 localhost.localdomain sudo[4119]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmaudit.pl -c
Jun 04 17:58:05 localhost.localdomain sudo[4124]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmwatch.pl
Jun 04 17:58:05 localhost.localdomain sudo[4132]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
Jun 04 17:58:05 localhost.localdomain sudo[4138]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmtelemetry.pl
Jun 04 17:58:05 localhost.localdomain systemd[1]: zm.service: New main PID 4070 does not belong to service, and PID file is not owned by root. Refusing.
Jun 04 17:58:05 localhost.localdomain systemd[1]: zm.service: New main PID 4070 does not belong to service, and PID file is not owned by root. Refusing.
Jun 04 17:58:05 localhost.localdomain systemd[1]: zm.service: Failed with result 'protocol'.
Jun 04 17:58:05 localhost.localdomain systemd[1]: Failed to start ZoneMinder Video Surveillance System.
Code: Select all
# journalctl -xe
-- Unit session-c35.scope has finished starting up.
--
-- The start-up result is RESULT.
Jun 05 17:21:26 localhost.localdomain sudo[28856]: pam_unix(sudo:session): session opened for user wwwrun by (uid=0)
Jun 05 17:21:26 localhost.localdomain zmdc[28862]: INF ['zmwatch.pl' started at 18/06/05 17:21:26]
Jun 05 17:21:26 localhost.localdomain zmdc[28821]: INF ['zmwatch.pl' starting at 18/06/05 17:21:26, pid = 28862]
Jun 05 17:21:26 localhost.localdomain sudo[28856]: pam_unix(sudo:session): session closed for user wwwrun
Jun 05 17:21:26 localhost.localdomain sudo[28864]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
Jun 05 17:21:26 localhost.localdomain systemd[1]: Started Session c36 of user wwwrun.
-- Subject: Unit session-c36.scope has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-c36.scope has finished starting up.
--
-- The start-up result is RESULT.
Jun 05 17:21:26 localhost.localdomain sudo[28864]: pam_unix(sudo:session): session opened for user wwwrun by (uid=0)
Jun 05 17:21:26 localhost.localdomain zmwatch[28862]: INF [Watchdog starting]
Jun 05 17:21:26 localhost.localdomain zmwatch[28862]: INF [Watchdog pausing for 30 seconds]
Jun 05 17:21:26 localhost.localdomain zmdc[28868]: INF ['zmupdate.pl -c' started at 18/06/05 17:21:26]
Jun 05 17:21:26 localhost.localdomain zmdc[28821]: INF ['zmupdate.pl -c' starting at 18/06/05 17:21:26, pid = 28868]
Jun 05 17:21:26 localhost.localdomain sudo[28864]: pam_unix(sudo:session): session closed for user wwwrun
Jun 05 17:21:26 localhost.localdomain sudo[28870]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl start zmtelemetry.pl
Jun 05 17:21:26 localhost.localdomain systemd[1]: Started Session c37 of user wwwrun.
-- Subject: Unit session-c37.scope has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-c37.scope has finished starting up.
--
-- The start-up result is RESULT.
Jun 05 17:21:26 localhost.localdomain sudo[28870]: pam_unix(sudo:session): session opened for user wwwrun by (uid=0)
Jun 05 17:21:26 localhost.localdomain zmupdate[28868]: INF [Checking for updates]
Jun 05 17:21:26 localhost.localdomain zmdc[28874]: INF ['zmtelemetry.pl' started at 18/06/05 17:21:26]
Jun 05 17:21:26 localhost.localdomain zmdc[28821]: INF ['zmtelemetry.pl' starting at 18/06/05 17:21:26, pid = 28874]
Jun 05 17:21:26 localhost.localdomain sudo[28870]: pam_unix(sudo:session): session closed for user wwwrun
Jun 05 17:21:26 localhost.localdomain systemd[1]: zm.service: New main PID 28821 does not belong to service, and PID file is not owned by root. Refusing.
Jun 05 17:21:26 localhost.localdomain systemd[1]: zm.service: New main PID 28821 does not belong to service, and PID file is not owned by root. Refusing.
Jun 05 17:21:26 localhost.localdomain systemd[1]: zm.service: Failed with result 'protocol'.
Jun 05 17:21:26 localhost.localdomain systemd[1]: Failed to start ZoneMinder Video Surveillance System.
-- Subject: Unit zm.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zm.service has failed.
--
-- The result is RESULT.
Jun 05 17:21:26 localhost.localdomain zmtelemetry[28874]: INF [Collecting data to send to ZoneMinder Telemetry server.]
Jun 05 17:21:27 localhost.localdomain zmupdate[28868]: INF [Got version: '1.30.0']
Jun 05 17:21:27 localhost.localdomain zmtelemetry[28874]: INF [Sending data to ZoneMinder Telemetry server.]
Jun 05 17:21:27 localhost.localdomain zmtelemetry[28874]: INF [Telemetry data uploaded successfully.]
Jun 05 17:23:00 localhost.localdomain kdeinit5[2545]: ()
Jun 05 17:23:00 localhost.localdomain kdeinit5[2545]: ("/home/ej/Programs/serviio/serviio-1.9.1/library/db/log/log1485.dat")
Jun 05 17:23:00 localhost.localdomain kdeinit5[2545]: ()
Jun 05 17:23:06 localhost.localdomain kdeinit5[2545]: ()
Jun 05 17:23:06 localhost.localdomain kdeinit5[2545]: ("/home/ej/Programs/serviio/serviio-1.9.1/library/db/log/log1485.dat")
Jun 05 17:23:06 localhost.localdomain kdeinit5[2545]: ()