Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0

Forum for questions and support relating to 1.33.x development only.
Post Reply
phdelodder
Posts: 2
Joined: Thu Nov 28, 2019 10:52 am

Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0

Post by phdelodder » Thu Nov 28, 2019 11:43 am

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?

rockedge
Posts: 1154
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0

Post by rockedge » Thu Nov 28, 2019 5:51 pm

Hello, what are the permissions for /dev/shm?

phdelodder
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

Post by phdelodder » Thu Nov 28, 2019 7:17 pm

❯ 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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests