Matt Garman
2003-06-24 15:02:40 UTC
I did a vanilla OpenBSD 3.3 install a couple weeks ago. The
configuration is mostly default. I definately haven't (knowingly)
messed with anything that should affect locate.
I tried to do a "locate somefile" and got:
database too small: /var/db/locate.database
So I did a bit of investigation, and found that the locate database
should be updated weekly (from /etc/weekly). However, when I run that,
I get the following:
Rebuilding locate database:
Not installing locate database; zero size
And when I run plain 'ol "locate.updatedb" with no args, I get the
following output:
awk: weird printf conversion %
input record number 50, file
source line number 1
awk: not enough args in printf(/%)
input record number 50, file
source line number 1
And when I run "locate.updatedb --fcodes=-" I get the same output as
listed above (no files listed).
Has anyone else seen this problem? Anyone have any idea where the fault
may be?
Thanks,
Matt
configuration is mostly default. I definately haven't (knowingly)
messed with anything that should affect locate.
I tried to do a "locate somefile" and got:
database too small: /var/db/locate.database
So I did a bit of investigation, and found that the locate database
should be updated weekly (from /etc/weekly). However, when I run that,
I get the following:
Rebuilding locate database:
Not installing locate database; zero size
And when I run plain 'ol "locate.updatedb" with no args, I get the
following output:
awk: weird printf conversion %
input record number 50, file
source line number 1
awk: not enough args in printf(/%)
input record number 50, file
source line number 1
And when I run "locate.updatedb --fcodes=-" I get the same output as
listed above (no files listed).
Has anyone else seen this problem? Anyone have any idea where the fault
may be?
Thanks,
Matt
--
Matt Garman, ***@raw-sewage.net
``I ain't never seen no whiskey, the blues made my sloppy drunk!''
-- Sleepy John Estes, ``Leaving Trunk''
Matt Garman, ***@raw-sewage.net
``I ain't never seen no whiskey, the blues made my sloppy drunk!''
-- Sleepy John Estes, ``Leaving Trunk''