Re: anacron/cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, Thank.

It was inactive, Then I restart it and now:
● mlocate-updatedb.service - Update a database for mlocate
   Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; vendor preset: disable
   Active: active (running) since Mon 2016-09-19 23:15:03 CEST; 1min 17s ago
 Main PID: 1357 (mlocate-run-upd)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/mlocate-updatedb.service
           ├─1357 /bin/sh /usr/libexec/mlocate-run-updatedb
           └─1377 /usr/bin/updatedb -f sysfs ramfs bdev proc cpuset cgroup cgroup2 tmpfs devtmpfs c

Sep 19 23:15:02 teucidide systemd[1]: Stopped Update a database for mlocate.
Sep 19 23:15:03 teucidide systemd[1]: Started Update a database for mlocate.


I guess that I need to enable it

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Monday, September 19, 2016 at 10:29 PM
> From: stan <stanl-fedorauser@xxxxxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: anacron/cron
>
> On Mon, 19 Sep 2016 22:04:21 +0200
> "Patrick Dupre" <pdupre@xxxxxxx> wrote:
> 
> > The point is that I am not sure that mlocate (or updatedb) runs
> > properly because locate does not find my new files !
> > 
> > How can I be sure that mlocate runs properly ?
> 
> $ systemctl status mlocate-updatedb.service
> ● mlocate-updatedb.service - Update a database for mlocate
>    Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service;
> static; vendor preset: disabled) Active: inactive (dead) since Mon
> 2016-09-19 09:14:14 MST; 4h 7min ago Process: 1046
> ExecStart=/usr/libexec/mlocate-run-updatedb (code=exited,
> status=0/SUCCESS) Main PID: 1046 (code=exited, status=0/SUCCESS)
> 
> This looks like it runs at start, and that's it.  You could try running
> systemctl restart mlocate-updatedb.service
> and see if that updates your database.
> 
> The man pages for updatedb.conf and updatedb seem to suggest that it is
> possible to run updatedb from the command line, and to create your own
> local version of updatedb as a user.
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux