From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 11:35:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08BE537B401 for ; Tue, 24 Jun 2003 11:35:17 -0700 (PDT) Received: from box.h50.net (alb-24-195-75-106.nycap.rr.com [24.195.75.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D3B943FA3 for ; Tue, 24 Jun 2003 11:35:16 -0700 (PDT) (envelope-from cash@h50.net) Received: from box.h50.net (cash@localhost [127.0.0.1]) by box.h50.net (8.12.9/8.12.3) with ESMTP id h5OIZEKs076566 for ; Tue, 24 Jun 2003 14:35:14 -0400 (EDT) (envelope-from cash@h50.net) From: "Ben Polidore" To: freebsd-questions@freebsd.org Date: Tue, 24 Jun 2003 14:35:14 -0500 Message-Id: <20030624183026.M56829@wpi.edu> X-Mailer: Open WebMail 2.10 20030617 X-OriginatingIP: 216.238.128.67 (cash) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: locate database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 18:35:17 -0000 My locate database is not being updated. If I run the script in /etc/periodic/weekly this is the output: [root@boxH50:/etc/periodic/weekly]# ./310.locate Rebuilding locate database: [root@boxH50:/etc/periodic/weekly]# That takes about 1 second. This is an ls on the db file. [root@boxH50:/etc/periodic/weekly]# ls -l /var/db/locate.database -r--r--r-- 1 nobody wheel 5911 Jun 24 14:31 /var/db/locate.database [root@boxH50:/etc/periodic/weekly]# If I just run locate.updatedb as root, it works, but as soon as the periodic script runs, the database is reduced to the above. Any thoughts? -Ben Polidore