Re: Text File Busy
| From: | Shawn McKenzie | Date: | Wed, 21 Oct 2009 20:17:24 +0000 |
| Subject: | Re: Text File Busy | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299165@lists.php.net to get a copy of this message | ||
Floyd Resler wrote:
> For some reason I'm getting a Text file busy error when I try to execute
> PHP scripts from the command line now. It used to work, but now it
> doesn't. I do have #!/usr/bin/php at the top of my script. If I feed
> the file to php (i.e. /usr/bin/php -f filename.php) it works. Of
> course, I can use this method but I was curious if anyone else has had
> similar problems and what the solution was. I'm guessing that something
> I installed is messing it up.
>
> Thanks!
> Floyd
>
The file is open somewhere most likely. Try: lsof | grep filename.php
--
Thanks!
-Shawn
http://www.spidean.com