Problem manifests itself only when manually starting the camera (monitor or record, others have not tried). After stopping, starting the entire server, or changing the state through the "Change State", everything works. It breaks down if you change the status of these cameras manually or sometimes falls off by itself under unspecified circumstances. There are no problems with other cameras via the Internet or with the same ones in the local network. Here are some errors from the log:
Code: Select all
2018-10-15 07:34:36.542370 zmwatch 27449 ERR Memory map file '/dev/shm/zm.mmap.51' should have been 1168 but was instead 0 zmwatch.pl
2018-10-15 07:34:36.081045 zms_m51 7194 ERR Unable to connect to zmc process for monitor 51 zms.cpp 245
2018-10-15 07:34:36.042318 zms_m51 7194 ERR Unable to connect to monitor id 51 for streaming zm_stream.cpp 48
2018-10-15 07:34:36.040329 zms_m51 7194 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 544
2018-10-15 07:34:35.912560 web_js 6731 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-863415s.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. - checkStreamForErrors() ?view=watch
2018-10-15 07:34:35.875152 web_php 6731 ERR Socket /var/run/zm/zms-863415s.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 2023
2018-10-15 07:34:34.936415 zms_m51 7127 ERR Unable to connect to zmc process for monitor 51 zms.cpp 245
2018-10-15 07:34:34.905851 zms_m51 7127 ERR Unable to connect to monitor id 51 for streaming zm_stream.cpp 48
2018-10-15 07:34:34.903371 zms_m51 7127 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 544
2018-10-15 07:34:34.858967 web_js 6731 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-863415s.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. - checkStreamForErrors() ?view=watch
2018-10-15 07:34:34.849461 web_php 6731 ERR Socket /var/run/zm/zms-863415s.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.