zmNinja hangs on "loading" during normal refresh

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
jsylvia007
Posts: 116
Joined: Wed Mar 11, 2009 8:32 pm

zmNinja hangs on "loading" during normal refresh

Post by jsylvia007 »

Howdy all! I've been running a rock-solid ZM setup without any real issues (except one caused by HomeAssistant, which I've now disabled), until recently.

Essentially, zmNinja runs fine for hours at a time, and then it will "hang" at a gray screen called that says "loading"...

The only thing I can find in the logs is this (from web_php.log):

Code: Select all

15/03/22 09:54:15.130025 web_php[2146975].ERR [10.1.2.23] [Timed out waiting for msg /run/zm/zms-393706s.sock] at /usr/share/zoneminder/www/ajax/stream.php line 95
15/03/22 09:54:15.136858 web_php[2146975].ERR [10.1.2.23] [No data to read from socket] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 09:54:15.378544 web_php[2179769].ERR [10.1.2.23] [Timed out waiting for msg /run/zm/zms-321845s.sock] at /usr/share/zoneminder/www/ajax/stream.php line 95
15/03/22 09:54:15.385008 web_php[2179769].ERR [10.1.2.23] [No data to read from socket] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 09:54:16.383843 web_php[2179772].ERR [10.1.2.23] [Timed out waiting for msg /run/zm/zms-860760s.sock] at /usr/share/zoneminder/www/ajax/stream.php line 95
15/03/22 09:54:16.383912 web_php[2179773].ERR [10.1.2.23] [Timed out waiting for msg /run/zm/zms-564158s.sock] at /usr/share/zoneminder/www/ajax/stream.php line 95
15/03/22 09:54:16.389892 web_php[2179772].ERR [10.1.2.23] [No data to read from socket] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 09:54:16.390310 web_php[2179773].ERR [10.1.2.23] [No data to read from socket] at /usr/share/zoneminder/www/includes/functions.php line 1902
The IP 10.1.2.23 is the address for the machine running zmNinja.

I can bring it back by issuing, "systemctl restart apache2.service" on the ZM server box, and then restarting zmNinja, but this is beginning to become more frequently and I haven't changed any configurations... Just running regular OS/App updates on the system.

Once I issue the restarts of the apache service and zmNinja, the "web_php.log" adds the following lines, which i'm not sure are actually problems or just what it looks like as the connection is re-established.

Code: Select all

15/03/22 10:05:09.239208 web_php[2185529].ERR [10.1.2.23] [Socket /run/zm/zms-985581s.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.] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 10:05:11.121782 web_php[2185528].ERR [10.1.2.23] [Socket /run/zm/zms-860760s.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.] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 10:05:12.294748 web_php[2185544].ERR [10.1.2.23] [Socket /run/zm/zms-393706s.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.] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 10:05:14.146485 web_php[2185529].ERR [10.1.2.23] [Socket /run/zm/zms-769211s.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.] at /usr/share/zoneminder/www/includes/functions.php line 1902
15/03/22 10:05:15.283317 web_php[2185531].ERR [10.1.2.23] [Socket /run/zm/zms-321845s.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.] at /usr/share/zoneminder/www/includes/functions.php line 1902
Configurations:
ZM Server:
OS: Ubuntu 20.04.4 LTS x86_64
Kernel: Linux 5.4.0-104-generic
ZM Version: v1.36.12

zmNinja Client:
OS: Linux Mint 20.2 x86_64
Kernel: Linux 5.4.0-104-generic
zmNinja Version: zmninja-pro-1.6.9-linux-x86_64.AppImage

Any ideas?
Post Reply