Page 1 of 1

ZM suddenly couldn't see cameras. (1.24.2, Ubuntu 10.10)

Posted: Sun Mar 27, 2011 8:48 pm
by cronn
I have recently built a video surveillance system around ZM.

I'm using a HP ML110G6 quad-core xeon server running Ubuntu and the packaged version of ZM 1.24.2. The cameras are Axis M1054's, 6 of them.

Tonight, I shut down and moved the server to another room. When I started it back up again, ZM suddenly couldn't see any of my cameras. They were on the network and accessible directly via the web browser, but ZM refused to connect to them, even after removing and re-adding them.

I was running out of battery in my laptop and needed to get everything up and running so I apt-get purge'd the entire install and reinstalled from scratch. It works now. I'm curious to know what went wrong though because it's not the first time this has happened.

I also know that a lot of things have happened since 1.24.2 but I'd prefer to stay within the apt ecosystem if humanly possible.

I should also mention that I went in and fixed a bug by hand before I rebooted and moved the server. I changed the line:

$exportFileList = array_merge( $exportFileList, exportFileList( $eid ), $exportDetail, $exportFrames, $exportImages, $exportVideo, $exportMisc );

to

$exportFileList = array_merge( $exportFileList, exportFileList( $eid , $exportDetail, $exportFrames, $exportImages, $exportVideo, $exportMisc ));

in zm/skins/classic/includes/export_functions.php, line 255.

I'm positive I didn't touch anything else, just that line. Could that be the problem?

Thanks.

Re: ZM suddenly couldn't see cameras. (1.24.2, Ubuntu 10.10)

Posted: Mon Mar 28, 2011 5:51 am
by Flasheart
Don't think it could be that, buried in the export functions - unless it broke the script.

Logs? Always the first place to check.

Re: ZM suddenly couldn't see cameras. (1.24.2, Ubuntu 10.10)

Posted: Sat Apr 09, 2011 6:28 am
by cronn
Thanks for your answer, sorry about the late reply :)

Where are these logs? Apache logs? Does ZM have a log system of its own?

By the way, I just noticed it had stopped storing events from two out of six cameras, altough live view still worked fine. Forced alarms didn't store anything either. A zoneminder restart fixed things for now, but I'd obviously prefer it if a security system didn't require frequent restarts.

Would this be in the logs too? What am I looking for?