multiple zmc processes

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
ma77hias
Posts: 71
Joined: Wed Jul 07, 2004 3:18 pm

multiple zmc processes

Post 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?
unclerichy
Posts: 74
Joined: Wed Feb 25, 2004 5:06 pm

Post 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.
User avatar
ma77hias
Posts: 71
Joined: Wed Jul 07, 2004 3:18 pm

Post by ma77hias »

thank you for the hint
that solved my problem
Locked