I am running ZM 1.34.22 on Ububtu server 20.04.i LTS. All current upgrades have been applied. Zoneminder works great except for PTZ which logs numerous errors. One such error is
"Unable to connect to zmcontrol server at /run/zm/zmcontrol-9.sock".
That error is valid because the file does not exist. Question is where is that file supposed to come from?
Camera not responding to PTZ
Re: Camera not responding to PTZ
It is created by the zmcontrol program.
Does ps ax | grep zmcontrol list a process?
How about sudo zmdc.pl status zmcontrol.pl --id 1
replace 1 with what the id of your monitor is. There should be a process for each monitor that has PTZ turned on.
Does ps ax | grep zmcontrol list a process?
How about sudo zmdc.pl status zmcontrol.pl --id 1
replace 1 with what the id of your monitor is. There should be a process for each monitor that has PTZ turned on.
-
- Posts: 9
- Joined: Thu Jul 16, 2020 3:35 am
Re: Camera not responding to PTZ
ps ax | grep zmcontrol
16808 ? S 0:00 /usr/bin/zmcontrol.pl --id=5
17483 pts/0 S+ 0:00 grep --color=auto zmcontrol
sudo zmdc.pl status zmcontrol.pl --id 1
'zmcontrol.pl --id 1' not running - makes sense since monitor 1 is not PTZ
sudo zmdc.pl status zmcontrol.pl --id 9
'zmcontrol.pl --id 9' pending at 20/12/04 16:23:01
'zmcontrol.pl --id 9' running since 20/12/04 16:13:01, pid =
16808 ? S 0:00 /usr/bin/zmcontrol.pl --id=5
17483 pts/0 S+ 0:00 grep --color=auto zmcontrol
sudo zmdc.pl status zmcontrol.pl --id 1
'zmcontrol.pl --id 1' not running - makes sense since monitor 1 is not PTZ
sudo zmdc.pl status zmcontrol.pl --id 9
'zmcontrol.pl --id 9' pending at 20/12/04 16:23:01
'zmcontrol.pl --id 9' running since 20/12/04 16:13:01, pid =