ZM = v1.34.10
Apache = v2.4.38
PHP = v7.4.5
I have my first camera added (currently only in monitor mode), and when looking at the logs, they appear to show the camera is working. The source path works correctly when viewed in VLC, so I'm certain that is correct.
Logs when initially viewing:
Code: Select all
05/05/20 15:03:01.854905 zmc_m1[30769].INF-zm_monitor.cpp/2540 [cam-FrontDoor: images:1471600 - Capturing at 33.33 fps, capturing bandwidth 293274bytes/sec]
05/05/20 15:03:05.198936 zmc_m1[30769].INF-zm_monitor.cpp/2540 [cam-FrontDoor: images:1471700 - Capturing at 25.00 fps, capturing bandwidth 220636bytes/sec]
https://www.dropbox.com/s/io46vpw18b02j ... e.png?dl=0
The logs show a lot of this:
Code: Select all
05/05/20 15:27:09.908267 web_js[7331].ERR [172.24.42.250] [getStreamCmdResponse stream error: Socket /var/run/zm/zms-149943s.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()] at ?view=watch line
Code: Select all
Socket /var/run/zm/zms-050322s.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.
I checked the /var/run/zm and it has the appropriate permissions and is clearly creating the .sock files there:
Code: Select all
root@zm:/var/run# ls -lh zm
total 4.0K
srwxr-xr-x 1 www-data www-data 0 May 4 19:20 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 May 4 19:20 zm.pid
srwxr-xr-x 1 www-data www-data 0 May 5 15:31 zms-660725w.sock
root@zm:/var/run# ls -lh zm
total 4.0K
srwxr-xr-x 1 www-data www-data 0 May 4 19:20 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 May 4 19:20 zm.pid
root@zm:/var/run# ls -lh zm
total 4.0K
srwxr-xr-x 1 www-data www-data 0 May 4 19:20 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 May 4 19:20 zm.pid
srwxr-xr-x 1 www-data www-data 0 May 5 15:31 zms-472752w.sock
root@zm:/var/run# ls -lh zm
total 4.0K
srwxr-xr-x 1 www-data www-data 0 May 4 19:20 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 May 4 19:20 zm.pid
srwxr-xr-x 1 www-data www-data 0 May 5 15:31 zms-472752w.sock