View Full Version : warning: locate
the.one
07-20-2005, 03:00 AM
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
How can that error be corrected? :o
the.one
07-20-2005, 03:03 AM
I tried running dbupdate, but that does not do anything for some reason,
root@host # updatedb
Thats all there is.
mpattman
07-20-2005, 04:10 AM
try
locate -u
Matthew.
if you use locate often, you can create a cronjob to update it every night... or every (period of time) you want ;)
charles
07-20-2005, 08:29 AM
Running updatedb should be all thats needed. The cron job exists, but is commented out by default because 90% dont need it. See /etc/cron.daily/slocate.cron
hth
charles
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.