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 (Dave Howorth) ---------------------------------------------------------------------- Message: 1 Date: Thu, 23 Jul 2020 15:40:19 +0100 From: Dave Howorth <d...@howorth.org.uk> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] systemctl doesn't start motion Message-ID: <20200723154019.6558f...@acer-suse.lan> Content-Type: text/plain; charset=UTF-8 On Mon, 20 Jul 2020 12:16:13 +0300 Prok <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. Have you looked at the output of journalctl -u motion (maybe with a sudo, I can't remember) It may show more than the systemctl status. Since it looks like systemd is generating the service file itself, it may be worth looking at that to see if it looks sane. ------------------------------ ------------------------------ 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 15 ********************************************