Zoneminder 1.34.23 - zmeventnotification - Zoneminder.service stop hangs until TimeoutSec=600

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
mistral77
Posts: 17
Joined: Fri Jul 06, 2018 11:51 am

Zoneminder 1.34.23 - zmeventnotification - Zoneminder.service stop hangs until TimeoutSec=600

Post by mistral77 »

Hello,

I have built zoneminder from source on Ubuntu 16.04 and works fine, with ffmpeg hardware acceleration (the only change from ppa installation)!

systemctl stop zoneminder hangs until service TimeoutSec parameter (600 seconds)!
Server reboot same, hangs until service TimeoutSec!

The issue comes from the zmeventnotification.pl that never stops and looking for Memory map file!

Please take a look the last log lines before servive timeout kill

Code: Select all

Mar  5 22:53:57 homeserver zmeventnotification[3319]: ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
Mar  5 22:53:57 homeserver zmeventnotification[3319]: ERR [|----> FORK:Back-Balcony (6), eid:6557 SHM failed, re-validating it]
Mar  5 22:53:57 homeserver zmeventnotification[3319]: ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
Mar  5 22:53:59 homeserver zmeventnotification[3319]: ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
Mar  5 22:53:59 homeserver zmeventnotification[3319]: ERR [|----> FORK:Back-Balcony (6), eid:6557 SHM failed, re-validating it]
Mar  5 22:53:59 homeserver zmeventnotification[3319]: ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
Mar  5 22:54:01 homeserver systemd[1]: zoneminder.service: State 'stop-sigterm' timed out. Killing.
Mar  5 22:54:01 homeserver systemd[1]: Stopped ZoneMinder CCTV recording and surveillance system.
Mar  5 22:54:01 homeserver systemd[1]: zoneminder.service: Unit entered failed state.
Mar  5 22:54:01 homeserver systemd[1]: zoneminder.service: Failed with result 'timeout'


Thank u!
Post Reply