Error: Can't open '/var/lib/zoneminder/events/...'
Posted: Mon Mar 23, 2020 2:01 pm
The issue I'm seeing I can now reliably replicate. The error that occurs appears hundreds or thousands times resembles this in some manner:
----- copied text -----
ERR [zms_e4882] [Can't open /var/lib/zoneminder/events/4/2020-03-17/4882/00105-capture.jpg: No such file or directory]
----- copied text -----
I walked through and read many of the comments in the forum with similar issues. I didn't see one that addressed or resolved the issue, just recurring solutions for external hard drives. There are no external hard drives on the system in question and all are formatted w/ XFS. I'm running CentOS 7 kernel 3.10.0-1062.12.1.el7.x86_64 and I have the following packages installed:
- httpd-2.4.6-90.el7.centos.x86_64
- httpd-tools-2.4.6-90.el7.centos.x86_64
- http-parser-2.7.1-8.el7_7.2.x86_64
- zoneminder-1.34.5-1.el7.x86_64
- zoneminder-httpd-1.34.5-1.el7.x86_64
- zoneminder-common-1.34.5-1.el7.x86_64
I can replicate it as follows:
- from Console view, click on camera to view its event list (Console Window)
- click on an event; this causes a pop up window w/ event to appear (Event Window)
- once I'm done viewing the event in the Event Window, I click into the Console Window to delete the event
The video for the event in the Event Window is not playing back video, it reached the end and has stopped.
The following things -do not cause an error-:
- from Console view, click on camera to view its events list (Console Window)
- click on the first event; this causes a pop up window w/ first event to appear (Event Window)
- once I'm done viewing the first event, I click in the Console Window on a second event; that second event appears in the Event Window
- I can click in the Console Window to delete the first event w/o issue
Also no errors when:
- from Console view, click on camera to view its events list (Console Window)
- click on an eventl this causes a pop up window w/ the event to appear (Event Window)
- once I'm done viewing the event, I close the Event Window
- on the Console Window I delete the event
So, if the first event is active in the Event Window and I delete the first event in the Console Window, horrible things happen. If the Event Window is not actively loading content, then why is it trying to access all of the files associated with that event - that have not been deleted?
Thanks for any advise.
Stu
----- copied text -----
ERR [zms_e4882] [Can't open /var/lib/zoneminder/events/4/2020-03-17/4882/00105-capture.jpg: No such file or directory]
----- copied text -----
I walked through and read many of the comments in the forum with similar issues. I didn't see one that addressed or resolved the issue, just recurring solutions for external hard drives. There are no external hard drives on the system in question and all are formatted w/ XFS. I'm running CentOS 7 kernel 3.10.0-1062.12.1.el7.x86_64 and I have the following packages installed:
- httpd-2.4.6-90.el7.centos.x86_64
- httpd-tools-2.4.6-90.el7.centos.x86_64
- http-parser-2.7.1-8.el7_7.2.x86_64
- zoneminder-1.34.5-1.el7.x86_64
- zoneminder-httpd-1.34.5-1.el7.x86_64
- zoneminder-common-1.34.5-1.el7.x86_64
I can replicate it as follows:
- from Console view, click on camera to view its event list (Console Window)
- click on an event; this causes a pop up window w/ event to appear (Event Window)
- once I'm done viewing the event in the Event Window, I click into the Console Window to delete the event
The video for the event in the Event Window is not playing back video, it reached the end and has stopped.
The following things -do not cause an error-:
- from Console view, click on camera to view its events list (Console Window)
- click on the first event; this causes a pop up window w/ first event to appear (Event Window)
- once I'm done viewing the first event, I click in the Console Window on a second event; that second event appears in the Event Window
- I can click in the Console Window to delete the first event w/o issue
Also no errors when:
- from Console view, click on camera to view its events list (Console Window)
- click on an eventl this causes a pop up window w/ the event to appear (Event Window)
- once I'm done viewing the event, I close the Event Window
- on the Console Window I delete the event
So, if the first event is active in the Event Window and I delete the first event in the Console Window, horrible things happen. If the Event Window is not actively loading content, then why is it trying to access all of the files associated with that event - that have not been deleted?
Thanks for any advise.
Stu