Installing Zoneminder using cmake for systemd systems

Forum for questions and support relating to the 1.28.x releases only.
Post Reply
User avatar
asker
Posts: 1411
Joined: Sun Mar 01, 2015 12:12 pm

Installing Zoneminder using cmake for systemd systems

Post by asker » Sat Aug 29, 2015 1:11 pm

Hi, I've recently upgraded to Ubuntu 15 which uses systemd.
I need to install ZoneMinder from the master-branch (working on some features). I am unfamiliar with systemd and
don't quite know what to do to get zone minder recognized and started after install.

Can someone who knows what do to advise?

So far:
a) I've compiled and installed ZM successfully (/usr/local/share/zonminder) via cmake

Doing this fails:

Code: Select all

root@ubuntu:/etc/systemd/system# sudo systemctl enable zoneminder.service
Synchronizing state for zoneminder.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d zoneminder defaults
Executing /usr/sbin/update-rc.d zoneminder enable
Failed to execute operation: Operation not supported
Can someone advise me on what I need to do post install to get things working on the systemd side? Seems to me I need to make sure zoneminder.service is correctly linked but I'm no aware now

Code: Select all

root@ubuntu:/etc/systemd/system# ll `locate zoneminder.service`
root@ubuntu:/etc/systemd/system# ll `locate zoneminder.service`
lrwxrwxrwx 1 root  root   38 Aug 16 08:51 /etc/systemd/system/multi-user.target.wants/zoneminder.service -> /lib/systemd/system/zoneminder.service
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
asker
Posts: 1411
Joined: Sun Mar 01, 2015 12:12 pm

Re: Installing Zoneminder using cmake for systemd systems

Post by asker » Sat Aug 29, 2015 1:44 pm

Problem solved - thanks
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

bbunge
Posts: 2704
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Installing Zoneminder using cmake for systemd systems

Post by bbunge » Sat Aug 29, 2015 6:20 pm

http://www.zoneminder.com/forums/viewto ... 32&t=23375

Actually, you do not have to go to Ubuntu 15.04 to use the latest zoneminder-master. The topic in the above link has procedures to get the latest "master" from the PPA to work under Ubuntu 14.04 and 15.04!

User avatar
asker
Posts: 1411
Joined: Sun Mar 01, 2015 12:12 pm

Re: Installing Zoneminder using cmake for systemd systems

Post by asker » Sat Aug 29, 2015 10:15 pm

Thanks, yes I know. My production system runs master on ubuntu 14 while my dev system runs master on ubuntu 15.
I can't use a package - I needed to use cmake as I was modifying source to add some features.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests