Page 1 of 1

Control scripts not working in 1.25.0

Posted: Sun Sep 11, 2011 3:23 am
by gmar_87
I am unable to get my existing Foscam FI8918W control scripts working with 1.25.0.

I have confirmed there are no typos and chmod 777 to all *.pm files.

Log shows:

Code: Select all

2011-09-11 13:19:14.865596	web_php	871	ERR	socket_sendto( /tmp/zm/zms-405465s.sock ) failed: No such file or directory	includes/functions.php	2325
2011-09-11 13:19:11.943530	zmcontrol	2028	FAT	Can't connect: No such file or directory	zmcontrol.pl	
2011-09-11 13:19:11.832452	web_php	869	ERR	/usr/local/bin/zmcontrol.pl --autostop --command=moveConRight --id=1=>	includes/functions.php	2325
2011-09-11 13:19:11.828610	zmcontrol	2026	FAT	Can't connect: No such file or directory	zmcontrol.pl	
The same control script works fine in 1.24.4

Most of the google searches lean towards a typo in file name or path, but i have triple checked and nothing is misspelt...

Re: Control scripts not working in 1.25.0

Posted: Sun Sep 11, 2011 8:06 am
by linuxsense
You are not alone. I am having the same issue. I have not had much time to look into it but I have not seen any obvious reason for the failure.

Re: Control scripts not working in 1.25.0

Posted: Sun Sep 11, 2011 9:25 am
by Optimist
I had the same problem.

In your FoscamFI8908W.pm file, try replacing line

use ZoneMinder::Debug qw(:all);

with

use ZoneMinder::Logger qw(:all);

It worked for me.

Re: Control scripts not working in 1.25.0

Posted: Sun Sep 11, 2011 10:19 am
by gmar_87
Optimist wrote:I had the same problem.

In your FoscamFI8908W.pm file, try replacing line

use ZoneMinder::Debug qw(:all);

with

use ZoneMinder::Logger qw(:all);

It worked for me.
Thanks Optimist! That fixed it :)

Re: Control scripts not working in 1.25.0

Posted: Mon Sep 12, 2011 7:28 pm
by linuxsense
Nice find, fixes the problem for me as well. Makes sense with the new logging in 1.25. Thanks.

Re: Control scripts not working in 1.25.0

Posted: Fri Mar 02, 2012 7:41 am
by expertpc
This also helped me fix control problems with the Airlink101 SkyIPCam7xx camera as well so thanks!