No video on the view window
-
- Posts: 2
- Joined: Wed Aug 26, 2009 12:36 am
No video on the view window
I've got version 1.24.2 installed on centos 5.3
most everything work fine but the live view of my camera
it's connected by bt878 card on /dev/video0 port 0
mocord works and i can see my stills but try to view the video and i get error in my http errorlog
get the same thing if i click the camera and try to view it live
HTTP error log
[Tue Aug 25 20:21:31 2009] [notice] mod_python: Creating 4 session mutexes based on 125 max processes and 0 max threads.
[Tue Aug 25 20:21:31 2009] [notice] Apache configured -- resuming normal operations
[Tue Aug 25 20:23:57 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-217768s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:23:57 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-217768s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:26:55 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:55 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:58 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:58 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:28:14 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-043545s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:28:14 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-043545s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
This is the only errors i seem to find i've looked in me messages.log ,zmdc.log, zmwatch.log and many otheres and this seems to be my only error
most everything work fine but the live view of my camera
it's connected by bt878 card on /dev/video0 port 0
mocord works and i can see my stills but try to view the video and i get error in my http errorlog
get the same thing if i click the camera and try to view it live
HTTP error log
[Tue Aug 25 20:21:31 2009] [notice] mod_python: Creating 4 session mutexes based on 125 max processes and 0 max threads.
[Tue Aug 25 20:21:31 2009] [notice] Apache configured -- resuming normal operations
[Tue Aug 25 20:23:57 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-217768s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:23:57 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-217768s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:26:55 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:55 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:58 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:26:58 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-225816s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=e ... c=1&page=1
[Tue Aug 25 20:28:14 2009] [error] [client 192.168.0.50] socket_sendto( /tmp/zms-043545s.sock ) failed: No such file or directory, referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
[Tue Aug 25 20:28:14 2009] [error] [client 192.168.0.50] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-043545s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.57/zm/index.php?view=watch&mid=1
This is the only errors i seem to find i've looked in me messages.log ,zmdc.log, zmwatch.log and many otheres and this seems to be my only error
-
- Posts: 2
- Joined: Wed Aug 26, 2009 12:36 am
I've been watching in the tmp dir and it's creating a file /tmp/zms-217768w.sock and looking for /tmp/zms-217768s.sock
I can't seem to figure out whats going on
I've even rebuild it from scratch by the centos wiki page but used the current version of zoneminder
I've also tried it just as they said and used the older version and i still i'm getting the same error
I can't seem to figure out whats going on
I've even rebuild it from scratch by the centos wiki page but used the current version of zoneminder
I've also tried it just as they said and used the older version and i still i'm getting the same error
Any progress with this? I'm stuck with a similar problem.somoene275 wrote:I've been watching in the tmp dir and it's creating a file /tmp/zms-217768w.sock and looking for /tmp/zms-217768s.sock
I can't seem to figure out whats going on
I've even rebuild it from scratch by the centos wiki page but used the current version of zoneminder
I've also tried it just as they said and used the older version and i still i'm getting the same error
Compiled v1.24.2 on ubuntu 9.04 x64. ZM is functional. Modect working. Events can be viewed as frames but not as video. All pages that should have video display the page fine, just no video (not even black box).
Looking at the live feed page, firebug console keeps logging the following errors every second or two (IK-WB15A network camera):
Each time this request is made, the following file appears for a short period:{"result":"Error","message":"socket_sendto( \/tmp\/zms-361517s.sock ) failed: No such file or directory"}
So it does seem to be trying to open the wrong file.srwxr-xr-x 1 www-data www-data 0 2009-09-02 00:19 /tmp/zms-361517w.sock
Read: http://www.zoneminder.com/wiki/index.ph ... leshooting
and post the zms individual debug log on pastebin.
and post the zms individual debug log on pastebin.
some news? i have the same problem
Ubuntu 8.04
Zoneminder 1.24.2
Apache2
When the error appears, i'm unable to connet to zm index.php page (server do not respond) and i have to restart apache2 to make it work again (and i dont restart zoneminder)
But when zm page is stuck, if i try to acess to webmin on the same server, apache works without problem.
I cant figured out!
Ubuntu 8.04
Zoneminder 1.24.2
Apache2
When the error appears, i'm unable to connet to zm index.php page (server do not respond) and i have to restart apache2 to make it work again (and i dont restart zoneminder)
But when zm page is stuck, if i try to acess to webmin on the same server, apache works without problem.
I cant figured out!
Code: Select all
[Tue Dec 01 08:20:56 2009] [error] [client 192.168.123.104] socket_select failed: Interrupted system call, referer: http://192.168.123.1/index.php?view=event&eid=176&trms=1&attr1=MonitorId&op1=%3d&val1=2&page=1
[Tue Dec 01 08:20:56 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 65,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_select failed: Interrupted system call',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=event&eid=176&trms=1&attr1=MonitorId&op1=%3d&val1=2&page=1
[Tue Dec 01 08:20:57 2009] [error] [client 192.168.123.104] socket_bind( ) failed: Address already in use, referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:20:57 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 18,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_bind( ) failed: Address already in use',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:20:57 2009] [error] [client 192.168.123.104] socket_bind( ) failed: Address already in use, referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:20:57 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 18,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_bind( ) failed: Address already in use',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] socket_sendto( /tmp/zms-672658s.sock ) failed: No such file or directory, referer: http://192.168.123.1/index.php?view=event&eid=176&trms=1&attr1=MonitorId&op1=%3d&val1=2&page=1
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-672658s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=event&eid=176&trms=1&attr1=MonitorId&op1=%3d&val1=2&page=1
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory, referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory, referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:00 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:01 2009] [error] [client 192.168.123.104] socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory, referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:01 2009] [error] [client 192.168.123.104] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-279770s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.123.1/index.php?view=watch&mid=2
[Tue Dec 01 08:21:07 2009] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.9 with Suhosin-Patch configured -- resuming normal operations
I was having exact same problem, and after days of google and scouring this forum, I found no answer.
Eventually I stumbled on the answer. When I would try to view the picture from the camera, I had a red X instead of the picture. Events were being recorded, and I could see them in my events directory. I could see no video though. Apache logs showed the same errors you mentioned.
My clue was from right-clicking the missing picture and looking at properties. If I cut and paste the URL of the picture in a new browser window, I got a file not found error. Apache logs confirmed with this error:
Hmmm, it could not find the nph-zms script in cgi-bin/zm. I checked apache config files, and scriptalias was in place:
To fix the problem, I copied the nph-zms (and zms) cgi scripts to cgi-bin, as in:
Now everything works perfectly. Not sure why the scriptalias directive in the apache config file isn't being picked up correctly, but I was tired of this not working and the above fix did the trick.
Eventually I stumbled on the answer. When I would try to view the picture from the camera, I had a red X instead of the picture. Events were being recorded, and I could see them in my events directory. I could see no video though. Apache logs showed the same errors you mentioned.
My clue was from right-clicking the missing picture and looking at properties. If I cut and paste the URL of the picture in a new browser window, I got a file not found error. Apache logs confirmed with this error:
Code: Select all
File does not exist: /var/www/cgi-bin/zm
Code: Select all
ScriptAlias /cgi-bin/zm/ "/usr/libexec/zoneminder/cgi-bin/"
Code: Select all
# mkdir /var/www/cgi-bin/zm
# cp -a /usr/libexec/zoneminder/cgi-bin/* /var/www/cgi-bin/zm
Last edited by ehymel on Wed Dec 09, 2009 6:01 pm, edited 1 time in total.
no display
Had the same problem but found putting the two files (nph-zms and zms) into /var/www/cgi-bin and chown apache:apache. finally gave me a picture.
I am using Fedora 11 and v1.24.2
I am using Fedora 11 and v1.24.2
same problem
All the above didn't bring success.
Ubuntu 9.10, Apache2, Zoneminder 1.24.1
After some experimenting figured out that changing port number on whitch Apache2 listens to (8082) afects loss of video stream and event stream. Stills are always there where they should be. Returning the port back to 80 streams are back. (Have to change the port because port 80 is forwarded in router to other local adress).
Creating video in Event page works in Mozilla but not in IE?
Any clues where to grab the bull?
Ubuntu 9.10, Apache2, Zoneminder 1.24.1
After some experimenting figured out that changing port number on whitch Apache2 listens to (8082) afects loss of video stream and event stream. Stills are always there where they should be. Returning the port back to 80 streams are back. (Have to change the port because port 80 is forwarded in router to other local adress).
Creating video in Event page works in Mozilla but not in IE?
Any clues where to grab the bull?