Problem with Control

Forum for questions and support relating to the 1.25.x releases only.
Locked
sn0rcha
Posts: 1
Joined: Sat Oct 05, 2013 9:21 pm

Problem with Control

Post 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?
Attachments
Foscam.zip
(2.06 KiB) Downloaded 149 times
User avatar
dvarapala
Posts: 54
Joined: Sat Nov 06, 2010 2:30 pm

Re: Problem with Control

Post 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.
User avatar
dvarapala
Posts: 54
Joined: Sat Nov 06, 2010 2:30 pm

Re: Problem with Control

Post 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)?
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Problem with Control

Post by TheKorn »

There was a snafu with the DCS-5010/5020 control script. The nitty gritty is over there.
Locked