I know the webcam is working because when I go into add or maintain a zone, zoneminder shows me the current view, overlaid by the zone config.
It's just streaming that isn't working.
I have tried copying the *zms files from /var/www/zoneminder/cgi-bin to my /var/www/localhost/cgi-bin, as I think the ebuild does not setup apache correctly and if I don't do the above, I see the following error in my apache error log.
Code: Select all
[Mon Sep 12 19:43:29 2011] [error] [client 127.0.0.1] File does not exist: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:29 2011] [error] [client 127.0.0.1] File does not exist: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:34 2011] [error] [client 127.0.0.1] socket_sendto( /tmp/zm/zms-135088s.sock ) failed: No such file or directory, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:34 2011] [error] [client 127.0.0.1] array (\n 0 => \n array (\n 'file' => '/var/www/zoneminder/htdocs/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-135088s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zoneminder/htdocs/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/zoneminder/htdocs/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://localhost/zoneminder/index.php?view=watch&mid=1
Suggestions?