lubuntu 32 bit 18.04 and ppa 1.32: cameras go offline

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
macbeth78
Posts: 7
Joined: Mon Oct 08, 2018 8:10 am

lubuntu 32 bit 18.04 and ppa 1.32: cameras go offline

Post by macbeth78 »

I have installed Ubuntu 18.04 as 32 bit guest on a Hyper-V hypervisor for testing purpose.

apt-get upgrade
apt-get dist-upgrade

I have installed zoneminder from ppa of the 1.32 and tried also master.

I had to apply this fix
https://github.com/ZoneMinder/zoneminde ... 992a2998e1
to have the cameras working


In both cases everything seems to work nicely.

I can watch cameras from the webinterface and also control one of them with Netcat onvif

, but there is an issue....

At some point both cameras go offline, for no reason. There is no ERR in the log.

Entering in camera panel from Zoneminder and re-saving the same configuration bring the camera back online.

If I restart the system, the cameras still offline, until i manually bring them online with the above method.

Can anyone give me some hint?

thanks
Last edited by macbeth78 on Thu Oct 18, 2018 10:07 am, edited 2 times in total.
Nocifer
Posts: 37
Joined: Mon Oct 01, 2018 4:05 pm

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

Post by Nocifer »

When you say "offline", do you mean that their "Name" and/or "Source" links in ZM's web UI's Console view show up as red? Or that the cameras produce no image when you're in their respective Monitor view? Can you view the cameras' feeds via other means while they're offline (e.g. by connecting directly to them via an internal web UI or a smartphone app or whatever)?

If the links are red, then that means that ZM can't communicate with them at all, so there should be many errors in the logs. If there aren't any errors, and especially if they don't show up as red but simply produce no stream, then it could be something else, possibly with your FCGI backend.

Oh, and another thing: do they produce any motion events at all when they're offline?

And yet one more thing: do your cameras go offline at fixed or random time intervals? I'm talking about rough estimates here, e.g. "after 1 hour of operation".
macbeth78
Posts: 7
Joined: Mon Oct 08, 2018 8:10 am

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

Post by macbeth78 »

The first, their name and source link become red.

Cameras tested with other softwares/tools works perfectly, but in zoneminder, from the view page nothing appears and there is no blue or red rectangle.
Cameras produce no image when I'm in their respective Monitor view.

If I enter in configuration and I save the same configuration the cameras start to work again.

Cameras don't produce any event while "offline in zoneminder".

Cameras go offline at fixed interval ... something like 3 5 min... i should measure.

There are no error log in zoneminder, but actually there are some INF log.

I'll check later when I re enter at home the after how much the cameras stop working and the inf logs available.
macbeth78
Posts: 7
Joined: Mon Oct 08, 2018 8:10 am

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

Post by macbeth78 »

Here are the log when the system stop to record

cancello and monitor-2 are my 2 cameras

2018-10-17 18:24:05 zmdc 1624 INF Socket should be open at /var/run/zm/zmdc.sock zmdc.pl
2018-10-17 18:24:04 zmpkg 1610 INF Command: start zmpkg.pl
2018-10-17 18:24:04 zmpkg 1610 INF Sanity checking States table... zmpkg.pl
2018-10-17 18:24:04 zmpkg 1610 INF Command: start zmpkg.pl
2018-10-17 18:24:04 zmdc 1624 INF Server starting at 18/10/17 18:24:04 zmdc.pl
2018-10-17 18:23:53 zmdc 806 INF 'zmc -m 2' exited normally zmdc.pl
2018-10-17 18:23:53 zma_m2 1442 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmc_m1 1416 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmdc 806 INF 'zma -m 2' sending stop to pid 1442 at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zmc_m2 1437 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmdc 806 INF Server exiting at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zmc_m1 1416 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zma_m2 1442 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmdc 806 INF 'zma -m 2' exited normally zmdc.pl
2018-10-17 18:23:53 zmdc 806 INF 'zmc -m 1' sending stop to pid 1416 at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zmc_m1 1416 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmc_m2 1437 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmdc 806 INF 'zma -m 1' sending stop to pid 1420 at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zma_m1 1420 INF Cancello: image_count:6705 - Closing event 19, shutting down zm_monitor.cpp 643
2018-10-17 18:23:53 zma_m2 1442 INF Monitor-2: image_count:4223 - Closing event 18, shutting down zm_monitor.cpp 643
2018-10-17 18:23:53 zmdc 806 INF 'zmc -m 2' sending stop to pid 1437 at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zma_m1 1420 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zma_m2 1442 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zma_m1 1420 INF Cancello: 6700 - Analysing at 14.29 fps zm_monitor.cpp 1247
2018-10-17 18:23:53 zma_m1 1420 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2018-10-17 18:23:53 zmdc 806 INF Server shutdown at 18/10/17 18:23:53 zmdc.pl
2018-10-17 18:23:53 zmdc 806 INF 'zmc -m 1' exited normally zmdc.pl
2018-10-17 18:23:53 zmdc 806 INF 'zma -m 1' exited normally zmdc.pl
2018-10-17 18:23:51 zma_m2 1442 INF Monitor-2: 4200 - Analysing at 12.50 fps zm_monitor.cpp 1247
2018-10-17 18:23:50 zmc_m1 1416 INF Cancello: images:7500 - Capturing at 20.00 fps, capturing bandwidth 138580bytes/sec zm_monitor.cpp 2473
2018-10-17 18:23:49 zmc_m2 1437 INF Monitor-2: images:4300 - Capturing at 11.11 fps, capturing bandwidth 52351bytes/sec zm_monitor.cpp 2473
2018-10-17 18:23:46 zma_m1 1420 INF Cancello: 6600 - Analysing at 20.00 fps zm_monitor.cpp 1247
2018-10-17 18:23:45 zmc_m1 1416 INF Cancello: images:7400 - Capturing at 25.00 fps, capturing bandwidth 148998bytes/sec zm_monitor.cpp 2473
2018-10-17 18:23:43 zma_m2 1442 INF Monitor-2: 4100 - Analysing at 11.11 fps zm_monitor.cpp 1247
macbeth78
Posts: 7
Joined: Mon Oct 08, 2018 8:10 am

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

