LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   slocate more than 8 days old (https://www.linuxquestions.org/questions/linux-newbie-8/slocate-more-than-8-days-old-492531/)

bayonetblaha 10-15-2006 03:18 AM

slocate more than 8 days old
 
Whenever I try to use the 'locate' command, I am warned that /var/lib/slocate/slocate.db is more than 8 days old. I can't find anything for this on google, how can I update slocate.db?

Tinkster 10-15-2006 03:30 AM

updatedb -c
commonly.

Normally it gets run from cron at around 4am, but if your machine
isn't turned on that time of day it won't happen.


Cheers,
Tink

billymayday 10-15-2006 03:40 AM

Do you have DAILY_UPDATE=yes in updatedb.conf?

syg00 10-15-2006 03:42 AM

That message is mindless drivel IMHO - why would anyone really care (most of the time anyway)???.
Probably means you don't leave you machine on all the time, and miss the scheduled cron time for daily.
Try "updatedb", and go find something else to do for a while.

I prefer to run it when I feel like it, and just ignore any messages.


All times are GMT -5. The time now is 07:15 PM.