ZM suddenly couldn't see cameras. (1.24.2, Ubuntu 10.10)
Posted: Sun Mar 27, 2011 8:48 pm
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.
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.