Montage view repeats same image

Forum for questions and support relating to the 1.24.x releases only.
Locked
PSWired
Posts: 9
Joined: Tue Jun 29, 2010 2:18 am

Montage view repeats same image

Post by PSWired »

ZM 1.24.3 on CentOS 5.6, 32 bit Intel.

New install with 8 Axis IP cameras feeding MJPEG streams to the ZM server. Each monitor works properly in live view, but when using the montage view, all 8 images are displayed, but either the same video feed is displayed in all 8 frames, or some combination of a few cameras are mixed up among the frames. Viewing using Chrome on Win7 x64 or IE9 gives the same results.

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

Re: Montage view repeats same image

Post by cordel »

Are there any errors showing up in the apache logs?
Maybe try Firefox with firebug loaded and see what you get on the client side if nothing stands out in the apache logs.
PSWired
Posts: 9
Joined: Tue Jun 29, 2010 2:18 am

Re: Montage view repeats same image

Post by PSWired »

Here's an error from apache log:


[Fri Jun 03 23:24:22 2011] [error] [client x.x.x.x] socket_sendto( /tmp/zm/zms-806891s.sock ) failed: No such file or directory, referer: http://x.x.com/index.php?view=montage&group=0
[Fri Jun 03 23:24:22 2011] [error] [client x.x.x.x] 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-806891s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://x.x.com/index.php?view=montage&group=0


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

Re: Montage view repeats same image

Post by cordel »

Have a look here and see if it helps:
http://www.zoneminder.com/forums/viewto ... 21&t=17712
PSWired
Posts: 9
Joined: Tue Jun 29, 2010 2:18 am

Re: Montage view repeats same image

Post by PSWired »

I've moved my cgi-bin directory since I compiled the software. I guess this is probably causing my problem. Is there any way to fix this without recompiling with the updated cgi-bin location?

Thank you for your help so far, by the way.
PSWired
Posts: 9
Joined: Tue Jun 29, 2010 2:18 am

Re: Montage view repeats same image

Post by PSWired »

Okay, I've rebuilt ZM with the correct cgi directory and the problem persists. Same error in apache log as before:

[Tue Jun 07 15:52:44 2011] [error] [client 172.16.5.5] 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-721937s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://x.x.com/?view=montage&group=0

When starting the Montage view, I've watched the /tmp/zm directory and can see socket files being created. However, there are fewer socket files created than the number of cameras displayed in Montage view, and the error in the apache log refers to a socket file that doesn't exist in the tmp directory.

Why would zm be able to create some, but not all, of the socket files?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Montage view repeats same image

Post by cordel »

That I don't know.
Turn on debug to about 4 on zma as described in the wiki to see if that yields any answers.
joedee983
Posts: 12
Joined: Mon Mar 26, 2007 5:29 pm

Re: Montage view repeats same image

Post by joedee983 »

I'm having this issue on a new 1.25.0 ubuntu build
Montage works fine with Firefox
I have random success with IE, all v8 mix of XP and Win7, most don't work
I have 6 moinitors, 5 analog and 1 IP, montage brings up a random selection, sometimes all the same monitor or some combination of 3 different monitors,it changes after each refresh
the log is showing socket_sendto errors only when I see the issue.

BTW-I have another machine running 1.24.2 and montage is fine from any browser I have tried

Any thoughts?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Montage view repeats same image

Post by mastertheknife »

This issue exists when viewing the streams through cambozola (cambozola should only be used for MSIE) and using an old version of cambozola.
Please download a newer version of cambozola here: http://www.charliemouse.com/code/cambozola/index.html

mastertheknife
Kfir Itzhak.
joedee983
Posts: 12
Joined: Mon Mar 26, 2007 5:29 pm

Re: Montage view repeats same image

Post by joedee983 »

Thanks mastertheknife
I had v.92 installed and I had the problem
I replaced it with v.50 and everything is working

????
Locked