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

Forum for questions and support relating to the 1.28.x releases only.
Locked
Maxxer
Posts: 9
Joined: Thu Mar 23, 2006 4:24 pm

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

Post 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
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post 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.
Maxxer
Posts: 9
Joined: Thu Mar 23, 2006 4:24 pm

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

Post 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.
Locked