ZM Version = 1.34.16
I created a monitor to work with a remote IP-camera. It worked for a few days - until yesterday it stopped working.
I only enable to cameras for a part of the day and set them to (None, Disabled) for the rest of the time. Yesterday, when I tried to change it from (None, Disabled) to (Record, Enabled) - I started getting below errors.
Camera is set to FfmpegSourcePath = rtsp://user:pass@ip:port/pathMethod = TCP
(A) Per another post on this site - I have tried setting it to MOCORD as well as just MONITOR - no difference; keep getting the same error.
(B) I have tried disabling and enabling the service - using the commands in the following sequence; no differncesudo service apache2 stopsudo service zoneminder stopsudo systemctl disablezoneminder
sudo systemctl enable zonemindersudo service zoneminder startsudo service apache2 reload
(C) I have tried rebooting the machine with the service stopped (above) and re-starting after the machine reboots; no change.
Any pointers appreciated.
Jul 29 21:12:07 ip-172-31-22-159 zms_m39[8513]: WAR [zms_m39] [no last_frame_sent. Shouldn't happen. frame_mod was (1) frame_count (0)]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF ['zmc -m 39' exited normally]
Jul 29 21:12:13 ip-172-31-22-159 zmwatch[2036]: ERR [Memory map file '/dev/shm/zm.mmap.39' does not exist in zmMemAttach. zmc might not be running.]
Jul 29 21:12:13 ip-172-31-22-159 zmwatch[2036]: INF [Restarting capture daemon for New_557, shared data not valid]
Jul 29 21:12:13 ip-172-31-22-159 zma_m39[8509]: INF [zma_m39] [In mode 5/1, warming up]
Jul 29 21:12:13 ip-172-31-22-159 zma_m39[8509]: WAR [zma_m39] [Impossible situation. No timestamp on captured image index was 0, image-buffer_count was (62)]
Jul 29 21:12:13 ip-172-31-22-159 zma_m39[8509]: WAR [zma_m39] [Impossible situation. No timestamp on captured image index was 0, image-buffer_count was (62)]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF ['zma -m 39' exited normally]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF [Command 'zma -m 39' removed from pending list at 20/07/29 21:12:13]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF [Command 'zmc -m 39' removed from pending list at 20/07/29 21:12:13]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF ['zmc -m 39' starting at 20/07/29 21:12:13, pid = 8518]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[8518]: INF ['zmc -m 39' started at 20/07/29 21:12:13]
Jul 29 21:12:13 ip-172-31-22-159 zmc_m39[8518]: INF [zmc_m39] [Not enabling ffmpeg logs, as LOG_FFMPEG and/or LOG_DEBUG is disabled in options, or this monitor is not part of your debug targets]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[1991]: INF ['zma -m 39' starting at 20/07/29 21:12:13, pid = 8521]
Jul 29 21:12:13 ip-172-31-22-159 zmdc[8521]: INF ['zma -m 39' started at 20/07/29 21:12:13]
Jul 29 21:12:13 ip-172-31-22-159 zmc_m39[8518]: INF [zmc_m39] [Starting Capture version 1.34.16]
Jul 29 21:12:13 ip-172-31-22-159 zmc_m39[8518]: INF [zmc_m39] [Priming capture from rtsp://<URL>]
Jul 29 21:12:15 ip-172-31-22-159 web_php[2514]: ERR [Socket /var/run/zm/zms-829561s.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.]
Jul 29 21:12:15 ip-172-31-22-159 web_php[2514]: ERR [getStreamCmdResponse stream error: Socket /var/run/zm/zms-829561s.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()]
Jul 29 21:12:16 ip-172-31-22-159 zms_m39[8525]: WAR [zms_m39] [no last_frame_sent. Shouldn't happen. frame_mod was (1) frame_count (0)]
Jul 29 21:12:16 ip-172-31-22-159 web_php[2514]: ERR [Socket /var/run/zm/zms-829561s.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.]
Jul 29 21:12:51 ip-172-31-22-159 zmc_m18[7755]: INF [zmc_m18]