job for zoneminder.service failed...

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
fontes31
Posts: 8
Joined: Sun Sep 16, 2018 1:51 pm

job for zoneminder.service failed...

Post by fontes31 » Sun Sep 16, 2018 1:55 pm

Hi,

I tried to install zoneminder 1.32 on my ubuntu 16.04 server, but i have this error.
i try to open it on http://myip/zm and i have could not open config file.
I run service zoneminder start and i have the error - "Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details"
I run journalctl -xe and i have this (i followed the wiki 1.32 easy install"



-- Unit zoneminder.service has begun starting up.
Sep 16 14:47:55 Media zmpkg.pl[13881]: DBI connect('database=zm;host=localhost','fontes31',...) failed: Access den
Sep 16 14:47:55 Media zmpkg.pl[13881]: Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 119.
Sep 16 14:47:55 Media zmpkg.pl[13881]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm
Sep 16 14:47:55 Media zmpkg.pl[13881]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Sep 16 14:47:55 Media zmpkg.pl[13881]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33
Sep 16 14:47:55 Media zmpkg.pl[13881]: Compilation failed in require at /usr/bin/zmpkg.pl line 48.
Sep 16 14:47:55 Media zmpkg.pl[13881]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
Sep 16 14:47:55 Media systemd[1]: zoneminder.service: Control process exited, code=exited status=255
Sep 16 14:47:55 Media systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: Unit zoneminder.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit zoneminder.service has failed.
--
-- The result is failed.
Sep 16 14:47:55 Media systemd[1]: zoneminder.service: Unit entered failed state.
Sep 16 14:47:55 Media systemd[1]: zoneminder.service: Failed with result 'exit-code'.

sagitt
Posts: 32
Joined: Mon Apr 30, 2012 1:13 pm

Re: job for zoneminder.service failed...

Post by sagitt » Sun Sep 16, 2018 5:18 pm

same
with fresh install or upgrade.

fontes31
Posts: 8
Joined: Sun Sep 16, 2018 1:51 pm

Re: job for zoneminder.service failed...

Post by fontes31 » Sun Sep 16, 2018 6:09 pm

how can i upgrade?

sagitt
Posts: 32
Joined: Mon Apr 30, 2012 1:13 pm

Re: job for zoneminder.service failed...

Post by sagitt » Sun Sep 16, 2018 6:21 pm

see my post "upgrade error"
i'm waiting iconnor solution

fontes31
Posts: 8
Joined: Sun Sep 16, 2018 1:51 pm

Re: job for zoneminder.service failed...

Post by fontes31 » Sun Sep 16, 2018 7:06 pm

I tried to do - sudo zmupdate.pl

but i have this error:

Warning, overriding installed ./zm.conf file with local copy
DBI connect('database=zm;host=localhost','',...) failed: Unknown database 'zm' at /usr/share/perl5/ZoneMinder/Config.pm line 96.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 119.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 119.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.

sagitt
Posts: 32
Joined: Mon Apr 30, 2012 1:13 pm

Re: job for zoneminder.service failed...

Post by sagitt » Sun Sep 16, 2018 9:18 pm

my surveillance is offline from 2 days for this version!
i hope a fix soon.

fontes31
Posts: 8
Joined: Sun Sep 16, 2018 1:51 pm

Re: job for zoneminder.service failed...

Post by fontes31 » Mon Sep 17, 2018 7:58 pm

tried 1.29, 1.30 versions and allways the same error

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests