Changing detection zone breaks the video stream
Posted: Sun May 08, 2011 3:12 pm
I'm running Zoneminder 1.24.2-8 which I apt-get'd on a Debian box from it's standard repositories. Using an Edimax IP camera as a source.
Had a few issues with paths that meant I had to change the symlinks in /usr/share/zoneminder rather than change the apropriate fields in the options/paths box (no idea why but playback of captured clips wouldn't work unless I changed the symlink /usr/share/zoneminder/images to point to my mass storage directory manually)
...but apart from that everything seems to work. That is, until I click on the zone associated with the camera, drag the corners of the motion detection box to cover only part of the image and click save and restart zoneminder.
If I then click on the camera the window pops up but I just get Firefox's broken-image icon instead of my camera's stream. At the same time I get this error in apache's error.log:
The file zms-171375s.sock doesn't exist but the path to it does and is chmod'd 777, so if something's prevented zoneminder from creating the file it shouldn't be permissions.
Note that the error log has errors about depreciated functions but from googling I gather they're "normal".
If I delete the zone then create a new one which defaults to 100% of the image covered, everything starts working again.
Has anyone seen anything similar?
Had a few issues with paths that meant I had to change the symlinks in /usr/share/zoneminder rather than change the apropriate fields in the options/paths box (no idea why but playback of captured clips wouldn't work unless I changed the symlink /usr/share/zoneminder/images to point to my mass storage directory manually)
...but apart from that everything seems to work. That is, until I click on the zone associated with the camera, drag the corners of the motion detection box to cover only part of the image and click save and restart zoneminder.
If I then click on the camera the window pops up but I just get Firefox's broken-image icon instead of my camera's stream. At the same time I get this error in apache's error.log:
Code: Select all
[Sun May 08 15:58:59 2011] [error] [client 192.168.1.101] socket_sendto( /local/zoneminder/socks/zms-171375s.sock ) failed: No such file or directory, referer: <http removed>monolith/zm/index.php?view=watch&mid=5
[Sun May 08 15:58:59 2011] [error] [client 192.168.1.101] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /local/zoneminder/socks/zms-171375s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: <http removed>monolith/zm/index.php?view=watch&mid=5
Note that the error log has errors about depreciated functions but from googling I gather they're "normal".
If I delete the zone then create a new one which defaults to 100% of the image covered, everything starts working again.
Has anyone seen anything similar?