Page 1 of 1

Problem with Control

Posted: Sat Oct 05, 2013 9:28 pm
by sn0rcha
Hey guys,

I'm trying to get the control working with my Foscam camera. I can view the camera and record no problems, but whenever I issue a control command I get an alert something along the lines of:

"Control response was status = undefined"

If I check the log, it's showing:

Code: Select all

2013-10-06 08:23:40.869740	zmcontrol	8467	FAT	Can't connect: No such file or directory	zmcontrol.pl	
2013-10-06 08:23:30.869060	zmcontrol	8470	INF	Control server 1/Foscam starting at 13/10/06 07:23:30	zmcontrol.pl	
2013-10-06 08:23:30.866860	zmcontrol	8467	INF	Starting control server 1/Foscam	zmcontrol.pl	
I've checked that I'm using the right control protocol - Ie. the same as the filename in the control directory minus the .pm.

I've attached my control script, the permissions are the same as the other control files in the directory.

Does anyone have any idea why i would be getting that error?

Re: Problem with Control

Posted: Sun Oct 06, 2013 4:39 am
by dvarapala
I'm having the same problem with a DLink camera (see thread here: http://www.zoneminder.com/forums/viewto ... 29&t=21387).

My Perl-Fu is very weak, but AFAICT the zmcontrol.pl script is attempting to open a Unix domain socket that doesn't exist - whatever ZoneMinder process is supposed to create that socket on the other end is apparently not working.

It's not much, but it's all I have so far.

Re: Problem with Control

Posted: Sun Oct 06, 2013 5:58 pm
by dvarapala
As a sanity check, I set up my Axis P1347 for PTZ in ZoneMinder and it works fine. Something creates the zmcontrol-9.sock file in the sockets directory and it all just works.

The main difference is that the Axis control script comes as part of the ZoneMinder distribution whereas the DCS-5010 script does not. Is there an additional step one has to perform when adding PTZ support for a new camera that is not mentined in the DCS-5010 wiki page (http://www.zoneminder.com/wiki/index.ph ... _DCS-5020L)?

Re: Problem with Control

Posted: Mon Oct 07, 2013 5:24 pm
by TheKorn
There was a snafu with the DCS-5010/5020 control script. The nitty gritty is over there.