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

Re: [cobalt-developers] locate weirdness



Jeff,

> when doing a locate command we get the wrong directory names.
> For example:
> find / -name joe
> returns a listing for /home/jeff/joe
> but
> locate joe
> returns /home/jeffus/joe
> and of course the jeffus directory doesn't even exist.
> Yes, we've just updated the database.
> Any ideas?

I have something similar on one RaQ4 where the locate information appears
munged, almost as though lines are being concatenated in a bizarre fashion.
Interestingly, if I do the _same_ locate command from the admin account (as
opposed to root) it works fine.

So, have you tried the same locate command from a different shell account,
e.g. admin? Does that work OK?

I too have tried recreating the database and spent quite some time trying to
track this down, but to no avail. And in response to Geralds question, I
have run chrootkit (and do so regularly) and it appears fine.

--
Regards,
Jonathan Michaelson
Commercial CGI Scripting, Web Hosting
Web-based Email, Homepage Creation and Live Help products
http://www.webumake.com