From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 12:51:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6CE106566C for ; Thu, 10 Jul 2008 12:51:37 +0000 (UTC) (envelope-from fbsd06+XW=dfee0a75@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8D68A8FC12 for ; Thu, 10 Jul 2008 12:51:37 +0000 (UTC) (envelope-from fbsd06+XW=dfee0a75@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id C596C16404A for ; Thu, 10 Jul 2008 08:36:29 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id DEEEC23E408 for ; Thu, 10 Jul 2008 08:36:26 -0400 (EDT) Date: Thu, 10 Jul 2008 13:36:19 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080710133619.7d82764c@gumby.homeunix.com.> In-Reply-To: <48757862.8050802@datapipe.com> References: <20080710023659.GA51675@remdogbsd> <48757862.8050802@datapipe.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Locate command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 12:51:37 -0000 On Wed, 09 Jul 2008 21:48:02 -0500 Paul Procacci wrote: > Rem P Roberti wrote: > > Whenever I do a "locate" command on a new installation I get this > > message: > > > > locate: database too small: /var/db/locate.database > > > > Can someone give me a heads up on how to fix this? > > > Run this shell script: > > /etc/periodic/weekly/310.locate > You might also think about installing sysutils/anacron, so that the period scripts get run even if the machine is not left on overnight.