new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Forum for questions and support relating to the 1.30.x releases only.
Locked
revmarkp
Posts: 6
Joined: Tue Apr 25, 2017 6:14 am
Location: Cornwall UK

new install Ubuntu 16.04.2 LTS a2enmod zoneminder.conf issue

Post 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.
revmarkp
Posts: 6
Joined: Tue Apr 25, 2017 6:14 am
Location: Cornwall UK

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

Post by revmarkp »

Do I need to offer more info here for some help? Happy to do so, given a steer...
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

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

Post by rockedge »

the symlink and position of the zoneminder.conf is correct. Did you restart Apache? Then try zoneminder again.
revmarkp
Posts: 6
Joined: Tue Apr 25, 2017 6:14 am
Location: Cornwall UK

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

Post by revmarkp »

Sure, restarted everything and retried the 'a2enmod zoneminder.conf' again, always same error.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

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

Post 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.
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post by bbunge »

the command is:
a2enconf zoneminder
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

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

Post by rockedge »

bbunge wrote: Thu Apr 27, 2017 1:56 pm the command is:
a2enconf zoneminder
apparently this command has been tried and fails...
revmarkp
Posts: 6
Joined: Tue Apr 25, 2017 6:14 am
Location: Cornwall UK

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

Post 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.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

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

Post by rockedge »

Nice! that is the way to stick with it....slight mix up solved.
revmarkp
Posts: 6
Joined: Tue Apr 25, 2017 6:14 am
Location: Cornwall UK

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

Post 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!
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post 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
Locked