LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2006, 04:18 AM   #1
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Rep: Reputation: 15
Post 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?
 
Old 10-15-2006, 04:30 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 10-15-2006, 04:40 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you have DAILY_UPDATE=yes in updatedb.conf?
 
Old 10-15-2006, 04:42 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create automatically the /var/lib/slocate/slocate.db irhernan Linux - Newbie 3 09-12-2006 03:29 PM
slocate dajomu Ubuntu 1 09-16-2005 09:08 PM
help with slocate plan9 Slackware 8 07-10-2004 02:41 AM
Using slocate in RH 7.2 hominy Linux - Newbie 1 08-10-2003 03:59 PM
slocate foobarred Dave Campbell Linux - General 0 12-31-2001 06:35 AM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration