From: Garry D. <gar...@sh...> - 2008-02-25 16:54:56
|
Thanks Gregg Replies below... -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of Gregg Liming Sent: Monday, February 25, 2008 5:15 AM To: The main list for the MisterHouse home automation program Subject: Re: [mh] zmxap and Zoneminder Hi Garry, Garry Doucette wrote: > I decided I'd try to get MH working with Zoneminder. I've got zmxap.pl > running as root from an init script. I set up zmxap.conf using the > sample and changed nohub = 1. >> From the log message below, setting nohhub = 1 may have been a mistake. More commented below. > Now I'm not sure where to go from here. I'm assuming that I have to > get zmxap.pl communicating with ZM before I can move onto getting MH > communicating with zmxap.pl. >>Yes > This is what I've got so far... > > root@Misterhouse:/usr/local/zmxap# tail -f /tmp/zmxap.log > 24/02/08 20:44:45 [WARN] (checkState) Can't read from shared memory: >>Do you have monitors defined? If so, what are their modes (e.g., modect)? Yes I do. I have one called "Office" with an ID No. 1. It's set to Modect. >>What version of zoneminder are you running? V1.23.1 >>Unfortunately, I've not "peppered" the code w/ lots of debug statements in case there is a problem. So, either I'll need to do that or I'll need for you to insert a few manually based upon your answers above. > ======= xAP server starting at 08/02/24 21:00:14======== > 24/02/08 21:00:14 [WARN] (xAP::Comm): Unable to create direct xAP > listen socket on port 3639! Reverting to hub mode >>Is mh and it's hub running on the same system? Yes >>Do you have another dedicated/stand-alone hub? No >>If yes to either, then you need to set nohub = 0. OK, I set it back now I get... root@Misterhouse:/usr/local/zmxap# tail -f /tmp/zmxap.log 24/02/08 22:55:55 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:56 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:56 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:56 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:57 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:57 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:57 [WARN] (checkState) Can't read from shared memory: 24/02/08 22:55:58 [WARN] (checkState) Can't read from shared memory: ======= xAP server starting at 08/02/25 08:49:53======== Looks better... If I trigger an event in ZM nothing is posted to the log. Garry |