Search found 14 matches

by gert
Mon Sep 10, 2018 3:42 pm
Forum: ZoneMinder 1.30.x
Topic: zoneminder service stopped itself
Replies: 9
Views: 6399

Re: zoneminder service stopped itself

So looking at the systemd unit file, it is set to Restart=on-abnormal. Looking at the reference documentation for systemd, I decided to change it to =on-failure. Docs: https://manpages.debian.org/jessie/systemd/systemd.service.5.en.html I did the following: cd /etc/systemd/system/ sudo vim ...
by gert
Mon Sep 10, 2018 3:12 pm
Forum: ZoneMinder 1.30.x
Topic: zoneminder service stopped itself
Replies: 9
Views: 6399

Re: zoneminder service stopped itself

I'm seeing this behavior on Ubuntu 16.04; zoneminder 1.30.4-xenial1. The tail-end of the output of `sudo journalctl -u zoneminder`: Sep 09 22:07:58 skynet-alpha systemd[1]: zoneminder.service: Control process exited, code=exited status=1 Sep 09 22:07:58 skynet-alpha zma_m22[19070]: INF [Got signal ...
by gert
Tue Nov 01, 2016 10:50 pm
Forum: ZoneMinder 1.30.x
Topic: Monitoring ZM state
Replies: 5
Views: 5628

Re: Monitoring ZM state

If you're running on the machine with zoneminder, you can just use `sudo service zoneminder status`. I'm looking into this myself, and would also monitor mysql, as in my case, that has been the source of my downtime. Having not messed with cron jobs, I tend to default to creating upstart jobs ...
by gert
Thu Sep 29, 2016 9:30 pm
Forum: ZoneMinder 1.30.x
Topic: zms authentication errors if AUTH_RELAY is not none
Replies: 0
Views: 1975

zms authentication errors if AUTH_RELAY is not none

I've got a fresh install that is working great (14.04, 1.30.0 debian, whole install is done via Ansible), and recording events fine. As has happened before (always on 1.29), I found streaming was not working. Was getting errors in the logs any time I had streaming window open, like this: zm_auth_err ...
by gert
Fri Sep 02, 2016 2:59 am
Forum: ZoneMinder 1.29.x
Topic: [SOLVED] Change function to "None" trough API doesn't stop zmc process
Replies: 3
Views: 2373

Re: Change function to "None" trough API doesn't stop zmc process

This is happening for me as well! (1.29 as well) I am watching `htop` while doing this (I'm using Ansible). And it actually does stop the zmc processes for a moment, and then they start up again. Even if everything was disabled (16 cameras), I restart Zoneminder, and run my disable script, they all ...
by gert
Fri Jul 29, 2016 6:29 pm
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API and Filters
Replies: 3
Views: 2084

Re: Zoneminder API and Filters

I was able to set up filters like by creating a pared down version of zm_create.sql, and loading it as an additional step (and FYI: it overwrites all existing filters, too). The file I created has the default filter plus a delete unarchived 7day old footage filter. -- MySQL dump 10.13 Distrib 5.6.13 ...
by gert
Fri Jul 29, 2016 5:32 pm
Forum: ZoneMinder 1.29.x
Topic: Stream error
Replies: 16
Views: 21670

Re: Stream error

I had the same issue. I ultimately found that setting the timezone to UTC in my /etc/php5/apache2/php.ini file was the cause of my issue. Setting it to America/Los/Angeles (where I am) fixed it after restarting (just) apache2 service. I should have tried this earlier, as I've seen reference to this ...
by gert
Wed Jul 27, 2016 6:55 pm
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API and Filters
Replies: 3
Views: 2084

Re: Zoneminder API and Filters

As a somewhat horrible workaround, I guess I can use mysql to insert filters, using /usr/share/zoneminder/db/zm_create.sql as a guide. Since I'm using Ansible, I might even just fix the version at 1.29 and include a modified zm_create.sql for use in install. (And this would also work for adding ...
by gert
Tue Jul 26, 2016 10:51 pm
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API and Filters
Replies: 3
Views: 2084

Zoneminder API and Filters

I am working my way through an automated setup of a zoneminder server. It looks like there is no API for setting up Filters. Is this correct, and are there any plans to add this in the future?

Thanks!
by gert
Tue Jul 26, 2016 12:59 am
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API not found
Replies: 4
Views: 4430

Re: Zoneminder API not found

Thanks folks. I did end up fixing this by re-installing zoneminder from scratch.
by gert
Tue Jul 26, 2016 12:48 am
Forum: ZoneMinder 1.29.x
Topic: May I get an example of using configs API
Replies: 5
Views: 2687

Re: May I get an example of using configs API

(Really, i should update the API docs myself, since I've been doing a bunch of stuff using them)
by gert
Tue Jul 26, 2016 12:47 am
Forum: ZoneMinder 1.29.x
Topic: May I get an example of using configs API
Replies: 5
Views: 2687

Re: May I get an example of using configs API

These examples should *really* be in the docs. Thanks asker!
by gert
Fri Jul 01, 2016 1:28 am
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API not found
Replies: 4
Views: 4430

Re: Zoneminder API not found

I noticed that I had php5 installed on the new one (i believe i Installed that prior to looking at the tutorial more closely). I apt-get purged that, and the output of `dpkg -l php5*` is now identical on both machines.

Also note that the new machine is basically a fresh install of ubuntu
by gert
Fri Jul 01, 2016 1:23 am
Forum: ZoneMinder 1.29.x
Topic: Zoneminder API not found
Replies: 4
Views: 4430

Zoneminder API not found

I've been using a zoneminder 1.29 for a few months on a computer, and am setting up a new computer with it. I've got the new computer's install working, but cannot get the API to work. Ubuntu 14.04. Installed from the iconnor ppa OPT_USE_API is set to true (and restarted Zoneminder and apache ...