hi i though i got it last night after having removed the ip v6 part of the rpi and hardcoding the ip address of the mysql server, the weewx did not crash for 12 hours. but this morning at 07:12 the weewx had crashed again the last line of the syslog regarding weather station is :
*Dec 26 07:12:32 weatherstation weewx[602]: wh23xx: read_record: cmdbuf: 02 02 04 04 (len=4)* would it suggest a wh23xx driver going in loop ? i have no idea how to make the weewx startup script depend on the network and ntp. please could you help me on this one.... The log is not stopped is just that nothing else happen on the machine. this rpi is dedicated only to weewx it's a headless machine connected to the lan via ethernet. the only service loaded in top of weewx is tightvnc server. it's like weewx goes in loop somewhere and stop doing anything. this morning i just restart the weewx service and everything went back on normal. FYI my wh2310 weather station is a Misol clone of TP2700WC the bough on aliexpress.com https://www.aliexpress.com/item/Professional-weather-station-windspeed-winddirection-rainmeter-pressure-temperature-humidity-UV-with-solarchargefunction-outdoor/32673332115.html?spm=2114.30010308.3.11.hh0nlm&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10000009_10084_10083_10080_10082_10081_10060_10061_10062_10056_10055_10054_10059_10099_10078_10079_427_10073_10103_10102_10096_10052_10050_10051-10050,searchweb201603_1,afswitch_5&btsid=c917a463-e7a5-4e84-95eb-af476462e75b On Monday, December 26, 2016 at 3:26:35 AM UTC+7, mwall wrote: > > > > On Saturday, December 24, 2016 at 1:27:01 AM UTC-5, Marc Aubry wrote: >> >> this morning crash syslog (see attachfile)ed >> the weewx has stop working from 8:37 to 1:30 until i reboot the rpi. >> maybe i have a network issue... >> i'll try to use a fix ip instead of static address delivered by my dhcp >> ... >> which going to be the same nbut form my ddwrt routr i prefer to use the >> dhcp/dnsmasq to atribute even the fix ip. >>> >>> >>>>> > marc, > > there is nothing unusual in the log you posted. > > since you are using mysql, you should make the weewx startup script depend > on the network. you should also make the weewx startup script depend on > ntp. > > but even though your network is a mess, weewx did what it was supposed to > to: it failed to contact the mysql server, so it slept for two minutes. > when it tried again, the network had stabilized, and weewx startup up > properly. > > nothing unusual until the end of the log you posted, and there is no > crash. what stopped the log? > > you should update to the latest forecast (currently at version 3.2.6). > that will eliminate the spurious 'ignoring value for ...' messages. > > m > -- 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.
