You're not the first to list things in Required-Start and have them ignored and I have no explanation why.
One question: I assume you have the WLIP version of the Vantage logger? If so, one thing you can try is to set the (poorly documented) option loop_on_init to true. So, the start of your weewx.conf file would look like # Set to 1 for extra debug info, otherwise comment it out or set to zero debug = 0 loop_on_init = 1 This won't actually fix anything, but it does cause weewx not to exit if the driver fails to load. Instead, it will keep retrying. -tk On Fri, Sep 22, 2017 at 6:48 PM, Dave Harper <[email protected]> wrote: > A couple of days ago I switched from a Windows 7 system running > Weatherlink to a Raspberry Pi 3B running weewx under the jessie > distribution. Once running, the program works great but there is one > problem I must solve and I'm not sure how to do it. If the Pi reboots > weewx does not start correctly. Looking at /var/log/syslog (attached > syslog1) I found that weewx was starting before networking was up and > going. Thus, it got an error trying to access the console and exited > (right after the exit, networking starts up). I searched to see if there > was a way to delay weewx from starting until networking was up and found a > post in another forum that indicated I could delay the start of weewx by > adding "$network" to the "# Required-Start" line in init.d/weewx. I did > that and the result was the boot shown in syslog2. It appears that weewx > now waits until networking is up, but the problem remains. Once the system > is up and running I can stop weewx, then start it again and, "tailing" the > /var/log/syslog file I can see that this time it starts up okay. > Unfortunately, I might not be around when a power hit occurs, so I'd like > to find out what's going wrong. Anyone have any ideas I can try? > > Thanks, > Dave > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" 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/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" 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/d/optout.
