Re: slocate doesn't

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 14, 2006, at 12:06 PM, Ed Wilts wrote:

On Fri, Apr 14, 2006 at 09:27:14AM -0400, Michael Johnson wrote:
Hi gang

I've discovered one of my RHEL AS3 machines doesn't locate at all.
Whenever I run locate, it doesn't return anything regardless of what
I search for.

I ran slocate -u to try and rebuild the slocate.db file.  It took
quite a while but it finished.  The locate still didn't happen.  I
even tried to specify the slocate.db in the arguments with -d and it
still returned nothing even though the slocate.db file is quite large.

What am I missing here?

IMHO, Red Hat got this wrong...  Have a look at the cron job that's
supposed to generate the catalog and you'll see how they screwed it up.

This can't be serious!

/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/"

So basically, run it except for every file system you're going to ever attach to it (okay so I can understand that a little) and exclude the root directory. So basically, it's going to do nothing.

Edit /etc/updatedb.conf and set DAILY_UPDATE to yes.

I didn't have a DAILY_UPDATE entry so I added it. Hopefully that's right for AS3.

-Michael

--
----------------------------------------------------------
|   Michael Johnson          |   Sr. Systems Engineer     |
|   mjohnson@xxxxxxxxxxxx    |   CodeRyte                 |
|   +1-301-951-5315          |   http://www.coderyte.com/ |
----------------------------------------------------------


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux