Hi,

Try updating "ps -p $PID >&- ; then" command in to "if ps -p $PID >
/dev/null ; then", not sure this is the exact solution for this.
Normally you get Bad file descriptor type errors due to non availability of
stdin,stdout or stderr for given command.

Regards,
UdaraR


On Mon, Mar 3, 2014 at 6:45 PM, Isuru Perera <isu...@wso2.com> wrote:

> I have mentioned in the JIRA that I get that error in the second time.
> However there are cases, which you will get this error in the first time
> and always.
>
> Perhaps you can add a comment to the JIRA.
>
> Thanks!
>
>
> On Mon, Mar 3, 2014 at 6:44 PM, Isuru Perera <isu...@wso2.com> wrote:
>
>> AFAIK, this is a known issue for some platforms and I reported a JIRA
>> sometime back [1].
>>
>> However, the server should work fine.
>>
>> [1] https://wso2.org/jira/browse/CARBON-14477
>>
>>
>> On Mon, Mar 3, 2014 at 6:29 PM, Chamila Wijayarathna <cham...@wso2.com>wrote:
>>
>>> Hi all,
>>> I tried to run "./wso2server.sh start" from <BAM_HOME>/bin after logging
>>> as root.
>>> When I ran this command it says "ps: write error: Bad file descriptor".
>>> What is the reason for this? How can I solve this?
>>>
>>> Thank You!
>>>
>>> --
>>> *Chamila Wijayarathna*
>>> Engineering Intern,
>>> WSO2 Inc.
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog    : http://udarakr.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to