Page 1 of 1

multiple zmc processes

Posted: Thu Jul 22, 2004 4:42 pm
by ma77hias
I am running zoneminder on Fedora Core 2
mysql 4.0
with 4 Axis 2100 Webcams

basically the system works fine
but I wanted to add a time feature,
which switches between monitor and modect using a mysql script and the cron deamon

mysql -uroot -p<password> <<EOM
use zm;
update Monitors set Function = "Modect";
^D
EOM

and

mysql -uroot -p<password> <<EOM
use zm;
update Monitors set Function = "Monitor";
^D
EOM

but after two days my box locks up and I have about 20 instances of zmc running most of them with option m -1
but i don't have any events on Camera 1

I tried using service zm stop
before changing the Function in mysql
and afterwards service start

but it still produces tons of zmc processes

Is there some other way to do this time feature?

Posted: Thu Jul 22, 2004 5:21 pm
by unclerichy
If memory serves me, this is in the FAQ or the README somewhere. I believe the method is to set your first camera configuration up, then click on the 'Running' link at the top of the console. From there you can save a named configuration (eg. HouseFront). Repeat this once for each configuration, then run

zmpkg.pl <configurationname>

eg.

zmpkg.pl FrontHouse

to switch between them.

Posted: Fri Jul 23, 2004 11:16 am
by ma77hias
thank you for the hint
that solved my problem