[SOLVED] Zoneminder hangs when trying to view event

Forum for questions and support relating to the 1.24.x releases only.
Locked
BrianB
Posts: 8
Joined: Thu Sep 09, 2010 10:40 am

[SOLVED] Zoneminder hangs when trying to view event

Post by BrianB »

I have Zonemnder 1.24.2 running on Ubuntu 10.10(had same issue before upgrade from 10.04)

Update: Did a clean install with Ubuntu 10.10 64bit server and have the exact same issue.

There are 5 cameras set to Modect and everything works perfects until I try view events.

I can view individual frames and even run through the time line to get a movie effect effect but if I click an event to make it play, it shows one frame and then locks up. I have to close the browser and open it again before I can access Zoneminder, just closing the tabs doesn't help.

I have tested from several different computers with different browsers and I get the same result.

Any advice would be appreciated.
Last edited by BrianB on Wed Nov 03, 2010 8:45 am, edited 3 times in total.
BrianB
Posts: 8
Joined: Thu Sep 09, 2010 10:40 am

Post by BrianB »

Bellow is the output of my apache error.log as I click on the event I want to replay.
[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 808, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 813, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 818, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 823, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 808, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 813, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 818, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 823, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 808, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 813, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 818, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 823, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 808, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 813, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 818, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 823, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1

[Mon Nov 01 11:23:57 2010] [error] [client **.***.***.***] socket_sendto( /tmp/zms-816036s.sock ) failed: No such file or directory, referer: http://*******.dvrdns.org/zm/index.php?view=event&eid=19&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1&sort_field=StartTime&sort_asc=1&page=1

[Mon Nov 01 11:23:57 2010] [error] [client **.***.***.***] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-816036s.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: http://*******.dvrdns.org/zm/index.php?view=event&eid=19&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1&sort_field=StartTime&sort_asc=1&page=1
5min later
[Mon Nov 01 11:28:54 2010] [warn] [client xx.xxx.xxx.xxx] Timeout waiting for output from CGI script /usr/lib/cgi-bin/nph-zms, referer: http://xxxxx.dvrdns.org/zm/index.php?vi ... c=1&page=1
BrianB
Posts: 8
Joined: Thu Sep 09, 2010 10:40 am

Post by BrianB »

Ok, I just realized that I get similar messages to this one on another box that does work correctly so I'm assuming this is not the problem
Mon Nov 01 11:23:53 2010] [error] [client **.***.***.***] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://*******.dvrdns.org/zm/index.php?view=events&page=1&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1
That narrows the problem down to these line, can anyone give me some advice?
[Mon Nov 01 11:23:57 2010] [error] [client **.***.***.***] socket_sendto( /tmp/zms-816036s.sock ) failed: No such file or directory, referer: http://*******.dvrdns.org/zm/index.php?view=event&eid=19&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1&sort_field=StartTime&sort_asc=1&page=1

[Mon Nov 01 11:23:57 2010] [error] [client **.***.***.***] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-816036s.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: http://*******.dvrdns.org/zm/index.php?view=event&eid=19&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=1&sort_field=StartTime&sort_asc=1&page=1
BrianB
Posts: 8
Joined: Thu Sep 09, 2010 10:40 am

Post by BrianB »

I tried enabling Cambozola, now I get the first frame then I get a black background with "Time to next even = 9 seconds" written in white. It doesn't lock up and I can continue using the web interface.
hengst
Posts: 28
Joined: Sun Sep 26, 2010 7:15 am
Location: Netherlands

Post by hengst »

same here, very unstable montage event views.

tried many many hours with all kinds of settings

just downloadin 1.24.2 arch live cd to try. giving up on ubuntu 10.4 and 1.24.2 for the moment. its not stable.
BrianB
Posts: 8
Joined: Thu Sep 09, 2010 10:40 am

Post by BrianB »

Sorted thanks to the second post here http://www.zoneminder.com/forums/viewto ... ght=#57147

I had set my "Image Buffer Size" and "Pre Event Image Count" to the same value, lowering the second one fixed my problem.
Locked