ts-7000
[Top] [All Lists]

[ts-7000] Re: start-stop-deamon works fine-- but process actually DOESN'

To:
Subject: [ts-7000] Re: start-stop-deamon works fine-- but process actually DOESN'T start automatical...
From: "j.chitte" <>
Date: Tue, 03 Feb 2009 21:41:14 -0000
--- In  "wildpossumboy" <> 
wrote:
>
> Pleased your found the problem. May I make a suggestion though. 
Rather
> than having a loop why not simply use "sleep(2)" to give your system
> a two seconds to do other things like housework rather than tying it
> up in a unproductive resource user.
> 
> Cheers. Grahame
> 
> 
> --- In  "jklich" <jklich@> wrote:
> >
> > HA!  It turned out that my C program exits if can't it connect to 
my 
> > database after one try!  This is typical if the mysql deamon has 
not 
> > fully started.  I tried starting my "pollster" daemon right after 
the 
> > mysql daemon -- to resolve this, I placed a loop in my C program 
that 
> > delays and retries to connect to the mysql database until it 
succeeds 
> > within a certain number of tries.
> > 
> > BTW, syslog is disabled by default on the TS-7800 in order to 
reduce 
> > wear on the flash memory.  I didn't know that.  So for everyone 
who 
> > wants to collect data in the syslog, copy syslog.conf-debian to 
> > syslog.conf in the /etc directory.  Just make sure you keep a 
copy of 
> > the old syslog.conf just in case you want to disable syslog again.
> > 

No, not just in case. You WILL want to disactivate logging a.s.a.p. 
You only get one set of Flash memory and it's soldered into the 
board. If you burn it out you buy a new board.




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU