Cannot veiw some events
Posted: Mon Aug 02, 2021 1:17 am
Problem: zm is recording events but I can only view some of the events, maybe only 1/4 of all events listed for each camera.
I have previously experimented with zomeminder on my ubuntu desktop, but have now installed on a fresh ubuntu 20.04 server. So not yet very familiar with zm. Server hardware = HP Pro 630 SFF box, i5, 8Gb ram (DDR3 1600), OS on a 500Gb HDD, 1000Gb HDD mounted at /video for zoneminder events/recording. Two H265 2MP/1920x1080 cameras connected Ffmpeg, RTSP, TCP, 32bit colour, 640x400, Image Buffer Size (frames) = 5.
I can view live camera streams 1) in the console view as thumbnails, 2) in montage view, and 3) when expanded to view individual camera. Zm is recording events (shows for each camera and have thumbnails in events screen, and files are written in /video/). I can view some events without problem, but when I mouse hover over other events the pop-up expanded preview thumbnail does not show an image but rather just states "event 1247" etc, and clicking through opens a window that fails to open the event stream.
So, some events are viewable and some are not. the majority are not. Can anyone point me in the right direction to solve this? Many thanks.
Error logs:
2021-08-02 13:00:18 web_js 11869 ERR getCmdResponse stream error: Socket /run/zm/zms-983968s.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/lat ... window-etc for more information. - checkStreamForErrors() ?view=event&eid=1247&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=3&sort_field=StartDateTime&sort_asc=1&page=1 -
2021-08-02 13:00:14 web_php 16699 ERR Socket /run/zm/zms-983968s.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/lat ... window-etc for more information.
sudo nano /etc/apache2/conf-enabled/zoneminder.conf
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
sudo nano /etc/zm/conf.d/01-system-paths.conf
# ZoneMinder url path to the zms streaming server
ZM_PATH_ZMS=/zm/cgi-bin/nph-zms
I have previously experimented with zomeminder on my ubuntu desktop, but have now installed on a fresh ubuntu 20.04 server. So not yet very familiar with zm. Server hardware = HP Pro 630 SFF box, i5, 8Gb ram (DDR3 1600), OS on a 500Gb HDD, 1000Gb HDD mounted at /video for zoneminder events/recording. Two H265 2MP/1920x1080 cameras connected Ffmpeg, RTSP, TCP, 32bit colour, 640x400, Image Buffer Size (frames) = 5.
I can view live camera streams 1) in the console view as thumbnails, 2) in montage view, and 3) when expanded to view individual camera. Zm is recording events (shows for each camera and have thumbnails in events screen, and files are written in /video/). I can view some events without problem, but when I mouse hover over other events the pop-up expanded preview thumbnail does not show an image but rather just states "event 1247" etc, and clicking through opens a window that fails to open the event stream.
So, some events are viewable and some are not. the majority are not. Can anyone point me in the right direction to solve this? Many thanks.
Error logs:
2021-08-02 13:00:18 web_js 11869 ERR getCmdResponse stream error: Socket /run/zm/zms-983968s.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/lat ... window-etc for more information. - checkStreamForErrors() ?view=event&eid=1247&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=3&sort_field=StartDateTime&sort_asc=1&page=1 -
2021-08-02 13:00:14 web_php 16699 ERR Socket /run/zm/zms-983968s.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/lat ... window-etc for more information.
sudo nano /etc/apache2/conf-enabled/zoneminder.conf
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
sudo nano /etc/zm/conf.d/01-system-paths.conf
# ZoneMinder url path to the zms streaming server
ZM_PATH_ZMS=/zm/cgi-bin/nph-zms