OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Problem with locate?

From: Chris Palmer (chrisnodewarrior.org)
Date: Tue Jul 01 2003 - 16:45:01 CDT


Rick Pettit writes:

> locate database header corrupt, bigram char outside 0, 32-127: 10
>
> Is this a good indication that a reinstall is my best bet?

I would just erase the locate database (/var/db/locate.database) and
regenerate it with another invocation of /usr/libexec/locate.updatedb.

However, if in your laptop's death /usr/libexec/locate.updatedb itself
was corrupted, you should get a fresh copy of that shell script from
another computer or the OpenBSD CVS or cvsweb server.