Zoneminder 1.30 issue ubuntu 16.04

Forum for questions and support relating to the 1.30.x releases only.
Locked
sb3rla
Posts: 6
Joined: Wed Mar 02, 2016 5:49 pm

Zoneminder 1.30 issue ubuntu 16.04

Post by sb3rla »

Hi all, after a new installation follwing this guide https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

i try to start zonemider but here are the problem

Code: Select all

sb3rla@sb3rla-NT-A2400-NT-A3500:~$ sudo service zoneminder status
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since ven 2017-01-06 23:15:30 CET; 1h 8min ago
  Process: 1512 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)

gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 119.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 119.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: Compilation failed in require at /usr/bin/zmpkg.pl line 48.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 zmpkg.pl[1512]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 systemd[1]: zoneminder.service: Control process exited, code=exited status=255
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 systemd[1]: zoneminder.service: Unit entered failed state.
gen 06 23:15:30 sb3rla-NT-A2400-NT-A3500 systemd[1]: zoneminder.service: Failed with result 'exit-code'.
sb3rla@sb3rla-NT-A2400-NT-A3500:~$ 
line 119 of config.pm is blank... it's normal?


this is line 33 of zoneminder.pm

Code: Select all

use ZoneMinder::Config qw(:all);

and this is line 48 of zmpkg.pl

Code: Select all

use ZoneMinder;
what is the problem? thank all in advance !!
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by bbunge »

I would go back over the instructions to see if you missed something. You may want to start with a fresh Ubuntu install. Do Not use a VM or try to install in a container. Don't look at a step and think you don't need it. I have run that install on average once a week since 16.04 came out and have never had an install fail or refuse to run. Oh, do not use the PPA master as sometimes that does not work well...
jfmasson
Posts: 3
Joined: Sat Jan 07, 2017 12:17 am

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by jfmasson »

Hi had the same issue yesterday. After 2 retry on fresh install on Ubuntu i found the cause. With the PPA iconnor, it seem to install ZM 1.29 and not 1.30. I successful to finish installation with the 1.29 installation guide with assign right and create DB in MYSQL. But at the end, i have the ZM 1.29 and not 1.30. I am here in my understanding, if it can help someone?
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by iconnor »

It looks like there is an issue with your mysql credentials.
jfmasson
Posts: 3
Joined: Sat Jan 07, 2017 12:17 am

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by jfmasson »

Why the version installed of ZoneMinder is 1.29 after corrected mysql issue? I will retry this week-end with Centos and retry with Ubuntu.
jfmasson
Posts: 3
Joined: Sat Jan 07, 2017 12:17 am

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by jfmasson »

Ok. I resolve the my problem. Thanks iconnor, it's a mysql credentials problem. My mistake was putting a root password. This morning i was't give root password for mysql when installing Ubuntu and it's working with Zoneminder 1.30.

Thanks
sb3rla
Posts: 6
Joined: Wed Mar 02, 2016 5:49 pm

Re: Zoneminder 1.30 issue ubuntu 16.04

Post by sb3rla »

how can i remove root mysql password? have to reinstall? Can i reinstall only mysql or have to start a fresh installaztion?

ty guys
Locked