On Sunday, November 27, 2016 at 1:55:16 PM UTC-5, David Johns wrote: > > Hi, > > Ok. There is no such directory as etc/defaults on this version of ubuntu. > So I have added the LD_LIBRARY_PATH to the weewx file in /etc/init.d/ > > It still did not work starting weewx in the usual way (service weewx > start) and threw up the original errors. > > However, I tried the way you said by running weewxd /etc/weewx/weewx.conf > and gives the following output. However running as a service still does > not work and still complains about "libow-3.1.so.4: cannot open shared > object file: No such file or directory". >
david, i mistyped. the directory is /etc/default, not /etc/defaults. so do this: echo "LD_LIBRARY_PATH=/opt/owfs/lib" | sudo tee /etc/default/weewx that should make weewx run properly when you invoke it using the 'service' command. your second problem is actually a bigger issue - owfs is not returning data for your sensors. is the owfs server running? (it looks like you are reading from the owfs server, not from a serial/i2c/usb interface) 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.
