Hello-
OS is ubuntu 18.04.
I had been running the ZM 16.04 version from when I had 16.04. I don't recall the version number.
That version ran for at least a year after I upgraded to 18.04, and all worked it should.
A few days ago, ZM stopped showing recording from alarms.
I removed this old version and installed ZM 1.34.23.
this version works fine except the problem with recording of alarms persists.
Here is what seems to be happening:
A motion detect alarm is triggered. A recording takes place. It shows up in the list of alarms on the monitor page, below the picture.
I review the alarm pictures via the console. Then the file disappears from the console.
Also seems that after and alarm is recorded, after some time it disappears.
If I force an alarm, it shows up on the console. but after about 30 seconds it deletes itself.
here is what the log ERR says:
2021-03-28 10:31:48.422066 zma_m1[28100].ERR-zm_monitor.cpp/567 [Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: No such file or directory]
Terminal says this about the zm.mmap.1 file:
/dev/shm$ ls -l
total 315024
-rw-r----- 1 www-data www-data 138246152 Mar 28 10:59 zm.mmap.1
-rw-r----- 1 www-data www-data 46086152 Mar 28 06:40 zm.mmap.2
-rw-r----- 1 www-data www-data 138246152 Mar 28 06:09 zm.mmap.3
so it is there, not sure if permissions are correct.
Any help would be appreciated
Thanks DAN
motion detect file save problem
-
- Posts: 360
- Joined: Sun Jun 05, 2016 2:53 pm
Re: motion detect file save problem
If its a /dev/shm problem, check the documentation on possibly resizing it: https://zoneminder.readthedocs.io/en/st ... ur-cameras
What does the console show for available space, up at the top?
What does the console show for available space, up at the top?
Re: motion detect file save problem
I ran the command to check shm, looks ok to me++
df -h|grep "Filesystem\|shm"
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.9G 428M 3.5G 11% /dev/shm
On the console space is ===
Storage: Default: 71% /dev/shm: 12%
Remember I did not add any new cameras, the problem just popped up.
Thanks DAN
df -h|grep "Filesystem\|shm"
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.9G 428M 3.5G 11% /dev/shm
On the console space is ===
Storage: Default: 71% /dev/shm: 12%
Remember I did not add any new cameras, the problem just popped up.
Thanks DAN
Re: motion detect file save problem
Today I noticed shm usage up to 22%
also noticed I cannot delete any old alarm files
DAN
also noticed I cannot delete any old alarm files
DAN
Re: motion detect file save problem
I completely removed Zoneminder.
re-installed following install instructions Zoneminder web site.
all went well, no errors.
Same problem exits alarms don't save, can't delete archived alarms. Noting in log about deletes.
Perhaps an issue with mysql or apache?
Any other ideas?
DAN
re-installed following install instructions Zoneminder web site.
all went well, no errors.
Same problem exits alarms don't save, can't delete archived alarms. Noting in log about deletes.
Perhaps an issue with mysql or apache?
Any other ideas?
DAN