Page 1 of 1

Viewing events freeze

Posted: Fri Apr 22, 2011 5:17 am
by DREMA
Hi! I just build a new system on Debian 6, x264-svn, ffmpeg-zm and zoneminder svn, and almost everything work perfect. There's no freezing after closing the live views, or playing around on the console, or anything that happens over ubuntu.

But there's some problems.

- When opening a monitor, the list of recent events under the stream, doesn't show up.
- Using the Scale function doesn't work.
- And when viewing an event, it freeze midplay, I have to reload or reopen the event, but it freezes again.

Here's the log

==> /var/log/apache2/error.log <==
[Thu Apr 21 22:15:51 2011] [error] [client 192.168.137.1] socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory, referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:15:51 2011] [error] [client 192.168.137.1] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:15:54 2011] [error] [client 192.168.137.1] socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory, referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:15:54 2011] [error] [client 192.168.137.1] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:15:57 2011] [error] [client 192.168.137.1] socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory, referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:15:57 2011] [error] [client 192.168.137.1] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:16:00 2011] [error] [client 192.168.137.1] socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory, referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1
[Thu Apr 21 22:16:00 2011] [error] [client 192.168.137.1] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zm/zms-248131s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.137.95/index.php?view=ev ... c=0&page=1

Thanks for the help

Re: Viewing events freeze

Posted: Wed Apr 27, 2011 10:08 am
by DREMA
Anyone with this problems on the latets svn ??

Re: Viewing events freeze

Posted: Wed Apr 27, 2011 6:34 pm
by mastertheknife
For problem #1 "when viewing an event, it freeze midplay, I have to reload or reopen the event, but it freezes again." please enable debugging and upload the debug log for the zms \ nph-zms process.

For problem #2 (changing scale kills stream) see this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=16482
I am not sure why this is not fixed yet in the SVN. the line is left out for live streams, but is there for event stream.

mastertheknife.

Re: Viewing events freeze

Posted: Tue May 03, 2011 4:09 pm
by DREMA
The problem isn't that changing the scale kill the stream, is that it just doesn't work, if you change the scale it does nothing, tested on firefox, chrome, ie, any of them works.

I'll post the logs of the events problem when I could get them.

Thanks for the help.