[Sun Dec 13 23:43:37 2009] [error] [client 192.168.1.6] sock

Forum for questions and support relating to the 1.24.x releases only.
Locked
fildilours
Posts: 1
Joined: Mon Dec 14, 2009 4:46 am

[Sun Dec 13 23:43:37 2009] [error] [client 192.168.1.6] sock

Post by fildilours »

Hello,

I used a local web cam that work correctly under vlc and of course zoneminder. My webcam is configured as Modetect and with this parameter :
Conf de la web cam philips :
Name webcam_video0
source type local
Function Modetect
Enabled = X
linked monitors = webcam_video0
max fps = nothing
alarm max fps = nothing
ref image blend %ge = 7
triggers = none available
/dev/video0
video for linux version 2
device channel : 0
device format : Undefined
Capture Palette YUV420
capture width 352
capture Height 288

The system is ubuntu 9.10 with apache2. Installation of this package are performed with apt-get install

I have some trouble with event.
Everythink works fine but if I have an event like somebody says hello to the webcam, I have no events, but I have some error under /var/message/apache2/error.log :


[Sun Dec 13 23:43:37 2009] [error] [client 192.168.1.6] socket_sendto( /tmp/zms-682931s.sock ) failed: No such file or directory, referer: https://nas/zm/index.php?view=event&eid ... 1=1&page=1
[Sun Dec 13 23:43:37 2009] [error] [client 192.168.1.6] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-682931s.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: https://nas/zm/index.php?view=event&eid ... 1=1&page=1

I do some modification about script alias ( this comming form another post on this forum :
http://www.zoneminder.com/forums/viewtopic.php?p=57753 and
http://www.zoneminder.com/forums/viewto ... s+captured )
But the problem is not solved.

If I restart zoneminder I always have 1 event but it is empty 0 seconds, then i removed this event and after that I try to generate a new event like says hello to the webcam, nothing append and I have the error in apache (error above).

If I icheck in /usr/share/zoneminder/events/1/51 I have many pictures, and I have the pictures when I say hello to the webcam.

What I do wrong ?
or what I missed

fil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

First if you don't have any events that are being saved, there will be errors trying to stream something that don't exist.
Raise and enable debug and check the debug logs, my guess is that zmc is failing to capture and image.
Locked