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 »

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 »

However, I have not experienced this when deleting events from the events listing page for any camera.
User avatar
knight-of-ni
Posts: 2404
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 »

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: 30
Joined: Tue May 05, 2020 7:10 am

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by gruiarew »

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 »

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: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by iconnor »

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 »

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: 30
Joined: Tue May 05, 2020 7:10 am

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Post by gruiarew »

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