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 (Gustavo Ovalle) 2. Re: systemctl doesn't start motion (Roger Heflin) ---------------------------------------------------------------------- Message: 1 Date: Thu, 15 Jul 2021 16:16:46 -0300 From: Gustavo Ovalle <gustavo.ova...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] systemctl doesn't start motion Message-ID: <CAOmedOCt17G6dz1Mj4=g-xeucnomrmb7-9jup-dd5dmkhhm...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" hi, your problem is (probably) the exec motion search the config file in /etc/default, later in motion path (/bin /usr/motion, etc). Never in the user path. El jue, 23 de jul. de 2020 a la(s) 11:41, Dave Howorth (d...@howorth.org.uk) escribi?: > 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. > > > _______________________________________________ > 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 -- Gustavo J. Ovalle Ara?a Ituzaingo 1365 S3070BPW - San Crist?bal Santa Fe e-mail: gustavo.ova...@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 15 Jul 2021 15:30:29 -0500 From: Roger Heflin <roger.hef...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] systemctl doesn't start motion Message-ID: <caamcdefwbqjguvdh8zirmks3+r28urheb+fqj78hj-ilj6h...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Systemd only generates services from pre-existing /etc/init.d/* and/or lsb subsystems. So what does /etc/init.d/motion have in it? On Thu, Jul 15, 2021 at 2:18 PM Gustavo Ovalle <gustavo.ova...@gmail.com> wrote: > > hi, your problem is (probably) the exec motion search the config file in > /etc/default, later in motion path (/bin /usr/motion, etc). Never in the user > path. > > El jue, 23 de jul. de 2020 a la(s) 11:41, Dave Howorth (d...@howorth.org.uk) > escribi?: >> >> 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. >> >> >> _______________________________________________ >> 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 > > > > -- > Gustavo J. Ovalle > Ara?a > Ituzaingo 1365 > S3070BPW - San Crist?bal > Santa Fe > e-mail: gustavo.ova...@gmail.com > _______________________________________________ > 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 181, Issue 9 *******************************************