ubuntu 20.04 and zm 1.35 install?

Previous development branch now released as 1.36
Locked
repomanz
Posts: 8
Joined: Wed Jan 06, 2021 4:11 pm

ubuntu 20.04 and zm 1.35 install?

Post by repomanz »

Hello -

I'm following this guide:
https://wiki.zoneminder.com/How_to_Inst ... l_Fossa%29

Fresh install of ubuntu 20.04 server.

However I'm noticing the guide and what gets installed when using apt-get install zoneminder are out of sync. Examples:

1) steps include to create zmuser but inspection of mysql that user is already created.
2) trying to run: mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql (errors saying tables already exist)

Further; even trying to follow the guide; I get this when trying to start zoneminder:

Code: Select all

auser@vmubntzone:~$ sudo service zoneminder start
Job for zoneminder.service failed because the control process exited with error code.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.

Code: Select all

@vmubntzone:~$ sudo systemctl status zoneminder.service
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
     Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Sat 2021-01-09 20:25:05 UTC; 5s ago
    Process: 3748 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255/EXCEPTION)
Is there an updated guide? just performing apt-get install zoneminder doesn't work out of the box so I'm guessing there are some updates in the guide that are required.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: ubuntu 20.04 and zm 1.35 install?

Post by Magic919 »

What are the errors thrown when ZM fails to start?
-
User avatar
bkjaya1952
Posts: 282
Joined: Sat Aug 25, 2018 3:24 pm
Location: Sri Lanka

Re: ubuntu 20.04 and zm 1.35 install?

Post by bkjaya1952 »

If there is an existing data base you will have to drop the data base. Wki is for a fresh install . Please refer the following link.
https://bkjaya.wordpress.com/2020/11/16 ... cal-fossa/

Please see the updated wki in the following link

https://wiki.zoneminder.com/How_to_Inst ... cal_Fossa)
Locked