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

RE: [cobalt-users] Corrupt database




At 10:12 AM 1/10/02 +0700, you wrote:
i was having same problem in my raq4-r last month, its caused by damaged
file in some directory,
after delete then rebuild slocate.db a couple times, i found some binary
character when i try to locate file like
/home/sites/users/someone/*&^@_#(I(F(*U&D!@$%*&Y#HJNDSL&*^@&^

after deleting some files in that directory and rebuild the slocate.db the
locate command working properly.

regards
Riki

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Brett Wright
Sent: Thursday, January 10, 2002 7:26 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Corrupt database


Hi

One of our raq3 server is getting this error when we try and use locate, it
will find some entries before giving this error.

locate: decode_db() aborted. Corrupt database?
[root@servername admin]#

I have checked through the archives and found nothing.

We have tried to rebuild the database and even removed it and created a new
one with updatedb (/var/lib/slocate/slocate.db)
Tried changed permissions on the database, still nothing

I see that some other people have had this but I could not see anyone that
had a fix for it

If anyone could help a big thanx

Regards
Brett


Hi Riki & list

Cheers for your help you put me on the right track. I had 200 sites to look through but i found this. Good old -e flag in updatedb

drwxr-sr-x 5 uname site55 1024 Dec 11 12:30 Welcome to XXXXXXXXX New Zealand, ffishing guides and outfitters for professional fly fishing and scenic tours of New Zealand_files

Yes its a directory!!!
I guess locate doesn't like long directory names ;o)

Cheers Once again

Brett