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 (Prok)
   2. Re: systemctl doesn't start motion (chuck elliot)
   3. Re: systemctl doesn't start motion (Richard Bown)


----------------------------------------------------------------------

Message: 1
Date: Thu, 23 Jul 2020 12:39:51 +0300
From: Prok <prokh...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] systemctl doesn't start motion
Message-ID: <037d0067-5d24-612e-966c-2fbe9cecc...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

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
> 



------------------------------

Message: 2
Date: Thu, 23 Jul 2020 12:26:31 +0100
From: chuck elliot <c.ell...@pobox.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] systemctl doesn't start motion
Message-ID: <1cc4f6e7efdcde7cef0662815aa68b1a5ee7c270.ca...@pobox.com>
Content-Type: text/plain; charset="UTF-8"

maybe a line in /etc/rc.local could work around the problem?

CE.




On Thu, 2020-07-23 at 12:39 +0300, 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




------------------------------

Message: 3
Date: Thu, 23 Jul 2020 12:58:37 +0100
From: Richard Bown <rich...@g8jvm.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] systemctl doesn't start motion
Message-ID: <fc72e46e-8388-a7b8-6c55-355cf2a80...@g8jvm.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Not entirely related , but should you need to use ldconfig , use with 
the the verbose flag set

ie ldconfig -v, and do it a couple of times.

ubuntu 20 has a few bugs , that one has caught me.

For some reason it wants to tell the world what it s doing, and if you 
dont let it, it doesn't do it

that may help someone

Richard

On 23/07/2020 12:26, chuck elliot wrote:
> maybe a line in /etc/rc.local could work around the problem?
>
> CE.
>
>
>
>
> On Thu, 2020-07-23 at 12:39 +0300, 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
>
>
> _______________________________________________
> 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

-- 
  Best wishes /73
  Richard Bown
  
  Email : rich...@g8jvm.com

  HTTP  :  http://www.g8jvm.com
  
  ######################################################################

  Ham Call: G8JVM . QRV: 50-432 MHz + Microwave
  Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
  QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
  Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W
  OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop
  ######################################################################




------------------------------



------------------------------

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 13
********************************************

Reply via email to