Date: Mon, 15 May 2000 07:55:37 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: John <papalia@udel.edu> Cc: freebsd-questions@freebsd.org Subject: Re: locate database disappears Message-ID: <20000515075537.U10128@strontium.scientia.demon.co.uk> In-Reply-To: <4.3.1.2.20000515000015.00ac5100@mail.udel.edu> References: <4.3.1.2.20000515000015.00ac5100@mail.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000515075537.U10128>