new install of zoneminder, no shared memory

Forum for questions and support relating to the 1.29.x releases only.
Locked
tkalfaoglu
Posts: 65
Joined: Wed Nov 22, 2006 6:19 am

new install of zoneminder, no shared memory

Post by tkalfaoglu »

Hello. I installed
zoneminder-1.30.0-1.fc23.x86_64
from https://zmrepo.zoneminder.com/ on my fedora 23.

After much work (24 hours), I am still having trouble with its running.
Namely, it does not create shared memory files for one.

Here is its current status:
● zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Fri 2016-06-03 16:43:53 EEST; 4min 26s ago
Process: 13726 ExecStop=/usr/bin/zmpkg.pl stop (code=exited, status=0/SUCCESS)
Process: 13443 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 13458 (code=exited, status=0/SUCCESS)

but all the monitors show:
# tail -f /var/log/messages
Jun 3 16:49:07 ns2 zmdc[14167]: INF ['zma -m 2' starting at 16/06/03 16:49:07, pid = 14232]
Jun 3 16:49:07 ns2 zmdc[14232]: INF ['zma -m 2' started at 16/06/03 16:49:07]
Jun 3 16:49:07 ns2 zmdc[14167]: INF ['zmc -m 3' starting at 16/06/03 16:49:07, pid = 14236]
Jun 3 16:49:07 ns2 zmdc[14236]: INF ['zmc -m 3' started at 16/06/03 16:49:07]
Jun 3 16:49:07 ns2 zmdc[14167]: ERR ['zma -m 2' exited abnormally, exit status 127]
Jun 3 16:49:07 ns2 zmdc[14167]: ERR ['zmc -m 3' exited abnormally, exit status 127]
...when I restart ZM.

I already have
kernel.shmall = 13421772800
kernel.shmmax = 42949672960
and:
shm /dev/shm tmpfs defaults,noexec,nosuid 0 0
...in /etc/fstab

# ipcs -lm
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 41943040
max total shared memory (kbytes) = 53687091200
min seg size (bytes) = 1

# ls -ld /dev/shm/
drwxrwxrwt 2 root root 100 Jun 3 16:14 /dev/shm/

# ls -l /dev/shm/
total 12
-rw------- 1 squid squid 8 Jun 3 16:14 squid-cf__metadata.shm
-rw------- 1 squid squid 8216 Jun 3 16:14 squid-cf__queues.shm
-rw------- 1 squid squid 36 Jun 3 16:14 squid-cf__readers.shm

PS: squid runs fine on the same machine..

Any ideas what to do before going crazy?
Thanks! -t
tkalfaoglu
Posts: 65
Joined: Wed Nov 22, 2006 6:19 am

Re: new install of zoneminder, no shared memory

Post by tkalfaoglu »

Never mind; that zoneminder must have been compiled without shared memory support.. :(
Locked