Runaway errors after deleting events - ZoneMinder 1.34.9

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
remembermyname2000
Posts: 13
Joined: Fri Dec 04, 2009 3:41 pm
Location: Atlanta GA

Runaway errors after deleting events - ZoneMinder 1.34.9

Post by remembermyname2000 » Sat May 16, 2020 6:17 am

Greetings,
While in the events page of a camera, I can view the event but if I delete an event during playback, the logs will fill with non-stop log errors for that event over and over like so:

Code: Select all

020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679

...
I restarted ZoneMinder with no change in behavior of the logs. I then, stopped it altogether yet the errors continue log after. This will stop if I restart the server altogether. Run_Audit has not been enabled. I've looked for other posts that may contain this issue but I wasn't able to pull much. Please advise.

Code: Select all

ZoneMinder 1.34.9
Compiled from ports

$ uname -a
FreeBSD ZM 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

remembermyname2000
Posts: 13
Joined: Fri Dec 04, 2009 3:41 pm
Location: Atlanta GA

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by remembermyname2000 » Tue May 19, 2020 9:37 pm

However, I have not experienced this when deleting events from the events listing page for any camera.

User avatar
knight-of-ni
Posts: 2251
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by knight-of-ni » Wed May 20, 2020 11:12 pm

Moved to the 1.34.x forum....
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

gruiarew
Posts: 9
Joined: Tue May 05, 2020 7:10 am

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by gruiarew » Thu May 21, 2020 6:51 am

If you delete the event while watching it will fill the logs with "unable to find the event". Only restarting apache will stop that.
However if you let the movie till the end, then you delete it will also be fixed.

Another thing, if the event is mp4, and if you disable the jpeg saving (from the monitor definition) this situation will not occur anymore.

remembermyname2000
Posts: 13
Joined: Fri Dec 04, 2009 3:41 pm
Location: Atlanta GA

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by remembermyname2000 » Thu May 21, 2020 10:17 pm

Moved to the 1.34.x forum....
Doh! :oops:
If you delete the event while watching it will fill the logs with "unable to find the event". Only restarting apache will stop that.
However if you let the movie till the end, then you delete it will also be fixed.
I did that too. Running Nginx tho. Then, estarted php-fpm, mysql, then ZoneMinder to no avail. Eventually restarting the machine stops this.

User avatar
iconnor
Posts: 1130
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by iconnor » Thu May 21, 2020 11:51 pm

I'll take a look for 1.34.16. This was reported before but I havn't had time to look at it.

I would imagine it's a simple thing to fix... just stop streaming before doing the actual delete.

remembermyname2000
Posts: 13
Joined: Fri Dec 04, 2009 3:41 pm
Location: Atlanta GA

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by remembermyname2000 » Fri May 22, 2020 1:52 am

However if you let the movie till the end, then you delete it will also be fixed.
just stop streaming before doing the actual delete.
Thanks for the quick reply guys but I forgot to add. I did that as well and still the same. I'll just delete from the event listing for now as this doesn't create the errors.

gruiarew
Posts: 9
Joined: Tue May 05, 2020 7:10 am

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by gruiarew » Fri May 22, 2020 8:32 pm

Disable jpen saving and just save it as movie. for me that did the trick. Was quite annoying as was watching them from the phone...

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests