Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: systemctl doesn't start motion (Peter Smyth) ---------------------------------------------------------------------- Message: 1 Date: Thu, 23 Jul 2020 22:14:58 +1000 From: "Peter Smyth" <pe...@northoftheriver.net> To: "Motion discussion list" <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] systemctl doesn't start motion Message-ID: <85668da3-bdac-4ea0-9ad1-ff16869f3...@www.fastmail.com> Content-Type: text/plain;charset=utf-8 Hi Serge, I'm running the most up to date versions of both motion and motioneye on Debian 10 and they start up fine. Given Ubuntu is quite related to Debian it may be worth asking on a forum that has specific Ubuntu expertise. Cheers Pete On Thu, 23 Jul 2020, at 7:39 PM, Prok wrote: > Hi Rob. > > I changed all permissions to motion:motion, i.e.: > - /home/vdo/.motion/topcam.conf > - /home/vdo/.motion/cornercam.conf > - /home/vdo/.motion/motion.conf > - /home/vdo/.motion/motion.log > > - /etc/init.d/motion > > - /var/run/motion - that is empty directory on Xubuntu 20.04 > - /usr/bin/motion that is actually motion's executable on Xubuntu 20.04 > > directories for video-files (I set them in fstab): > - /media/vdo/Cornercam > - /media/vdo/Topcam > > > But nothing changed, motion doesn't auto-start after reboot. > > I still have to start motion manually. > > It seems to me this is a bug. > > I am not sure whether systemctl or motion, but something goes wrong. > > Serge > > 20.07.2020 18:03, rmbusy ?????: > > Make sure all of the permissions for directories and files accessed by > > motion, are setup with user motion as owner.? Don't forget > > /var/run/motion too. > > > > > > -- > > Rob. > > > > > > > > On 7/20/20 7:42 AM, Kinney Baughman wrote: > >> I haven't been able to start motion as a service for a couple three > >> months. > >> > >> I have to remember to start it manually each time I reboot. > >> > >> Maybe things have changed but from your email, it doesn't appear to have. > >> > >> On Mon, Jul 20, 2020 at 5:17 AM Prok <prokh...@gmail.com > >> <mailto:prokh...@gmail.com>> wrote: > >> > >> Hi all. > >> > >> I installed motion (ver. 4.2.2) on Xubuntu 20.04 LTS from Synaptic > >> manager successfully. > >> Made all necessary settings and when I start motion from terminal it > >> works OK, writes video-files from two cameras on my HDD. > >> > >> But it doesn't start motion after reboot my PC. > >> > >> I set: "start_motion_daemon=yes" in /etc/default/motion file > >> and "daemon on" in /home/vdo/.motion/motion.conf > >> then I enabled it in terminal: sudo systemctl enable motion > >> reboot PC. > >> > >> But no video-files wrote on my HDD, and /home/vdo/.motion/motion.log > >> doesn't have new entries after rebooting. > >> > >> vdo@scorpio:~$ systemctl status motion > >> get me this result: > >> > >> ? motion.service - LSB: Start Motion detection > >> ? ? ? Loaded: loaded (/etc/init.d/motion; generated) > >> ? ? ? Active: active (exited) since Mon 2020-07-20 11:37:33 MSK; > >> 32min ago > >> ? ? ? ? Docs: man:systemd-sysv-generator(8) > >> ? ? ?Process: 715 ExecStart=/etc/init.d/motion start (code=exited, > >> status=0/SUCCESS) > >> > >> jul 20 11:37:33 scorpio systemd[1]: Starting LSB: Start Motion > >> detection... > >> jul 20 11:37:33 scorpio motion[715]:? * Starting motion detection > >> daemon > >> motion > >> jul 20 11:37:33 scorpio motion[715]:? ? ...done. > >> jul 20 11:37:33 scorpio systemd[1]: Started LSB: Start Motion > >> detection. > >> > >> If I got it right, systemctl tried start motion, but nothing happens. > >> > >> What am I doing wrong? > >> > >> Thanks in advance > >> > >> Serge. > >> > >> > >> > >> > >> _______________________________________________ > >> Motion-user mailing list > >> Motion-user@lists.sourceforge.net > >> <mailto:Motion-user@lists.sourceforge.net> > >> https://lists.sourceforge.net/lists/listinfo/motion-user > >> https://motion-project.github.io/ > >> > >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > >> > >> > >> > >> _______________________________________________ > >> Motion-user mailing list > >> Motion-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/motion-user > >> https://motion-project.github.io/ > >> > >> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user > > > > > > > > _______________________________________________ > > Motion-user mailing list > > Motion-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/motion-user > > https://motion-project.github.io/ > > > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 169, Issue 14 ********************************************