Problems with KMotion

Please post questions about ReadyNAS add-ons here.

Problems with KMotion

Postby dangrew » Thu Feb 23, 2012 3:36 pm

Hi,

I've installed KMotion (v2.15a-rnx86-0.2.6) on my Ultra 4 Plus (4.2.19) and have been trying to hook up a D-Link IP camera (Zoneminder supported). When I add the URL for the .cgi I get the message that the daemon is being restarted but nothing happens - no image. After a while KMotion become unstable (for example if I try to view logs) and Frontview also becomes unaccessible. I have to restart the NAS to get back into Frontview. Any ideas what might be causing this?

Thanks!
dangrew
ReadyNAS Newbie
 
Posts: 2
Joined: Thu Feb 23, 2012 3:02 pm
ReadyNAS: Ultra

Re: Problems with KMotion

Postby WhoCares? » Thu Feb 23, 2012 4:44 pm

Yeah, kmotion can be a bit tricky and it also is a bit touchy. What D-Link camera do you own, I may be able to test with one of mine if we have similar models.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2923
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Problems with KMotion

Postby dangrew » Fri Feb 24, 2012 1:49 pm

Hi Stefan - It's a D-Link DCS-930L. Thanks for your help.

Dan
dangrew
ReadyNAS Newbie
 
Posts: 2
Joined: Thu Feb 23, 2012 3:02 pm
ReadyNAS: Ultra

Re: Problems with KMotion

Postby cjphilly » Thu May 03, 2012 11:34 am

I just installed Kmotion on my Ultra 4 last night and I am having the same problems with Kmotion and it causing problems with Frontview. I removed the Add-on and everything seems to be back to normal, but just wondering if you figured out a fix for it. My cam is a Foscam FI8918W which is also on the ZoneMinder list.
cjphilly
ReadyNAS Newbie
 
Posts: 4
Joined: Mon Jan 24, 2011 9:09 am
ReadyNAS: Ultra

Re: Problems with KMotion

Postby WhoCares? » Thu May 03, 2012 11:56 am

Could you be a bit more specific as to the Frontview problems? Running KMotion never ever gave me any problems with Frontview at all so I'm quite at a loss here.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2923
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Problems with KMotion

Postby cjphilly » Thu May 03, 2012 12:51 pm

Sure. After I installed KMotion and tried to configure it, Frontview would simply not load, or would just show the empty FrontView page template without any data. It would work fine for a while after restarting but the problem always seemed to reoccur. Once I removed the KMotion add-on Frontview has loaded fine everytime.
cjphilly
ReadyNAS Newbie
 
Posts: 4
Joined: Mon Jan 24, 2011 9:09 am
ReadyNAS: Ultra

Re: Problems with KMotion

Postby WhoCares? » Thu May 03, 2012 1:02 pm

Strange. Looks like I need to get a Foscam to be able to reproduce. If there's anything in the logs or anything else you think that could be related or of interest, let me know.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2923
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Problems with KMotion

Postby sleepy06405 » Fri Jun 15, 2012 10:50 am

Any luck with this issue? I'm experiencing same. Install kmotion, tried to enable a network cam, receive message about daemon restart, lose frontview access, apache log indicates MaxClients has been reached, this explains non responsive frontview. Reboot with ssh, frontview is fine until the kmotion url is accessed. kmotion never saves config of attempted camera add either. kmotion Logs and Load menu items just say downloading data and don't appear to work.

I'm wondering if this is an issue with the python module for apache? It seems to be using 2.6 module from the readynasxtras python add on. I also have 2.7 installed which I compiled from source. I've tried to point /usr/bin/python at the 2.6 and 2.7 binaries, no luck. Plex and BIF server both using python just fine.

Anyone got a solution or thoughts before I start digging for the cause?
User avatar
sleepy06405
ReadyNAS User
 
Posts: 59
Joined: Wed May 09, 2012 8:38 am
Location: EARTH

Re: Problems with KMotion

Postby sleepy06405 » Fri Jun 15, 2012 7:54 pm

Something goes wrong during the install of kmotion for some of us, not sure what causes it. To fix it, you'll need root ssh access and also have the admin account setup for ssh. The following worked for me, in this order:

Code: Select all
As root:
rm /c/.kmotion/fifo*
chmod -R 777 /c/.kmotion

As admin:
/c/.kmotion/install.py

As root:
cd /c/.kmotion
mv kmotion /usr/local/bin
mv kmotion_ptz /usr/local/bin
chmod -R 777 /c/.kmotion

Reboot the readynas, add your cameras if necessary and hopefully kmotion works now.

If it still doesn't work, have a look at the manual instructions for kmotion. They're not for readynas but it can help you figure out where its breaking:

http://kmotion2.googlecode.com/svn-hist ... TO_INSTALL

Hope this helps somebody out! Good luck!
User avatar
sleepy06405
ReadyNAS User
 
Posts: 59
Joined: Wed May 09, 2012 8:38 am
Location: EARTH

Re: Problems with KMotion

Postby Martinc » Sun Jul 01, 2012 1:48 pm

I'm having problems setting up my Foscam F18918 all i get is a grey screen with a message "Unable to open video device", any suggestions anybody?
Martinc
ReadyNAS Newbie
 
Posts: 3
Joined: Sun Sep 11, 2011 7:50 am
ReadyNAS: Ultra


Return to General Discussion on ReadyNAS Add-ons



Who is online

Users browsing this forum: No registered users and 2 guests