From owner-freebsd-questions Mon May 15 1:29:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 7995B37B71E for ; Mon, 15 May 2000 01:29:21 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12rEmv-000520-00; Mon, 15 May 2000 07:55:37 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12rEmv-000J0v-00; Mon, 15 May 2000 07:55:37 +0100 Date: Mon, 15 May 2000 07:55:37 +0100 From: Ben Smithurst To: John Cc: freebsd-questions@freebsd.org Subject: Re: locate database disappears Message-ID: <20000515075537.U10128@strontium.scientia.demon.co.uk> References: <4.3.1.2.20000515000015.00ac5100@mail.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.3.1.2.20000515000015.00ac5100@mail.udel.edu> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John wrote: > I've finally managed to trace this back to being "caused" by > /etc/periodic/weekly/310.locate, which I've pasted below (it's the standard > plain-old version that was installed during a make world - I haven't > modified it at all). I've yet to figure out *why* though? Any > thoughts? I'm running 3.4-stable now, and this problem didn't come into > being until I had upgraded from 3.3-stable to 3.4-stable. > cd / > echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody Have you tried running those commands manually? Perhaps there's a problem with running it as the "nobody" user somewhere. If you run those and it get's set to 500 bytes again, without an error message, try: | cd / | echo /usr/libexec/locate.updatedb | nice -5 ktrace -i su -fm nobody and then | kdump | less (or kdump | more, whatever) scroll to the end, see if you can see any errors occuring. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message