No events displayed

Forum for questions and support relating to the 1.29.x releases only.
Locked
m3lab
Posts: 18
Joined: Mon Jul 14, 2014 9:41 pm

No events displayed

Post by m3lab »

Hi folks,

ZM is a GREAT "piece" of software and I'm using it since 2011 on various hardare and software ...

Now at home I've installed it on a Raspberry PI 2 with Jessie and nginx ...

It runs VERY WELL till last week where there was a php5 update. Now, system records all events but I cannot see them and ZM logs something like:

Code: Select all

web_js		1187	ERR	getCmdResponse stream error: socket_sendto( /var/run/zm/zms-086015s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=event	
web_php		1186	ERR	socket_sendto( /var/run/zm/zms-086015s.sock ) failed: No such file or directory	includes/functions.php	2371
/var/run/zm directory contains only zm.pid and zmdc.sock

Some suggestion(s)?

Thanks in advance,
m
m3lab
Posts: 18
Joined: Mon Jul 14, 2014 9:41 pm

Re: No events displayed (more info ...)

Post by m3lab »

I can see event(s) from Console (i.e. hour or day ...)

When I click on the "camera-name" entry in Console it shows the live but clicking on event entry produces the above error ...

Any hints?
thanks in advance,
m.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: No events displayed

Post by SteveGilvarry »

Normally both live and event view are affected by socket_sendto. Normal checks are apache cgi-bin alias and zms_path, but in your case maybe you have moved the location of events and apache cannot access it. Something would should in apache logs for that I suspect.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
rockedge
Posts: 1174
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: No events displayed

Post by rockedge »

Yes I encountered this with a permissions/owner problem with the event and image directories.
m3lab
Posts: 18
Joined: Mon Jul 14, 2014 9:41 pm

Re: No events displayed - update

Post by m3lab »

Starting from yesterday no events could be seen ...
I've double checked zms_paths and permissions but they are ok ...

Maybe, and I say maybe, it could be related to nginx but it seems that all other stuff wroks fine!

Any other hint(s)?
thanks in advance,
m.
tob
Posts: 2
Joined: Mon May 30, 2016 10:49 am

Re: No events displayed

Post by tob »

Did you figure this out?
I have the same problem and I already have checked the paths and permissions.. my zoneminder setup is running on nginx too and erverything else seems to work just fine.
tob
Posts: 2
Joined: Mon May 30, 2016 10:49 am

Re: No events displayed

Post by tob »

To answer my self:
with nginx one has to follow this guide https://chiralsoftware.com/content/zone ... s-it-works espaciallz the part on fcgiwrap.
Locked