Can't see Revotech I6032W P Monitor
Posted: Thu Feb 15, 2018 3:45 am
OS: Ubuntu 16.04
Camera: Revotech I6032W P
ZoneMinder: v1.30.4
Problem: I can't see my camera when I click on Monitor.
I'm setting up ZoneMinder for the first time. I initially used the WIndows CD provided to set the settings in my camera provided from the information I got at: https://wiki.zoneminder.com/Revotech_I6032W_P
From the default configuration, only the following changes were made:
Main profile frame rate dropped to 10fps and resolution to 1280 x 720
Static IP assigned
Unsetting of options that add legends to the video (which removed the timestamp and name on video)
Setting of a password
Then I installed ZoneMinder, added a new monitor with the following settings fron the information I got at : https://wiki.zoneminder.com/Revotech_I6032W_P
Default settings, with the exception of:
General
Source Type : Ffmpeg
Source
Source Path : rtsp://username:password@ip_address/live0.26
Remote Method : RTP/RTSP
Target Colorspace : 32 bit colour (I am currently trying 24 bit color)
Capture Width (pixels) : 1280
Capture Height (pixels) : 720
I can see my camera with VLC with rtsp:username:password@ip_address/0.26live; however, in the ZM Console - when I click on my Name for the camera, I do not get an image. Here is the settings I have in ZoneMindere:2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I read in the forums to check the PATH_ZMS setting apache's cgi. My apache2/conf-enabled file has
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
and in ZoneMinder Options under Paths tab I have
PATH_ZMS equal to zm/cgi-bin/nph-zms
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I also check my cgi interface was working by creating the script
#!/bin/bash
printf "Content-type: text/html\n\n"
printf "Hello World!\n"
making the script executable, and running it with
curl http://127.0.0.1/cgi-bin/hw.sh
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
My error logs show:
2018-02-14 21:38:59.608410 zmc_m2 9929 INF ShedCamera: 47000 - Capturing at 9.62 fps zm_monitor.cpp 3125
repeated about once every minute.
If I open the monitor from ZM Console, I get in the log file:
2018-02-14 21:41:46.703028 web_js 11541 ERR
getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I think I addressed everything in the message part of that error log (?). Thanks.
{note: my preview showed the SOURCE image twice, once where I want it, and again at the end of post - sorry, not sure how to removed the 2nd one}
Camera: Revotech I6032W P
ZoneMinder: v1.30.4
Problem: I can't see my camera when I click on Monitor.
I'm setting up ZoneMinder for the first time. I initially used the WIndows CD provided to set the settings in my camera provided from the information I got at: https://wiki.zoneminder.com/Revotech_I6032W_P
From the default configuration, only the following changes were made:
Main profile frame rate dropped to 10fps and resolution to 1280 x 720
Static IP assigned
Unsetting of options that add legends to the video (which removed the timestamp and name on video)
Setting of a password
Then I installed ZoneMinder, added a new monitor with the following settings fron the information I got at : https://wiki.zoneminder.com/Revotech_I6032W_P
Default settings, with the exception of:
General
Source Type : Ffmpeg
Source
Source Path : rtsp://username:password@ip_address/live0.26
Remote Method : RTP/RTSP
Target Colorspace : 32 bit colour (I am currently trying 24 bit color)
Capture Width (pixels) : 1280
Capture Height (pixels) : 720
I can see my camera with VLC with rtsp:username:password@ip_address/0.26live; however, in the ZM Console - when I click on my Name for the camera, I do not get an image. Here is the settings I have in ZoneMindere:2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I read in the forums to check the PATH_ZMS setting apache's cgi. My apache2/conf-enabled file has
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
and in ZoneMinder Options under Paths tab I have
PATH_ZMS equal to zm/cgi-bin/nph-zms
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I also check my cgi interface was working by creating the script
#!/bin/bash
printf "Content-type: text/html\n\n"
printf "Hello World!\n"
making the script executable, and running it with
curl http://127.0.0.1/cgi-bin/hw.sh
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
My error logs show:
2018-02-14 21:38:59.608410 zmc_m2 9929 INF ShedCamera: 47000 - Capturing at 9.62 fps zm_monitor.cpp 3125
repeated about once every minute.
If I open the monitor from ZM Console, I get in the log file:
2018-02-14 21:41:46.703028 web_js 11541 ERR
getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.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=watch
I think I addressed everything in the message part of that error log (?). Thanks.
{note: my preview showed the SOURCE image twice, once where I want it, and again at the end of post - sorry, not sure how to removed the 2nd one}