problem while watching sream

Forum for questions and support relating to the 1.24.x releases only.
Locked
ka73ka
Posts: 2
Joined: Mon May 31, 2010 2:42 pm

problem while watching sream

Post by ka73ka »

Hi!

I have problem with zm while I want to watch already recorded shots.
On CentOS 5.6 everything worked fine, but recently I installed Centos 6.0 from scratch and problems started. (as same as on 5.6 everything what required is installed from rpmforge except zm which is compiled by me).

After opening recorded event video it hangs (no matter if using flash or java), and I'm getting this error in apache's error log:

Code: Select all

[Tue Aug 09 10:08:53 2011] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 configured -- resuming normal operations
[Tue Aug 09 10:13:32 2011] [error] [client 10.0.0.153] socket_sendto( /tmp/zm/zms-374709s.sock ) failed: No such file or directory, referer: xxxx://10.0.0.13/zm/index.php?view=event&eid=965&trms=1&attr1=MonitorId&op1=%3d&val1=1&page=1
[Tue Aug 09 10:13:32 2011] [error] [client 10.0.0.153] array (\n  0 => \n  array (\n    'file' => '/var/www/html/zm/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zm/zms-374709s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/html/zm/index.php',\n    'line' => 121,\n    'args' => \n    array (\n      0 => '/var/www/html/zm/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: xxx://10.0.0.13/zm/index.php?view=event&eid=965&trms=1&attr1=MonitorId&op1=%3d&val1=1&page=1
(my post looks too spamy for a new user according phpBB, so I cut url's beginning from log)

I've check /tmp /zm for right chmod and it's 777 so it shouldn't be a problem.

What else could I try?
ka73ka
Posts: 2
Joined: Mon May 31, 2010 2:42 pm

Re: problem while watching sream

Post by ka73ka »

OK, got it.

Problem was that place where stream is stored wasn't accessible somehow.

var/log/messages said:

Aug 9 12:23:21 overmind zms[2918]: ERR [Can't open /var/www/html///storage/zm/events/1/11/08/09/12/18/42/001-capture.jpg: No such file or directory]

so i made symlink. This is kind a weird as DIR_EVENT path is /storage/zm/events and zms adding /var/www/html/ at the beginning.
Locked