I'm trying to setup version 1.33.14 on a Debian 10 LXC container hosted in proxmox.
The last hurdle I guess is an issue with:
==> zma_m1.log <==
11/28/19 12:40:26.110178 zma_m1[4052].ERR-zm_monitor.cpp/491 [Shared data not initialised by capture daemon for monitor oprit]
==> zmdc.log <==
11/28/2019 12:40:26.133408 zmdc[461].ERR [ZMServer:705] ['zma -m 1' exited abnormally, exit status 255]
11/28/2019 12:31:08.331301 zmwatch[516].ERR [ZoneMinder::Memory::Mapped:96] [Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0]
11/28/2019 12:31:08.536236 zmwatch[516].WAR [ZoneMinder::Memory:379] [no memkey in zmMemInvalidate]
When I change ZM_PATH_MAP to eg /tmp these error's go away for events, then the live watch breaks.
What I'm missing?
Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0
-
- Posts: 2
- Joined: Thu Nov 28, 2019 10:52 am
Re: Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0
Hello, what are the permissions for /dev/shm?
-
- Posts: 2
- Joined: Thu Nov 28, 2019 10:52 am
Re: Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0
❯ ls -all /dev/shm
total 810008
drwxrwxrwt 2 root root 60 Nov 28 20:16 .
drwxr-xr-x 5 root root 440 Nov 28 20:16 ..
-rw------- 1 www-data www-data 829446952 Nov 28 20:16 zm.mmap.1
total 810008
drwxrwxrwt 2 root root 60 Nov 28 20:16 .
drwxr-xr-x 5 root root 440 Nov 28 20:16 ..
-rw------- 1 www-data www-data 829446952 Nov 28 20:16 zm.mmap.1