No playback images, missing sockets and zombie processes
Posted: Tue Sep 17, 2013 3:04 pm
Cannot get image streaming on playback.
Previous level of experience with same hardware/server: successfully did package install of ZoneMinder 1.25, all worked, image streaming, video streaming, only complaint was although "working", playback and playback control was just sucky (meaning way too slow, way too fast, choppy, controls confusing, and had an unacceptable lag time between click and response, sometimes no response). So, decided to upgrade.
Now, starting over:
-Clean install of Ubuntu server 12.04
-Installed ZoneMinder 1.26.3, from source, per instructions http://www.zoneminder.com/forums/viewto ... 30&t=21304
-Installed Cambozola V0.22 and configured to use Cambozola
-Configured to stream jpeg (vs. mpeg)
-Installed 2 monitors, an IP camera, and a USB webcam, both set to Monitor, both connect (orange), log is reporting that they are both capturing.
I power up the server, once running, I go to the console (from another computer running Chrome), and start ZoneMinder, at this point, a zombie process is produced (on server), who's parent process is zmdc.pl
But I pretend I didn't notice that and continue ...
I go to the view=watch view, I get all controls, and a window (where the image streaming should be) simply stating the Cambozola info (Cambozola V0.22 (c) Andy Wilcock, 2001) ... no images.
When I go to the view=watch view, the log immediately starts complaining about missing .sock files.:
getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-629300s.sock ) failed: No such file or directory - checkStreamForErrors()
socket_sendto( /tmp/zm/zms-629300s.sock ) failed: No such file or directory
Watching the /tmp/zm directory, a .sock file is being repeatedly created/destroyed, same name, but with a "w" in place of the "s".
I've googled to the very end of the internet, and although this .sock issue has been reported all over the place for nearly every version of ZoneMinder, there seems to be no understood solution, just lots of guesses and magic. A popular fix is to edit the apache.conf, httpd.conf and/or zoneminder.conf files, usually something associated with entering, or removing the ScriptAlias line. I've tried every variant of this fix I can find (restarting each time), but to no avail, seems to have no effect what-so-ever.
I've got about 16 hours into debugging this with no success, any suggestions?
Previous level of experience with same hardware/server: successfully did package install of ZoneMinder 1.25, all worked, image streaming, video streaming, only complaint was although "working", playback and playback control was just sucky (meaning way too slow, way too fast, choppy, controls confusing, and had an unacceptable lag time between click and response, sometimes no response). So, decided to upgrade.
Now, starting over:
-Clean install of Ubuntu server 12.04
-Installed ZoneMinder 1.26.3, from source, per instructions http://www.zoneminder.com/forums/viewto ... 30&t=21304
-Installed Cambozola V0.22 and configured to use Cambozola
-Configured to stream jpeg (vs. mpeg)
-Installed 2 monitors, an IP camera, and a USB webcam, both set to Monitor, both connect (orange), log is reporting that they are both capturing.
I power up the server, once running, I go to the console (from another computer running Chrome), and start ZoneMinder, at this point, a zombie process is produced (on server), who's parent process is zmdc.pl
But I pretend I didn't notice that and continue ...
I go to the view=watch view, I get all controls, and a window (where the image streaming should be) simply stating the Cambozola info (Cambozola V0.22 (c) Andy Wilcock, 2001) ... no images.
When I go to the view=watch view, the log immediately starts complaining about missing .sock files.:
getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-629300s.sock ) failed: No such file or directory - checkStreamForErrors()
socket_sendto( /tmp/zm/zms-629300s.sock ) failed: No such file or directory
Watching the /tmp/zm directory, a .sock file is being repeatedly created/destroyed, same name, but with a "w" in place of the "s".
I've googled to the very end of the internet, and although this .sock issue has been reported all over the place for nearly every version of ZoneMinder, there seems to be no understood solution, just lots of guesses and magic. A popular fix is to edit the apache.conf, httpd.conf and/or zoneminder.conf files, usually something associated with entering, or removing the ScriptAlias line. I've tried every variant of this fix I can find (restarting each time), but to no avail, seems to have no effect what-so-ever.
I've got about 16 hours into debugging this with no success, any suggestions?