Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 22:27:57 -0800
From:      "james" <jfzuelow@alaska.net>
To:        "Roger Merritt" <mcrogerm@stjohn.ac.th>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Unable to delete file
Message-ID:  <007a01c14b0b$6c2a00a0$3f00a8c0@sodorline.home>
References:  <3.0.6.32.20011002103107.007ae580@stjohn.stjohn.ac.th> <3.0.6.32.20011002114608.007afb50@stjohn.stjohn.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "Roger Merritt" <mcrogerm@stjohn.ac.th>

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007a01c14b0b$6c2a00a0$3f00a8c0>