LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2011, 01:43 PM   #1
MODYSAMA
Member
 
Registered: Dec 2010
Posts: 144

Rep: Reputation: 0
Arrow Motion Run Error


Code:
root@sok-HP-ProBook-4520s:/usr/local/etc# motion
[0] Processing thread 0 - config file /usr/local/etc/motion.conf                                                                                                                                
[0] Motion 3.2.12 Started                                                                                                                                                                       
[0] Motion going to daemon mode                                                                                                                                                                 
[0] Exit motion, cannot create process id file (pid file) /var/run/motion/motion.pid:
How can I fix that error?

Last edited by MODYSAMA; 06-07-2011 at 08:06 PM.
 
Old 06-07-2011, 01:52 PM   #2
MODYSAMA
Member
 
Registered: Dec 2010
Posts: 144

Original Poster
Rep: Reputation: 0
Question An Error

I use motion sw. on Kubuntu 10.10.

Last edited by MODYSAMA; 06-07-2011 at 02:50 PM.
 
Old 06-07-2011, 08:07 PM   #3
MODYSAMA
Member
 
Registered: Dec 2010
Posts: 144

Original Poster
Rep: Reputation: 0
What is the reason of that problem, please?
 
Old 06-07-2011, 10:31 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
did you look to see if there is a pid file already there ?
a crash or forced shutdown can cause then to NOT be removed on shutdown
 
Old 06-08-2011, 07:36 AM   #5
MODYSAMA
Member
 
Registered: Dec 2010
Posts: 144

Original Poster
Rep: Reputation: 0
Thumbs up

As a root
I created the directory using :
Quote:
mkdir /var/run/motion
then change the permission and it works el7mdllah.
Quote:
chmod a+rwxt /var/run/motion
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Motion help please (Motion only supports mmap) ?? RaeMarvin Linux - Software 4 09-06-2012 01:25 PM
Error with "SDL_MouseMotionEvent *motion = event->motion;" aatwell Programming 3 11-30-2007 02:46 PM
RPM Packages Option _ directory Specifications hinetvenkat Linux - Software 1 12-14-2006 11:43 AM
Does apt-get/aptitude's purge option removed required dep of other packages? Akhran Debian 1 09-05-2005 07:52 PM
In Motion... Or Not.. robhargreaves Linux - Software 1 05-20-2004 04:10 PM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration