Newbie - camera image in zoneminder is broken

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
rcx787
Posts: 2
Joined: Sat May 14, 2022 7:59 pm

Newbie - camera image in zoneminder is broken

Post by rcx787 »

Hi. I want to give Zoneminder a go but I've got stuck setting up my first monitor.

1. I've installed Zoneminder on an Amazon AWS EC2 instance.
2. I've set up port forwarding on my home router to make a test camera accessible from the internet
3. I've checked that the camera's RTSP stream is accessible from the internet by using the online service rtsp.me. The online service is successfully getting the stream, which I think confirms the camera is accessible from the internet and getting through my home firewall.
4. I've added the camera to the Zoneminder _Console_. The console says that the monitor is capturing and gives me an fps and kB/s readout
5. When I drill down to watch the monitor I see a broken image in the HTML. The image URL is in the CGI-Bin, and opening the image in a new browser tab generates a 404 error

So seems to me that Perl is not configured on the server or something like that ?
rcx787
Posts: 2
Joined: Sat May 14, 2022 7:59 pm

Re: Newbie - camera image in zoneminder is broken

Post by rcx787 »

I'm also getting some errors in the log.

Code: Select all

Date/Time,Component,Server,PID,Level,Message,File,Line
"2022-05-15 06:32:23",web_js,,580,PNC,"Unknown error type: [8192] Function strftime() is deprecated#0 /usr/share/zoneminder/www/includes/logger.php(529): ZM\Panic('...')#1 /usr/share/zoneminder/www/includes/logger.php(366): ZM\ErrorHandler(8192, '...', '...', 366)#2 /usr/share/zoneminder/www/ajax/log.php(66): ZM\Logger->logPrint(-2, '...', '...', NULL)#3 /usr/share/zoneminder/www/ajax/log.php(33): createRequest()#4 /usr/share/zoneminder/www/index.php(277): require_once('...')",includes/logger.php,529
"2022-05-15 06:32:23",web_php,,1533,ERR,"Socket /run/zm/zms-016319s.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.",includes/functions.php,1908
"2022-05-15 06:32:22",web_js,,580,PNC,"Unknown error type: [8192] Function strftime() is deprecated#0 /usr/share/zoneminder/www/includes/logger.php(529): ZM\Panic('...')#1 /usr/share/zoneminder/www/includes/logger.php(366): ZM\ErrorHandler(8192, '...', '...', 366)#2 /usr/share/zoneminder/www/ajax/log.php(66): ZM\Logger->logPrint(-2, '...', '...', NULL)#3 /usr/share/zoneminder/www/ajax/log.php(33): createRequest()#4 /usr/share/zoneminder/www/index.php(277): require_once('...')",includes/logger.php,529
"2022-05-15 06:32:22",web_php,,579,ERR,"Socket /run/zm/zms-016319s.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.",includes/functions.php,1908
"2022-05-15 06:32:21",web_js,,580,PNC,"Unknown error type: [8192] Function strftime() is deprecated#0 /usr/share/zoneminder/www/includes/logger.php(529): ZM\Panic('...')#1 /usr/share/zoneminder/www/includes/logger.php(366): ZM\ErrorHandler(8192, '...', '...', 366)#2 /usr/share/zoneminder/www/ajax/log.php(66): ZM\Logger->logPrint(-2, '...', '...', NULL)#3 /usr/share/zoneminder/www/ajax/log.php(33): createRequest()#4 /usr/share/zoneminder/www/index.php(277): require_once('...')",includes/logger.php,529
"2022-05-15 06:32:21",web_php,,1533,ERR,"Socket /run/zm/zms-016319s.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.",includes/functions.php,1908
"2022-05-15 06:32:20",web_js,,580,PNC,"Unknown error type: [8192] Function strftime() is deprecated#0 /usr/share/zoneminder/www/includes/logger.php(529): ZM\Panic('...')#1 /usr/share/zoneminder/www/includes/logger.php(366): ZM\ErrorHandler(8192, '...', '...', 366)#2 /usr/share/zoneminder/www/ajax/log.php(66): ZM\Logger->logPrint(-2, '...', '...', NULL)#3 /usr/share/zoneminder/www/ajax/log.php(33): createRequest()#4 /usr/share/zoneminder/www/index.php(277): require_once('...')",includes/logger.php,529
"2022-05-15 06:32:20",web_php,,579,ERR,"Socket /run/zm/zms-016319s.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.",includes/functions.php,1908
"2022-05-15 06:32:18",web_js,,580,PNC,"Unknown error type: [8192] Function strftime() is deprecated#0 /usr/share/zoneminder/www/includes/logger.php(529): ZM\Panic('...')#1 /usr/share/zoneminder/www/includes/logger.php(366): ZM\ErrorHandler(8192, '...', '...', 366)#2 /usr/share/zoneminder/www/ajax/log.php(66): ZM\Logger->logPrint(-2, '...', '...', NULL)#3 /usr/share/zoneminder/www/ajax/log.php(33): createRequest()#4 /usr/share/zoneminder/www/index.php(277): require_once('...')",includes/logger.php,529
"2022-05-15 06:32:18",web_php,,1533,ERR,"Socket /run/zm/zms-016319s.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.",includes/functions.php,1908

Post Reply