cameras since Vivotek cameras are not IE dependent cameras. I think that I am on the verge of getting them to work and I think the problem has something to do with the apache2 server not being able to deliver something. Below are entries from the logs and some details about my system.
I am using Ubuntu 10.04 LTS and Zoneminder 1.24.2 set to High bandwidth and I installed ZM using the Ubuntu repository.
Code: Select all
uname -a
Linux workhorse 2.6.32-26-generic #47-Ubuntu SMP Wed Nov 17 15:58:05 UTC 2010 x86_64 GNU/Linux
The following occurs when I attempt to view the monitor. BTW, both the function and source are green until zmdc crashes with signal 6. When I click on the source to edit it and save the changes, whether I make any or not, it will turn back to green again.
The following is appearing in both messages and zmdc.log.==> /var/log/apache2/error.log <Sun> \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-188082s.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://workhorse.peoplezoo.net/zm/index ... atch&mid=1
[Sun Nov 28 21:03:32 2010] [error] [client 127.0.1.1] socket_sendto( /tmp/zm/zms-188082s.sock ) failed: No such file or directory, referer: http://workhorse.peoplezoo.net/zm/index ... atch&mid=1
[Sun Nov 28 21:03:32 2010] [error] [client 127.0.1.1] 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( /tmp/zm/zms-188082s.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://workhorse.peoplezoo.net/zm/index ... atch&mid=1
[Sun Nov 28 21:03:44 2010] [error] [client 127.0.1.1] socket_sendto( /tmp/zm/zms-188082s.sock ) failed: No such file or directory, referer: http://workhorse.peoplezoo.net/zm/index ... atch&mid=1
I created a subdirectory under /var/run for zoneminder and made the owner and group www-data just to make sure that the entry I am seeing in the apache2 error log wasn't caused by a permissions issue. Of course I changed the path in the options settings in zoneminder. The specific log entry I thought might have something to do with it is,"==> /var/log/messages <Nov> /var/log/messages <==
Nov 28 21:07:44 workhorse zma_m1[3903]: last message repeated 9 times
Nov 28 21:07:44 workhorse zmdc[3743]: INF ['zmc -m 1' crashed, signal 6]
Nov 28 21:07:44 workhorse zmdc[3743]: INF [Starting pending process, zmc -m 1]
Nov 28 21:07:44 workhorse zmdc[3743]: INF ['zmc -m 1' starting at 10/11/28 21:07:44, pid = 3917]
Nov 28 21:07:44 workhorse zmdc[3917]: INF ['zmc -m 1' started at 10/11/28 21:07:44]
Nov 28 21:07:44 workhorse zmc_m1[3917]: INF [Debug Level = 0, Debug Log = <none>]
Nov 28 21:07:44 workhorse zmc_m1[3917]: INF [New Debug Level = 9, New Debug Log = /var/log/zm/zm_debug.log.03917]
I was getting this same message before the creation of the new sub directory and changing the path in options.[Sun Dec 05 18:20:47 2010] [error] [client 127.0.1.1] socket_sendto( /var/run/zoneminder/zms-945461s.sock ) failed: No such file or directory, referer: http://workhorse.peoplezoo.net/zm/index ... atch&mid=1
The following are the settings for the source from the cameras.
Source Type: Remote
Function: Modect
Max FPS: 20
Alarm FPS: 15
Remote Protocol: RTSP
Remote Method: RTP/RTSP
Remote Host Name: 192.168.1.113
Remote Host Port: 554
Remote Host Path: /live2.mjpg (Also tried /cgi-bin/live2.mjpg)
Remote Image Colors: 24 bit
Capture Width: 640
Capture Height: 480
I have tried it with and without the cgi-bin/ in the path. When I click on the Monitor to view the streaming image the status bar just hangs on "Waiting for workhorse.peoplezoo.net" and results in the apache2 log entries above.
I could really use some help with this. If there is any other info I could provide, I will be happy to post it.
The manual for this particular camera is located at http://www.vivotek.com/downloads/downlo ... ick=FD8361
I would love to help with getting some presets for this camera as it is an excellent camera and it might open the door to another camera to add to the list of easy to install cameras in zoneminder.