Text File Busy

Text File Busy

am 21.10.2009 21:53:28 von Floyd Resler

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Text File Busy

am 21.10.2009 22:17:24 von Shawn McKenzie

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Text File Busy

am 22.10.2009 15:35:16 von Floyd Resler

It happens on any file I try so there must be something else going on.

Thanks!
Floyd

On Oct 21, 2009, at 4:17 PM, Shawn McKenzie wrote:

> 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
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php