Got a small problem.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
Subject: Got a small problem.
Jeremy C. Reed wrote:

> On Tue, 16 Dec 2003, Michael Havens wrote:
>
>
>>    knoppix@bmike1:~$ sudo updatedb

>
>
> What version of updatedb?
>
> Try: "updatedb --version"
>
>
>>    /usr/bin/find: error in /etc/mtab: none: No such file or directory

>
>
> Do you have an /etc/mtab file?
>
> By default, updatedb doesn't include network filesystems in its locate
> database.
>
> updatedb usually uses find with the -fstype switch.
>
> Also try running updatedb as a non-root user (because updatedb has
> different functionality when root).
>
> Maybe try with:
>
> updatedb --localuser=nobody
>
> Or:
>
> su nobody -c updatedb


RH uses anacron to run updatedb once a day to keep the locate database up to date.