LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   File search error (https://www.linuxquestions.org/questions/linux-software-2/file-search-error-261232/)

tamtam 12-01-2004 04:22 AM

File search error
 
Hi,
I am getting an error message when using the search for files untility in Mandrake 10.1.
Error message is ...
Quote:

Error while searching for files.
While searching for files the following errors were reported.

warning: locate: warning: database var/lib/slocate/slocate.db'
is more than 8 days old

Anyone got any ideas why this error keeps on appearing while searching for files.

Regards
TamTam

hostile1313 12-01-2004 04:41 AM

i think if you run updatedb as root this should fix that problem

|2ainman 12-01-2004 04:41 AM

that utility is based off the locate command
The locate command searches a database in this case /var/lib/slocate/slocate.db

run this command as root and you should be good to go:
Code:

# updatedb &


All times are GMT -5. The time now is 09:05 PM.