I checked for the configuration script that now goes like >>
# Start LINUX UART
#

description     "Start LINUX UART"

start on net-device-up

respawn
exec python /home/ubuntu/Desktop/xlockController_UART.py

It shows me start/running even if the xlockController_UART.py isn't running
which this configuration script is supposed to get it up and running!!



On Wed, Nov 13, 2013 at 11:39 PM, Nishant Sood <[email protected]> wrote:

> Another thing I dont understand at all that If I'm respawing it so it
> should atleast restart and work for a time till again something conflicts
> with it and kills it ,Still it just goes down once and for ever, any
> logical reasoning for the same?
>
>
> On Wed, Nov 13, 2013 at 10:59 PM, Nishant Sood <[email protected]>wrote:
>
>> Hey Philip
>>
>> I gave full permissions to the py script. That's 777 just to be sure that
>> such problems don't play with me.
>> But I think I can't do anything about the timing as I won't know about
>> which script is colliding.
>>
>> Also when I run script sometimes when it dies I get a sort of http error
>> may be capturing it solves the problem. Still I just want to make sure that
>> no matter what uncaptured etc error comes it just restarts the py script on
>> fail because I don't need to retain it.
>>
>> Can you tell me the what are the steps you are following to restart your
>> script.
>>
>> Thanks & Regards,
>> Nishant
>> -------------------
>> Sent from My Android (humongous NOTE-II)
>> On 13 Nov 2013 22:50, "Philip Polstra" <[email protected]> wrote:
>>
>>> I'm not using upstart.  I'm putting code in rc.local, etc. directly.  It
>>> could be a problem with permissions or the timing of when your script gets
>>> executed.
>>>
>>>
>>> On Wed, Nov 13, 2013 at 7:02 AM, Nishant Sood <[email protected]>wrote:
>>>
>>>> No was checking that is the problem because of script or else then
>>>> after it now it seems it was python script.
>>>> Is there any anomaly in my upstart you see I want to restart the script
>>>> when it dies unexpectedly.
>>>>
>>>> Thanks & Regards,
>>>> Nishant
>>>> -------------------
>>>> Sent from My Android (humongous NOTE-II)
>>>> On 13 Nov 2013 18:23, "Philip Polstra" <[email protected]> wrote:
>>>>
>>>>> Did you upgrade to 3.12 as well?
>>>>> On Nov 13, 2013 1:42 AM, "Nishant Sood" <[email protected]> wrote:
>>>>>
>>>>>> Hi Philip and Robert,
>>>>>>
>>>>>> So I have tested the BeagleBone removing any scripts that may clash
>>>>>> and cause the OS env. to restart and I have my BBBlack running all the
>>>>>> night till present its still on while I'm writing this email, I checked
>>>>>> this with "uptime" command ,so Now it seems to be a problem with 
>>>>>> upstarting
>>>>>> of these py scripts, So here the following I give you my upstart code to
>>>>>> respawn the py script in the even of any crash!
>>>>>>
>>>>>> # Start LINUX UART
>>>>>> #
>>>>>>
>>>>>> description     "Start LINUX UART"
>>>>>>
>>>>>> start on runlevel [2345]
>>>>>> stop on runlevel [016]
>>>>>>
>>>>>> respawn
>>>>>> exec python /etc/init.d/xlockController_UART.py
>>>>>>
>>>>>> what you think? is this problem because of runlevel definitions above?
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 11, 2013 at 8:02 PM, Nishant Sood <[email protected]>wrote:
>>>>>>
>>>>>>> Thanks philip
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 11, 2013 at 7:38 PM, Nishant Sood 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> Hello Mr.Robert
>>>>>>>>
>>>>>>>> Glad to see the image maker here>>
>>>>>>>> I'm not using any capes!
>>>>>>>> also wgetting that branch will make drastic changes? You see my
>>>>>>>> concern is that I already spent a lot of time installing individual 
>>>>>>>> needy
>>>>>>>> items from the very big pool so I don't want to install them again, 
>>>>>>>> will
>>>>>>>> this change things drastically?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Nov 11, 2013 at 7:34 PM, Robert Nelson <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Nov 11, 2013 at 8:01 AM, Nishant Sood <[email protected]
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> Or atleast detailed way that how you are doing it?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> If your not using any capes, give the v3.12.x branch a try.
>>>>>>>>> .(specially for usb related lockups..)
>>>>>>>>>
>>>>>>>>> wget
>>>>>>>>> http://rcn-ee.net/deb/raring-armhf/v3.12.0-bone8/install-me.sh
>>>>>>>>> sudo /bin/bash install-me.sh
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Robert Nelson
>>>>>>>>> http://www.rcn-ee.com/
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> For more options, visit http://beagleboard.org/discuss
>>>>>>>>> ---
>>>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>>>> the Google Groups "BeagleBoard" group.
>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>> https://groups.google.com/d/topic/beagleboard/PiNkUTjnV3M/unsubscribe
>>>>>>>>> .
>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>> to [email protected].
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks & Regards,*
>>>>>>>>
>>>>>>>>  *Nishant Sood*
>>>>>>>> *--*
>>>>>>>> *CEO and Founder*
>>>>>>>>
>>>>>>>>  *Winacro Innovation's Inc.*
>>>>>>>> *----------------------------------------*
>>>>>>>> *www.winacro.com <http://www.winacro.com>*
>>>>>>>> *----------------------------------------*
>>>>>>>> *Contact's:*
>>>>>>>> *Mobile: +91-8447476798 <%2B91-8447476798>*
>>>>>>>> *Phone:  0129-4176798*
>>>>>>>> *Email:   [email protected] <[email protected]>*
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks & Regards,*
>>>>>>>
>>>>>>> *Nishant Sood*
>>>>>>> *--*
>>>>>>> *CEO and Founder*
>>>>>>>
>>>>>>>  *Winacro Innovation's Inc.*
>>>>>>> *----------------------------------------*
>>>>>>> *www.winacro.com <http://www.winacro.com>*
>>>>>>> *----------------------------------------*
>>>>>>> *Contact's:*
>>>>>>> *Mobile: +91-8447476798 <%2B91-8447476798>*
>>>>>>> *Phone:  0129-4176798*
>>>>>>> *Email:   [email protected] <[email protected]>*
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks & Regards,*
>>>>>>
>>>>>> *Nishant Sood*
>>>>>> *--*
>>>>>> *CEO and Founder*
>>>>>>
>>>>>>  *Winacro Innovation's Inc.*
>>>>>> *----------------------------------------*
>>>>>> *www.winacro.com <http://www.winacro.com>*
>>>>>> *----------------------------------------*
>>>>>> *Contact's:*
>>>>>> *Mobile: +91-8447476798 <%2B91-8447476798>*
>>>>>> *Phone:  0129-4176798*
>>>>>> *Email:   [email protected] <[email protected]>*
>>>>>>
>>>>>>  --
>>>>>> For more options, visit http://beagleboard.org/discuss
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "BeagleBoard" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>  --
>>>>> For more options, visit http://beagleboard.org/discuss
>>>>> ---
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "BeagleBoard" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/beagleboard/PiNkUTjnV3M/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>  --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "BeagleBoard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "BeagleBoard" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/beagleboard/PiNkUTjnV3M/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>
>
> --
> *Thanks & Regards,*
>
> *Nishant Sood*
> *--*
> *CEO and Founder*
>
>  *Winacro Innovation's Inc.*
> *----------------------------------------*
> *www.winacro.com <http://www.winacro.com>*
> *----------------------------------------*
> *Contact's:*
> *Mobile: +91-8447476798*
> *Phone:  0129-4176798*
> *Email:   [email protected] <[email protected]>*
>
>


-- 
*Thanks & Regards,*

*Nishant Sood*
*--*
*CEO and Founder*

*Winacro Innovation's Inc.*
*----------------------------------------*
*www.winacro.com <http://www.winacro.com>*
*----------------------------------------*
*Contact's:*
*Mobile: +91-8447476798*
*Phone:  0129-4176798*
*Email:   [email protected] <[email protected]>*

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to