I must admit, I thought owserver would wait for an absent owserver rather
than exiting, but tests show you are right.
This sounds like a needed option for owserver.
Or maybe just a program like "owtest" that gives a different exit code
based on whether owserver exists or not.
On Wed, Feb 1, 2012 at 8:47 AM, klas englund <tcmsk...@gmail.com> wrote:
> Beeing a newbe in the Linux world...
>
> I have a setup where one old and slow computer is doing parts of the
> datacollection usining owserver under debian, and another faster
> server to consolidate all inputs and running a control system based on
> that input data.
>
> Now, at a power outage (living on the country side...) the server
> starts much faster than the data collecing machine. In my setup that
> prevents the owfs on the server to find the transducers on the
> collecting computer. Which in turn prevents the control application
> to run properly. It seems that the owserver on the server is unable to
> detect the other owserver on the collector when the collector comes up
> after the server.
>
> I am able to do semiautomatic restarts if I control the power switches
> in the proper sequense i.e. waiting for the collector to start before
> starting the server. I need some kind of syncronization, I think.
>
> How can I implement a reliable startup sequence ?
>
> regards
> tcmsklas
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers