Event problem- HELP!

Forum for questions and support relating to the 1.24.x releases only.
Locked
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

Event problem- HELP!

Post by flame2262 »

Hi,

I'm using the latest version: 1.24.2 under the latest Ubuntu.

First time installing ZM.
I've set up one monitor, and a few testing zones.
I can see the camera and the picture is OK.

When I try to "Force Alarm" in the feed/watch window (via the console),
nothing is recorded! I have the option to stop the forced alarm, but no output...

How do I make ZM record?

Thank you,
Eyal
Last edited by flame2262 on Sun Feb 14, 2010 6:25 pm, edited 2 times in total.
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

Post by flame2262 »

I've checked the apace log, and I can only assume that this is related:

Code: Select all

[Wed Feb 10 13:44:08 2010] [error] [client 192.168.1.3] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/ajax/stream.php',\n    'line' => 51,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-488022s.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://192.168.1.6/zm/index.php?view=watch&mid=3
[Wed Feb 10 13:44:30 2010] [error] [client 192.168.1.3] Codec for stream 0 does not use global headers but container format requires global headers, referer: http://192.168.1.6/zm/index.php?view=watch&mid=3
Both MPEG streaming and JPEG streaming seem to behave the same (meaning- no events, and similiar error messages)
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

HELP!

Post by flame2262 »

I've also done

Code: Select all

chmod a+x zms nph-zms
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

the event will only close when the alarm ends. It might be worth forcing an alarm then clearing it and seeing if you have anything. Your logs seem to suggest you have a problem streaming images, but im assuming these are working else you would of struggled setting up a zone.
FOr the time being stick with jpeg streams. You can move to mpeg later once you understand more and everything else is working correctly.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

Post by flame2262 »

Hi,

As I said, I tried a force alarm and I get nothing.

JPEG streaming doesn't work as well :cry:
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

do you have images then? is can you see a live stream. If not then there is nothing to record.
Whats your monitor config?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

Post by flame2262 »

Live streaming is OK. I can see the picture well.

Currently I have two monitors with two different capture card, but also when I had only one it didn't work.

I can define zones with no problems.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

ok good you have images. Most important bit out of the way.
what mode is the monitor in?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
flame2262
Posts: 11
Joined: Mon Feb 01, 2010 11:01 pm

Post by flame2262 »

Well,

Thanks to your guidance I found out that the default monitor mode does not record events, even though you have the "force alarm" option...

I Changed to "motion detect" and it's OK now.

The energy I spent to fix this... damn...

Thank you James
:)
Locked