2bbionic Apprentice
Joined: 24 Mar 2005 Posts: 150
|
Posted: Sun Feb 24, 2019 2:20 pm Post subject: zoneminder SHM problem |
|
|
Hello,
i got a problem with my zoneminder installation. When i configure a camera, i have there errors in the logfile
Code: | eb 24 15:11:12 zm zmwatch[28286]: ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.]
Feb 24 15:11:12 zm zmwatch[28286]: INF [Restarting capture daemon for Monitor-1, shared data not valid]
Feb 24 15:11:13 zm zmdc[28250]: INF [Command 'zma -m 1' removed from pending list at 19/02/24 15:11:13]
Feb 24 15:11:13 zm zmdc[28250]: INF [Command 'zmc -m 1' removed from pending list at 19/02/24 15:11:13]
Feb 24 15:11:14 zm zmdc[28250]: INF ['zma -m 1' starting at 19/02/24 15:11:14, pid = 30241]
Feb 24 15:11:14 zm zmdc[30241]: 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.
Code: | uname -a
Linux zm 4.14.83-gentoo |
SHM is activated in /etc/fstab
Code: | 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!
Regards,
2bbionic |
|