Memory map file issue & zmMemInvalidate issue

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
aristosv
Posts: 8
Joined: Sat May 14, 2016 9:36 pm

Memory map file issue & zmMemInvalidate issue

Post by aristosv »

I installed Zoneminder using this command

Code: Select all

docker run -d \
 --restart=always \
 --name zoneminder \
 -h zoneminder \
 -e PUID=1001 \
 -e PGID=1001 \
 -e TZ=Europe/Nicosia \
 --net=network \
 -p 1080:80 \
 --shm-size="512m" \
 -v /mnt/monitor/zoneminder/events:/var/cache/zoneminder/events \
 -v /mnt/monitor/zoneminder/images:/var/cache/zoneminder/images \
 -v zoneminder:/var/lib/mysql \
 -v zoneminder:/var/log/zm \
 zoneminderhq/zoneminder:latest-ubuntu18.04
When I add the first camera, I get these messages in the log file

Code: Select all

2020-03-20 08:30:22	zmwatch		511	ERR	Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.	zmwatch.pl	
2020-03-20 08:30:22	zmwatch		511	INF	Restarting capture daemon for Entrance, shared data not valid	zmwatch.pl	
2020-03-20 08:30:22	zmdc		463	INF	'zmc -m 1' sending stop to pid 711 at 20/03/20 08:30:22	zmdc.pl	
2020-03-20 08:30:22	zmdc		463	INF	'zmc -m 1' exited, signal 14	zmdc.pl	
2020-03-20 08:30:22	zmwatch		511	WAR	no memkey in zmMemInvalidate	zmwatch.pl	
2020-03-20 08:30:17	zmdc		711	INF	'zmc -m 1' started at 20/03/20 08:30:17	zmdc.pl	
2020-03-20 08:30:17	zmdc		463	INF	'zmc -m 1' starting at 20/03/20 08:30:17, pid = 711	zmdc.pl	
2020-03-20 08:30:17	zmdc		463	INF	Starting pending process, zmc -m 1	zmdc.pl	
2020-03-20 08:30:12	zmwatch		511	ERR	Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.	zmwatch.pl	
2020-03-20 08:30:12	zmwatch		511	INF	Restarting capture daemon for Entrance, shared data not valid	zmwatch.pl	
2020-03-20 08:30:12	zmdc		463	INF	'zmc -m 1' sending stop to pid 686 at 20/03/20 08:30:12	zmdc.pl	
2020-03-20 08:30:12	zmdc		463	INF	'zmc -m 1' exited, signal 14	zmdc.pl	
2020-03-20 08:30:12	zmwatch		511	WAR	no memkey in zmMemInvalidate
This is how I always add my cameras to Zoneminder, but with this installation, I get no video feed.
1.png
1.png (18.31 KiB) Viewed 2647 times
2.png
2.png (15.86 KiB) Viewed 2647 times
Post Reply