Tux's lil' helper
Joined: 24 Mar 2005
|Posted: Sun Feb 24, 2019 2:20 pm Post subject: zoneminder SHM problem
i got a problem with my zoneminder installation. When i configure a camera, i have there errors in the logfile
|eb 24 15:11:12 zm zmwatch: ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.]
Feb 24 15:11:12 zm zmwatch: INF [Restarting capture daemon for Monitor-1, shared data not valid]
Feb 24 15:11:13 zm zmdc: INF [Command 'zma -m 1' removed from pending list at 19/02/24 15:11:13]
Feb 24 15:11:13 zm zmdc: INF [Command 'zmc -m 1' removed from pending list at 19/02/24 15:11:13]
Feb 24 15:11:14 zm zmdc: INF ['zma -m 1' starting at 19/02/24 15:11:14, pid = 30241]
Feb 24 15:11:14 zm zmdc: INF ['zma -m 1' started at 19/02/24 15:11:14]
It's a IP camera, picture itself is working
Zoneminder is installed with curl/ffmpeg/mmap/ssl support
The error itself is correct - there's nothing in /dev/shm. I tested access by touching a file into there, this was OK.
For testing purpose, i sudo'ed to apache and created a file in /dev/shm successfully.
Linux zm 4.14.83-gentoo
SHM is activated in /etc/fstab
|shm /dev/shm tmpfs size=2G,rw,nodev,nosuid,noexec 0 0 |
This is a XEN-virtualized machine, but this should not be the problem, because it ran for over a year - until a reboot
Where can i start looking for? Any help would be appreciated!