Page 1 of 1

ubuntu 20.04 and zm 1.35 install?

Posted: Sat Jan 09, 2021 8:24 pm
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.

Re: ubuntu 20.04 and zm 1.35 install?

Posted: Sun Jan 10, 2021 11:29 am
by Magic919
What are the errors thrown when ZM fails to start?

Re: ubuntu 20.04 and zm 1.35 install?

Posted: Sun Jan 10, 2021 1:20 pm
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)