Mobile object Monitoring System--------Bug block motion does not work

Source: Internet
Author: User

believe to see my this article of the children's shoes, must have browsed my mobile object monitoring system design and development blog, and according to the content of my blog has started to transplant madplay,motion, when you are full of joy, ready The exhibition ready to run your motion on the arm Development Board, feel full of sense of accomplishment, run motion, the external headset on the Development Board does not sound familiar melodies, there are no pictures and videos on the fixed path, but your motion does not run, at the moment, believe most people, May be a little bit lost, Haha, who called before too smooth, a little problem has not met, at the moment small bug block, let us conquer it together:


As shown in: Hint/var/run/motion/not found Motion.pid, I believe many people will think is not, we are in the transplant, is not to leave this file to miss, so go in ffmpeg-lib inside to find, but there is no such document, think of or to find degrees Niang, PA, in Baidu in a search, found that someone has met, but almost no Chinese answer, there is English The answer, perhaps the foreigner also met. Days Qi June at that time was to find a foreigner to the method, the solution is:

On the ARM Development Board:

1.mkdir/var/run/motion

                                  2.chmod  a+rwxt   /var/run/motion

so Tian Qi June holding the attitude, try, the result, you guess, I drop, run again, ears sounded familiar melody, haha, unexpectedly run successfully, as for why, to tell the truth at that time I do not know, anyway, motion ran up, but at this time, an accident happened, Days qi June accidentally touch switch power, so restart, but again run motion, there was the same error, then puzzled, but days Qi June and not discouraged, suddenly brainwave, memory in motion configuration file seemingly appear about /var/run/motion /motion.pid, so first went to the Development Board of the /var/run/moti to see, the result there is no motion this folder, then go to Motion configuration file to aim at, It turns out there's a process_id_file/var/run/motion/motion.pid . The/var/run/of the original Development Board There is no folder at all, so when you run motion, you cannot create the Motion.pid process file, find the problem, and then put the/var/run/ in Motion's configuration file Motion/motion.pid path changed to/var/run/motion.pid, run motion again, ears sounded familiar melody.

Mobile object Monitoring System--------Bug block motion does not work

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.