Issue: zoneminder is unable to start zmc capture, and the logs all point to (repeats every few seconds when zmc tries to start):
Code: Select all
Started Video security and surveillance system.
INF [Scanning for events]
INF [Watchdog starting]
INF [Watchdog pausing for 30 seconds]
INF [Starting pending process, zmc -m 1]
INF ['zmc -m 1' starting at 14/12/31 07:33:54, pid = 3108]
INF ['zmc -m 1' started at 14/12/31 07:33:54]
ERR ['zmc -m 1' exited abnormally, exit status 127]
ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.]
SElinux is disabled (verified), I've already adjusted kernel.shmmax to 512MB. I chose one AXIS camera to test and it is up and running (I can view it direct from the VM in a web browser) and I am using the exact same configuration info that works in my 1.24.2 server, where that camera is being monitored and recorded.
I've tried what I can and I am stumped. I have even nuked the whole VM image and created a new one (with fresh install) to be sure my previous attempts at fixing it didn't cause problems. New VM - same problem.
As a hint that might help, I manually created a zero-loaded zm.mmap.1 file (dd'd zeros into it) and zmwatch actually saw it and complained it was not the right size. When I did a restart of zoneminder, the file was removed. So I know ZM is seeing /dev/shm and can at least read/delete (which implies write).
Any ideas where to look next? Any idea why zmc is failing on start? Also, anyone have a handy list of exit codes for the various processes, just in case exit code 127 means something I cannot discover without chasing through source?
Thanks in advance.