Post by macbeth78 »

and if i try to enter in the monitor view page finally i have a shitload of errors

Code: Select all

2018-10-17 18:46:16	web_php		525	ERR	Socket /var/run/zm/zms-488112s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:16	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-488112s.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()	?view=watch	
2018-10-17 18:46:16	zms_m1		1200	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:16	zms_m1		1200	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:16	zms_m1		1200	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:15	zms_m1		1196	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:15	web_php		525	ERR	Socket /var/run/zm/zms-454574s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:15	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-454574s.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()	?view=watch	
2018-10-17 18:46:15	zms_m1		1196	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:15	zms_m1		1196	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:14	zms_m1		1192	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:14	zms_m1		1192	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:14	zms_m1		1192	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:14	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-265603s.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()	?view=watch	
2018-10-17 18:46:13	web_php		525	ERR	Socket /var/run/zm/zms-265603s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:13	zms_m1		1188	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:13	zms_m1		1184	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:13	zms_m1		1188	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:13	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-841332s.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()	?view=watch	
2018-10-17 18:46:13	web_php		525	ERR	Socket /var/run/zm/zms-841332s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:13	zms_m1		1184	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:13	zms_m1		1184	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:13	zms_m1		1188	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:12	zms_m1		1180	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:12	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-014263s.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()	?view=watch	
2018-10-17 18:46:12	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-743975s.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()	?view=watch	
2018-10-17 18:46:12	web_php		525	ERR	Socket /var/run/zm/zms-743975s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:12	zms_m1		1180	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:12	zms_m1		1180	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:12	web_php		525	ERR	Socket /var/run/zm/zms-014263s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:11	web_php		525	ERR	Socket /var/run/zm/zms-030493s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:11	zms_m1		1176	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:11	zms_m1		1176	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:11	web_js		525	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-030493s.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()	?view=watch	
2018-10-17 18:46:11	zms_m1		1176	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:10	zms_m1		1172	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:10	web_php		529	ERR	Socket /var/run/zm/zms-217590s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:10	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-217590s.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()	?view=watch	
2018-10-17 18:46:10	zms_m1		1172	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:10	zms_m1		1172	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:09	zms_m1		1168	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:09	zms_m1		1168	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:09	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-990757s.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()	?view=watch	
2018-10-17 18:46:09	web_php		529	ERR	Socket /var/run/zm/zms-990757s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:09	zms_m1		1168	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:08	zms_m1		1164	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:08	zms_m1		1164	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:08	zms_m1		1164	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:07	web_php		529	ERR	Socket /var/run/zm/zms-692463s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:07	zms_m1		1160	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:07	zms_m1		1160	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:07	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-692463s.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()	?view=watch	
2018-10-17 18:46:07	zms_m1		1160	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:07	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-374222s.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()	?view=watch	
2018-10-17 18:46:06	zms_m1		1156	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:06	web_php		529	ERR	Socket /var/run/zm/zms-374222s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:06	zms_m1		1156	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:06	zms_m1		1156	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:05	web_php		529	ERR	Socket /var/run/zm/zms-897039s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:05	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-897039s.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()	?view=watch	
2018-10-17 18:46:04	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-819364s.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()	?view=watch	
2018-10-17 18:46:04	web_php		529	ERR	Socket /var/run/zm/zms-819364s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:04	zms_m1		1152	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:04	zms_m1		1152	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:04	zms_m1		1152	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:03	web_php		529	ERR	Socket /var/run/zm/zms-977638s.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.	/usr/share/zoneminder/www/includes/functions.php	2043
2018-10-17 18:46:03	zms_m1		1144	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:03	zms_m1		1148	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
2018-10-17 18:46:03	zms_m1		1148	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:03	zms_m1		1148	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-10-17 18:46:03	web_js		529	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-977638s.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()	?view=watch	
2018-10-17 18:46:03	zms_m1		1144	ERR	Unable to connect to monitor id 1 for streaming	zm_stream.cpp	48
2018-10-17 18:46:03	zms_m1		1144	ERR	Unable to connect to zmc process for monitor 1	zms.cpp	254
macbeth78
Posts: 7
Joined: Mon Oct 08, 2018 8:10 am

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

Post by macbeth78 »

I did a test, same hardware , same hypervisor (hyper-v) but with 18.04 64 bit everything works without any issue. Probably related to lbuntu 32 bit .
Post Reply