Page 1 of 1

Minor notes on zm-1.21.4

Posted: Tue Jan 10, 2006 4:15 pm
by candlerb
Just installed zoneminder 1.21.4 under CentOS 4.2. It's running with a Logitech QuickCam 4000. I was amazed how easy it was to get up and running :-)

The README document is absolutely superb, but I just have a few minor updates/corrections.

(1) There is a problem when creating the database using db/zmschema.sql due to an insert statement having a wrong number of parameters. I was able to make it work like this (although I don't know if this is the correct fix or not)

Code: Select all

--- db/zmschema.sql.orig        2006-01-10 14:54:27.000000000 +0000
+++ db/zmschema.sql     2006-01-10 16:08:13.000000000 +0000
@@ -375,7 +375,7 @@
 --
 -- Create a default admin user.
 --
-insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit','','');
+insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit','','','');
 --
 -- Add in a sample filter to purge the oldest 5 events when the disk is 95% full, delete is disabled though
 --
(2) The README says:
Once you have validated your camera run 'zmu -d <device_no> -q
-v' to get a dump of the settings (note, you will have to
additionally supply a username and password to zmu if you are
running in authenticated mode). You can then enter these
values into the video related options of the monitor
configuration panel. The 'device_no' referred to here is a
number corresponding to the digit at the end of your device
file, so /dev/video0 has a 'device_no' of 0 etc.
Actually, it seems you need

Code: Select all

zmu -d /dev/video0 -q -v
i.e. use the full device pathname rather than a device number.

(3) You need to install package perl-Time-HiRes otherwise zmaudit fails to start. (Although this is fairly clear if you look at the logged error message, it's probably worth a mention)

Hope this helps. Thanks for a fantastic piece of software!

Regards,

Brian.

Re: Minor notes on zm-1.21.4

Posted: Wed Jan 11, 2006 2:17 pm
by zoneminder
Hi brian,

Thanks for your comments and well constructed feedback.
candlerb wrote:(1) There is a problem when creating the database using db/zmschema.sql due to an insert statement having a wrong number of parameters.
You are correct, though I thought I'd fixed this in the uploaded tar file. I'll check, thanks.
candlerb wrote:(2)... Actually, it seems you need

Code: Select all

zmu -d /dev/video0 -q -v
i.e. use the full device pathname rather than a device number.
Correct again. This changed relatively recently so I'll update the README to reflect it.
candlerb wrote:((3) You need to install package perl-Time-HiRes otherwise zmaudit fails to start. (Although this is fairly clear if you look at the logged error message, it's probably worth a mention)
Version 1.22.0 checks for and reports any missing perl modules.

Cheers