Forums
  News| Documentation| Screenshots| Downloads| Support| Forums| Wiki| Shop| Search| Donate| Contact Home
FAQFAQ SearchSearch MemberlistMemberlist UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

PTZ Control Problem

 
Donate $20 Donate $40
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder 1.23.x
View previous topic :: View next topic  
Author Message
jfunk



Joined: 07 May 2008
Posts: 4

PostPosted: Wed May 07, 2008 9:02 pm    Post subject: PTZ Control Problem Reply with quote

Having trouble getting PTZ controls to work with Axis 212 PTZ Network camera. Controls show up but do nothing when clicked on. I am able to control the camera from the camera's interface, but not from zoneminder. zmdc is running on the server.

Camera is set to controlable, and Control Type is set to Axis API v2. I am not sure what to set the Control Device and Control Address blanks to.

ZoneMinder Version 1.23.3


zmdc.log:

05/07/08 16:47:25.735591 zmdc[5423].INF ['zmc -m 6' starting at 08/05/07 16:47:25, pid = 4734]
05/07/08 16:47:25.955353 zmdc[5423].WAR [Can't find process with command of 'zmtrack.pl -m 6']
05/07/08 16:47:26.180991 zmdc[5423].WAR [Can't find process with command of 'zma -m 6']
05/07/08 16:47:26.482127 zmdc[5423].WAR [Can't find process with command of 'zmf -m 6']
05/07/08 16:49:57.037649 zmdc[5423].ERR ['zmc -m 6' exited abnormally, exit status 255]
05/07/08 16:49:57.037878 zmdc[5423].INF [Starting pending process, zmc -m 6]
05/07/08 16:49:57.040836 zmdc[5423].INF ['zmc -m 6' starting at 08/05/07 16:49:57, pid = 4840]
Back to top
View user's profile Send private message Send e-mail
zylantha



Joined: 27 Feb 2006
Posts: 8

PostPosted: Mon May 12, 2008 1:40 pm    Post subject: Reply with quote

I am having the same problem, ZM 1.23.3.

Apache logs show that the commands are being sent to index.php, and using zmcontrol.pl I can issue the control commands on the server from the command line, but all the buttons on the web interface do nothing.

No solution yet, however one "gotcha" for me was that zmcontrol.pl needs the CPAN Module::Load which is not a dependency of zoneminder in the Gentoo ebuild. This issue showed up while attempting to use zmcontrol.pl from the command line on the server. Unfortunately even though I've now fixed this, it still doesn't work from the web interface Sad
Back to top
View user's profile Send private message
zylantha



Joined: 27 Feb 2006
Posts: 8

PostPosted: Wed May 14, 2008 12:53 pm    Post subject: Reply with quote

Some cunning diagnostics revealed that line 844 of zm_actions.php calls the function socket_create().

This function is only available if you compile PHP with --enable-sockets (in Gentoo set the use flag "sockets").

On my system this was failing, and sure enough, I had compiled PHP without this option enabled.

Re-emerge php with sockets enabled, restart apache, and control works as expected.
Back to top
View user's profile Send private message
whosbob



Joined: 18 Dec 2007
Posts: 9
Location: San Jose, Ca.

PostPosted: Fri Jun 20, 2008 2:33 am    Post subject: PTZ Trouble Reply with quote

Just upgraded to 1.23.3 from 1.22.3 everything went fine till I tried a PTZ function. basically it no longer works....found error message in logs PHP Fatal error Call to undefined function socket_create()...Is there any other work around other than recompiling php?

pclinuxos 2007
apache-mod_php 5.1.6
php-cgi 5.1.6
Back to top
View user's profile Send private message
gleybsonfrm



Joined: 27 Jul 2009
Posts: 2
Location: Brasil

PostPosted: Mon Jul 27, 2009 9:03 pm    Post subject: Reply with quote

zylantha,

Can you explain more detailed how you do this, because I have the same problem and did not understand that part of henable-PHP sockets
My version of ZM is: 1.24.2
my S.O. is: 9:04 UBUNTU SERVER

Excuse my English.
_________________
Gleybson Fernandes
Analista de Suporte - Brasil
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder 1.23.x All times are GMT
Page 1 of 1

 
  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 ©2007 Triornis Ltd News • Documentation • Screenshots • Downloads • Support • Forums • Wiki • Shop • Search • Donate • Contact • Home