From owner-freebsd-questions Tue Oct 2 0:16:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from alaska.net (kitsune.nwc.alaska.net [209.112.130.10]) by hub.freebsd.org (Postfix) with ESMTP id B183837B403 for ; Tue, 2 Oct 2001 00:16:43 -0700 (PDT) Received: from Hobbes.sodorline.home (10-pm3.jdc.alaska.net [209.112.136.10]) by alaska.net (8.9.1/8.9.1) with ESMTP id XAA04369; Mon, 1 Oct 2001 23:16:40 -0800 (AKDT) Received: from Spiff (unknown [192.168.0.63]) by Hobbes.sodorline.home (Postfix) with ESMTP id E49051E51F; Mon, 1 Oct 2001 22:28:25 -0800 (AKDT) Message-ID: <007a01c14b0b$6c2a00a0$3f00a8c0@sodorline.home> From: "james" To: "Roger Merritt" Cc: References: <3.0.6.32.20011002103107.007ae580@stjohn.stjohn.ac.th> <3.0.6.32.20011002114608.007afb50@stjohn.stjohn.ac.th> Subject: Re: Unable to delete file Date: Mon, 1 Oct 2001 22:27:57 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Roger Merritt" > Nope, I looked at everybody's machine and no one was running Excel. I > agree, it's acting *as if* somebody has it open, but 'fstat -f' doesn't > show it as being open by any process. I tried shutting down Samba and > deleting it but the same results. > > I'm almost ready to try rebooting (just kidding... I think). > -- > Roger > > At work we have one Excel '97 file that does this from time to time. Just one, and always the same one. There must be something in the file makeup that is causing a hang in Excel. Rebooting the Windows box it lives on fixes the problem, or making a copy of the file and using that works as well if we don't want to reboot that box just yet (a lot of shares on it used by the whole office). You shouldn't have to reboot your FreeBSD box - copy the file using Windows (this ensures that the 'in use by' is reset according to the Windows rules) then ssh in and delete the original using FreeBSD (FreeBSD won't care if Excel thinks it's being used). Then rename the copy back to the original. Should fix it. Cheers, James Z. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message