I'm runnning Zoneminder as a docker under OMV and usually there shouldn't be any problems I guess. But there are plenty. I already removed and setup the docker for a couple of times with different paths. When I first log in zoneminder there is everything find and smooth. But when I add my Cam, which supports Onviv I configure as followed:
Source Type: Ffmpeg
Source Path: rtsp://USER:PW@IP:10554/tcp/av0_0 (works fine in VLC)
Method: TCP
Width: 320
Height: 240
the rest i leave at stock.
I doesn't matter if I choose Monitor /Modect or Mocord, I got instant a red "Log"-Entry. As followed:
Code: Select all
2019-03-16 23:49:26 zmfilter_1 14422 INF Checking filter PurgeWhenFull delete returned 0 events zmfilter.pl
2019-03-16 23:49:26 zmfilter_2 14427 INF Checking filter Update DiskSpace update disk space returned 0 events zmfilter.pl
2019-03-16 23:49:19 zmc_m1 15909 INF Stream open rtsp://xxx:10554/tcp/av0_0, parsing streams... zm_ffmpeg_camera.cpp 378
2019-03-16 23:49:19 zmc_m1 15909 INF Priming capture from rtsp://xxx:10554/tcp/av0_0 zm_ffmpeg_camera.cpp 163
2019-03-16 23:49:19 zmc_m1 15909 INF Starting Capture version 1.32.3 zmc.cpp 223
2019-03-16 23:49:18 zmdc 15909 INF 'zmc -m 1' started at 19/03/16 23:49:18 zmdc.pl
2019-03-16 23:49:18 zmdc 14386 INF 'zmc -m 1' starting at 19/03/16 23:49:18, pid = 15909 zmdc.pl
2019-03-16 23:49:18 zmdc 14386 WAR Can't find process with command of 'zmc -m 1' zmdc.pl
2019-03-16 23:49:18 zmwatch 14431 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2019-03-16 23:49:18 zmwatch 14431 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2019-03-16 23:49:08 zmwatch 14431 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2019-03-16 23:49:08 zmwatch 14431 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2019-03-16 23:49:08 zmdc 14386 INF Command 'zmc -m 1' removed from pending list at 19/03/16 23:49:08 zmdc.pl
2019-03-16 23:48:58 zmdc 14386 INF 'zmc -m 1' exited normally zmdc.pl
2019-03-16 23:48:58 zmc_m1 15889 WAR Monitor dimensions are 320x240 but camera is sending 1280x720 zm_ffmpeg_camera.cpp 627
2019-03-16 23:48:58 zmc_m1 15889 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2019-03-16 23:48:58 zmdc 14386 INF 'zmc -m 1' sending stop to pid 15889 at 19/03/16 23:48:58 zmdc.pl
2019-03-16 23:48:58 zmwatch 14431 INF Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1552776528 - now 1552776538 > 5 zmwatch.pl
2019-03-16 23:48:49 zmc_m1 15889 INF Stream open rtsp://xxx:10554/tcp/av0_0, parsing streams... zm_ffmpeg_camera.cpp 378
2019-03-16 23:48:48 zmwatch 14431 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
Code: Select all
2019-03-16 23:51:32 zms_m1 16025 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:32 zms_m1 16025 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:32 zms_m1 16025 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:32 zms_m1 16026 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:32 zms_m1 16026 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:32 zms_m1 16026 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:32 web_php 14798 ERR Socket /var/run/zm/zms-492705s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2048
2019-03-16 23:51:30 zmdc 14386 INF Command 'zmc -m 1' removed from pending list at 19/03/16 23:51:30 zmdc.pl
2019-03-16 23:51:30 zmwatch 14431 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2019-03-16 23:51:30 zmwatch 14431 ERR Memory map file '/dev/shm/zm.mmap.1' should have been 1160 but was instead 0 zmwatch.pl
2019-03-16 23:51:29 zms_m1 16019 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:29 zms_m1 16019 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:29 zms_m1 16019 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:28 web_php 14352 ERR Socket /var/run/zm/zms-813659s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2048
2019-03-16 23:51:28 zms_m1 16018 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:28 zms_m1 16018 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:28 zms_m1 16018 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:26 zmfilter_2 14427 INF Checking filter Update DiskSpace update disk space returned 0 events zmfilter.pl
2019-03-16 23:51:26 zmfilter_1 14422 INF Checking filter PurgeWhenFull delete returned 0 events zmfilter.pl
2019-03-16 23:51:25 web_php 14353 ERR Socket /var/run/zm/zms-158441s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2048
2019-03-16 23:51:25 zms_m1 16011 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:25 zms_m1 16011 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:25 zms_m1 16011 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:25 zms_m1 16012 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:25 zms_m1 16012 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:25 zms_m1 16012 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:23 zms_m1 16007 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:23 zms_m1 16007 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:23 zms_m1 16007 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-03-16 23:51:23 zms_m1 16006 ERR Unable to connect to zmc process for monitor 1 zms.cpp 254
2019-03-16 23:51:23 zms_m1 16006 ERR Unable to connect to monitor id 1 for streaming zm_stream.cpp 48
2019-03-16 23:51:23 zms_m1 16006 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
The Hardware is performant enough I think:
AMD Ryzen 7 1700 @3GHz
16 GB DDR4 RAM
500 GB NVME SSD
Zoneminder see Diskspace "29.36GB of 441.77GB"
I am not a big Linux-Crack but I've never had such a consistent problem. I'm looking forward for your help, I guess I made a real simple failure but I don't get where it should be. Do you need any further information?