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

RE: [cobalt-users] locate corrupt database



Trying deleting the database, it is located at:
/var/lib/slocate/slocate.db

Then execute updatedb&.

Also you could specify a new database at the command line of updatedb 
Read: man updatedb


Jim Carey sent:

Michiel sent:
>
>
> Are you trying as root or as another user. Maybe the user does not
have
> read permissions on the database.
>
> -----Oorspronkelijk bericht-----

> error is similar to:
>
>  [root@web cron.daily]# locate something
> locate: decode_db() aborted. Corrupt database?
>
> should I delete the database and then run the slocate.cron script ? -
if
> so
> what file should I delete ?

as root - sometimes it gives a few lines of where it finds the info and
then
dies, sometimes it dies straight away - it is the more recent additions
to
the filesystem that are not showing. I had a partition full earlier and
that
could have caused it (?) - plenty of space now - but need to re-create
that
database wherever it is

Jim Carey
www.OZbcoz.com discount domain registration
www.iluvoz.com affordable hosting services

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users