Viewing events freeze

Forum for questions and support relating to the 1.24.x releases only.
Locked
DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Viewing events freeze

Post 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
Just... enjoy life! :D
DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Re: Viewing events freeze

Post by DREMA »

Anyone with this problems on the latets svn ??
Just... enjoy life! :D
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Viewing events freeze

Post 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.
Kfir Itzhak.
DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Re: Viewing events freeze

Post 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.
Just... enjoy life! :D
Locked