[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [raq2] virtual sites and users deletion problem
- Subject: Re: [cobalt-users] [raq2] virtual sites and users deletion problem
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue May 8 14:44:28 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"David Liu" <dyliu@xxxxxxxxxxx> wrote:
> something's not right-
>
> when i "locate users" i get a list of all references, including
> "/home/sites/site9/users/someuser"
>
> however, when i go to "/home/sites/", "site9" isn't there. what's going
on??
You've deleted site9, haven't you? The program "locate" looks for files
within an internal database (found at /var/lib/locatedb) matching patterns
you supply to the locate program. The internal database is updated nightly
by default from a cron job so if you deleted that site since the database
was last rebuilt, it will list files that don't currently exist. If you
want to rebuild the database, go to the shell and type "updatedb &" (without
the quotes) to run the program that updates locate's database. "man
locate", "man updatedb" for more info. As an alternative you can use the
program "find" which looks for matching files on the filesystem in realtime,
but it will be *a lot* slower.
According to your email you have a user deletion problem. What is it?
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/