Page 1 of 1

Camera not responding to PTZ

Posted: Fri Dec 04, 2020 10:40 pm
by Technoholic
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?

Re: Camera not responding to PTZ

Posted: Fri Dec 04, 2020 10:57 pm
by iconnor
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.

Re: Camera not responding to PTZ

Posted: Fri Dec 04, 2020 11:47 pm
by Technoholic
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 =