Forum Moderators: coopster

Message Too Old, No Replies

process till running? rename()

         

jackvull

9:39 am on Jun 22, 2006 (gmt 0)

10+ Year Member



Hi
I tried this yesterday and something went wrong during the script and now all I get is the following error:

Warning: rename(aaa/aaa.net_2006-06-01/15959/.,../BBB/320/15959/.): Device or resource busy in /home/fhlinux186/e/#*$!xx.co.uk/user/htdocs/renamestuff.php on line 64

It seems like something is still open or the folder is locked, etc.

Is there anyway to see what is wrong or fix it?

Thanks.

jackvull

6:32 pm on Jun 24, 2006 (gmt 0)

10+ Year Member



Bump

eeek

7:02 pm on Jun 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Something is using either the source or target. You'll have to figure out whom.

jackvull

7:12 pm on Jun 24, 2006 (gmt 0)

10+ Year Member



I'm pretty sure it's the target as when I try this on a different server, it works no problems.
I guess my main issue is trying to work out what is locking it?

I tried shell access to the server and listing processes but that didn't really show up anything.

Any ideas on how to go about this?

eeek

9:13 pm on Jun 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You might find something with the lsof command.