From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 03:27:20 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 732E91065670 for ; Fri, 11 Jul 2008 03:27:20 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from mailgate.neusoft.com (mailgate.neusoft.com [210.83.25.69]) by mx1.freebsd.org (Postfix) with ESMTP id AADD48FC13 for ; Fri, 11 Jul 2008 03:27:19 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from smtp.neusoft.com ([202.107.117.28]) by mailgate.neusoft.com (8.13.1/8.13.1) with ESMTP id m6B3Q57J016999 for ; Fri, 11 Jul 2008 11:26:57 +0800 Received: from neusofteaf5839 ([192.168.131.63]) by smtp.neusoft.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPPSA id <0K3T00HMHO7R2K@smtp.neusoft.com> for freebsd-questions@freebsd.org; Fri, 11 Jul 2008 11:26:15 +0800 (CST) Date: Fri, 11 Jul 2008 11:26:19 +0800 From: EdwardKing To: FreeBSD Message-id: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-Priority: 3 X-MSMail-priority: Normal X-Neusoft-MailScanner-Information: Please contact the ISP for more information X-Neusoft-MailScanner: Found to be clean Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: locate:database too small 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: Fri, 11 Jul 2008 03:27:20 -0000 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 ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. -----------------------------------------------------------------------------------------------