Re: slocate doesn't



I would expect that "slocate -u" and "updatedb" to be one and the same, but give the "updatedb" command a try and see if that solves it.

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?

-Michael

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



--
veritatis simplex oratio est
- Seneca

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415 fax: 518 276-2809

http://www.rpi.edu/~bacchi/


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



Relevant Pages

  • Re: updatedb
    ... updatedb is simply a link to slocate with -u option. ... Krish ... > Trinity University ...
    (Fedora)
  • Re: Slocate - what is happening?
    ... > Still fantastic but I have a weird problem with slocate that was not ther ... When I go to create the database with updatedb the system ... I suspect that the answer is simpler than reinstalling and wonder ...
    (alt.os.linux.redhat)
  • Re: using find command to search in current directory only
    ... look at how GNU locate (not slocate) works. ... >> updatedb as, same for the solution given above. ... permissions to the database, or regular users couldn't access it. ... My code in this post is copyright 2004, Chris F.A. Johnson and may be copied under the terms of the GNU General Public License ...
    (comp.unix.shell)
  • Re: Missing files in locatedb
    ... /etc/updatedb.conf; updatedb ... I use package 'slocate' instead of 'locate': ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: a grab bag of customizations
    ... I continue to enjoy using the linux platform and would like to modify it ... (The 'man' command displays the manual page for the command you specify. ... The second question goes to updatedb. ... "don't worry about a temp file, just update the real thing," or is there ...
    (comp.os.linux.misc)