LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Motion Run Error (https://www.linuxquestions.org/questions/linux-newbie-8/motion-run-error-885031/)

MODYSAMA 06-07-2011 12:43 PM

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?

MODYSAMA 06-07-2011 12:52 PM

An Error
 
I use motion sw. on Kubuntu 10.10.

MODYSAMA 06-07-2011 07:07 PM

What is the reason of that problem, please?

John VV 06-07-2011 09:31 PM

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

MODYSAMA 06-08-2011 06:36 AM

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


All times are GMT -5. The time now is 11:29 AM.