Socket /run/zm/zms-257651s.sock does not exist

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
ktt
Posts: 10
Joined: Sun Oct 28, 2012 10:14 am

Socket /run/zm/zms-257651s.sock does not exist

Post by ktt »

My installation is Ubuntu 20.04 + ZM 1.36.10, installed using apt method by upgrading from previous version. Camera streaming works fine, recording works fine, but still, I keep getting following error in syslog:

Code: Select all

Nov  1 10:12:18 doghouse web_php[1674415]: 11/01/21 10:12:18.357243 web_php[1674415].ERR [192.168.1.41]
[Socket /run/zm/zms-257651s.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
The PATH_ZMS is defined by /etc/zm/conf.d/01-system-paths.conf as follows, and it seems to be fine:

Code: Select all

# ZoneMinder url path to the zms streaming server
ZM_PATH_ZMS=/zm/cgi-bin/nph-zms
On directory /run/zm, there are following files:

Code: Select all

kalle@doghouse:/etc/zm/conf.d$ ls -l /run/zm/
total 4
srwxrwxr-x 1 www-data www-data 0 marras  1 10:11 zmdc.sock
-rw-rw-r-- 1 www-data www-data 7 marras  1 10:11 zm.pid
-rw------- 1 www-data www-data 0 loka   28 14:38 zms-055718.lock
-rw------- 1 www-data www-data 0 marras  1 09:47 zms-073287.lock
-rw------- 1 www-data www-data 0 loka   30 09:38 zms-089335.lock
-rw------- 1 www-data www-data 0 marras  1 10:12 zms-257651.lock
-rw------- 1 www-data www-data 0 loka   28 18:57 zms-862369.lock
-rw------- 1 www-data www-data 0 loka   31 17:39 zms-864815.lock
-rw------- 1 www-data www-data 0 marras  1 09:56 zms-920305.lock
srwxrwxr-x 1 www-data www-data 0 marras  1 10:11 zmtrigger.sock
This server was last rebooted 3 days ago (i.e. "loka 28").

How can I get rid of those error messages?
Post Reply