Page 1 of 1

Connection refused to /var/run/zm/zmcontrol-1.sock

Posted: Thu Oct 22, 2015 8:01 am
by Maxxer
Hi.
I just installed 1.28.1 on Ubuntu 12 to control a couple of Pelco cameras.
I'm trying to recall some presets configured on the Pelco controller, but every time I invoke zmcontrol I get the following in logs:

Code: Select all

Oct 21 15:27:24 pdc zmcontrol[1790]: FAT [Can't connect: Connection refused after 11 attempts to /var/run/zm/zmcontrol-1.sock]
Oct 21 15:27:24 pdc web_php[1594]: ERR [/usr/bin/zmcontrol.pl --panspeed=39 --auto stop --command=moveConRight --id=1=>]
Searching online I just found an issue on launchpad which basically says to enable cgi apache module, but I already have it enabled. What else could it be?
thanks

Re: Connection refused to /var/run/zm/zmcontrol-1.sock

Posted: Fri Oct 23, 2015 11:30 am
by bbunge
Do not believe you can use existing presets. When you get zm configured to talk to the camera controls presets can be set. Pelco cameras should work as there are two presets in control for them. Just need to get control settings right! See the wiki camera section.

Re: Connection refused to /var/run/zm/zmcontrol-1.sock

Posted: Fri Oct 23, 2015 12:31 pm
by Maxxer
bbunge wrote:Just need to get control settings right! See the wiki camera section.
Could you be more precise?

Our Pelco cameras are controller thru a PelcoNet 300 controller. From what I could understand there's no way to to control this from ZM, but you should be able to control the cameras IF connected via serial directly to ZM server.


Given that which I still need to sort out, the main problem is still the socket error right now.