Re: locate:database too small

2008-07-11 Thread Patrick Lamaizière
Le Thu, 10 Jul 2008 22:33:14 -0500, Paul Procacci <[EMAIL PROTECTED]> a écrit : > Type exactly that within a shell (as root): > > /usr/libexec/locate.updatedb > > or alternatively > > /etc/periodic/weekly/310.locate This is not the same thing, /etc/periodic/weekly/310.locate calls locate.updat

Re: locate:database too small

2008-07-10 Thread Daniel Bye
On Fri, Jul 11, 2008 at 11:26:19AM +0800, EdwardKing wrote: > I use locate command,like follows: > $locate mail > locate:database too small: /var/db/locate.database > > I know it need to update from document: /usr/libexec/locate.updatedb ,but I > don't know how to execute above command,I am a new

Re: locate:database too small

2008-07-10 Thread Paul Procacci
EdwardKing wrote: > I use locate command,like follows: > $locate mail > locate:database too small: /var/db/locate.database > > I know it need to update from document: /usr/libexec/locate.updatedb ,but I > don't know how to execute above command,I am a newer to Unix,how to do it? > > Thanks > > > -