Page 1 of 1

new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Tue Apr 25, 2017 6:30 am
by revmarkp
A new install on ubunutu server 16.04.02 for ZM 1.30.2; LAMP and SSH installed.

I opted for the MariahDB

All goes fine on the install, following the guide until:

Code: Select all

a2enconf zoneminder
then:

Code: Select all

ERROR: Module zoneminder does not exist!
I see the module here (is this the right place?)

Code: Select all

markp@zoneminder:~$ ls /etc/apache2/conf-available/
charset.conf            localized-error-pages.conf    security.conf       zoneminder.conf
javascript-common.conf  other-vhosts-access-log.conf  serve-cgi-bin.conf
No symlink to /etc/apache2/conf-enabled so I create one myself (mistake??)so then:

Code: Select all

markp@zoneminder:~$ ls /etc/apache2/conf-enabled
charset.conf            localized-error-pages.conf    security.conf       zoneminder.conf
javascript-common.conf  other-vhosts-access-log.conf  serve-cgi-bin.conf
retry: a2enconf zoneminder
same error.

Now stumped! (apache is running, but not zm). Guidance for a noob much appreciated.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Wed Apr 26, 2017 5:32 am
by revmarkp
Do I need to offer more info here for some help? Happy to do so, given a steer...

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Wed Apr 26, 2017 7:37 pm
by rockedge
the symlink and position of the zoneminder.conf is correct. Did you restart Apache? Then try zoneminder again.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Wed Apr 26, 2017 9:12 pm
by revmarkp
Sure, restarted everything and retried the 'a2enmod zoneminder.conf' again, always same error.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Wed Apr 26, 2017 9:46 pm
by rockedge
try this :

Code: Select all

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
restart Apache then try to start zoneminder.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Thu Apr 27, 2017 1:56 pm
by bbunge
the command is:
a2enconf zoneminder

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Thu Apr 27, 2017 3:12 pm
by rockedge
bbunge wrote: Thu Apr 27, 2017 1:56 pm the command is:
a2enconf zoneminder
apparently this command has been tried and fails...

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Thu Apr 27, 2017 11:57 pm
by bbunge

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Fri Apr 28, 2017 1:17 pm
by revmarkp
Solved! Thanks folks.

My stupid mistake was to confuse the apache enable commands: I was trying to

Code: Select all

a2enmod zoneminder
when I should have been trying to

Code: Select all

a2enconf zoneminder
In future I shall attempt to read the fine manual more carefully

My clue was

Code: Select all

ERROR: Module zoneminder does not exist!
yea, that'll be because I needed to reference a config file not a module - even then i didn't get it. grrrr.

Thanks again.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Fri Apr 28, 2017 1:53 pm
by rockedge
Nice! that is the way to stick with it....slight mix up solved.

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Fri Apr 28, 2017 2:09 pm
by revmarkp
Thanks for the encouragement rockedge. I had a play with zoneminder several years ago, but at that time wifi IP cameras were v. expensive. I now have a real zoneminder running in one of my churches and was amazed at how easy it was to setup the network cameras. This system will complement (and eventually supersede I suspect) our Swann DVRs with analogue cameras. Loving the android app too (though not the adverts, lol).

Thanks Zoneminder and the OpenSource community!

Re: new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Posted: Sat Apr 29, 2017 12:11 am
by bbunge
Rev Mark
You may be interested to know that we use Zoneminder as the sole security system in Mission Central, an outreach of the UMC.

bbunge