sudo chmod +x /etc/init.d/weewx
sudo update-rc.d weewx defaults 98
sudo /etc/init.d/weewx start
I omitted the first part since the file was already there from the .deb installation.
Upon rebooting, nothing shows up for WeeWx in the log. I use another prompt to watch the log, start Weewx manually, and it'll say starting, but nothing happens (line 10 below this line), and never say anything again until I stop it. But when I start it the next time, it works fine. So far every startup is like this. Below is a few lines, and this is with detailed logging on.
Jan 25 13:11:58 W7JBGWxPi ntpd[822]: Listen normally on 7 eth0 192.168.1.212 UDP 123 Jan 25 13:11:58 W7JBGWxPi ntpd[822]: peers refreshed Jan 25 13:12:13 W7JBGWxPi systemd[496]: Time has been changed Jan 25 13:12:13 W7JBGWxPi systemd[1]: Time has been changed Jan 25 13:12:14 W7JBGWxPi systemd[1]: Starting Session c5 of user pi. Jan 25 13:12:14 W7JBGWxPi systemd[1]: Started Session c5 of user pi.
aJan 25 13:13:39 W7JBGWxPi systemd[1]: Starting Session c6 of user pi. Jan 25 13:13:39 W7JBGWxPi systemd[1]: Started Session c6 of user pi. Jan 25 13:15:13 W7JBGWxPi systemd[1]: Started LSB: weewx weather system. Jan 25 13:15:26 W7JBGWxPi systemd[1]: Stopping LSB: weewx weather system... Jan 25 13:15:26 W7JBGWxPi weewx[1259]: Stopping weewx weather system: weewx not running.... Jan 25 13:15:26 W7JBGWxPi systemd[1]: Stopped LSB: weewx weather system. Jan 25 13:15:28 W7JBGWxPi systemd[1]: Starting LSB: weewx weather system... Jan 25 13:15:29 W7JBGWxPi weewx[1321]: engine: Initializing weewx version 3.3.1 Jan 25 13:15:29 W7JBGWxPi weewx[1321]: engine: Using Python 2.7.9 (default, Mar 8 2015, 00:52:26) #012[GCC 4.9.2] Jan 25 13:15:29 W7JBGWxPi weewx[1321]: engine: Platform Linux-4.1.13-v7+-armv7l-with-debian-8.0 Jan 25 13:15:29 W7JBGWxPi weewx[1321]: engine: pid file is /var/run/weewx.pid Jan 25 13:15:29 W7JBGWxPi weewx[1311]: Starting weewx weather system: weewx. Jan 25 13:15:29 W7JBGWxPi systemd[1]: Started LSB: weewx weather system. Jan 25 13:15:29 W7JBGWxPi weewx[1325]: engine: Using configuration file /etc/weewx/weewx.conf Jan 25 13:15:29 W7JBGWxPi weewx[1325]: engine: Initializing engine Jan 25 13:15:29 W7JBGWxPi weewx[1325]: engine: Loading station type ObserverIP (user.observerip) Jan 25 13:15:29 W7JBGWxPi weewx[1325]: observerip: version is 0.5mw Jan 25 13:15:35 W7JBGWxPi weewx[1325]: observerip: Unknown firmware version: ▒▒▒▒▒▒▒▒▒#001#007USA_v3.0.7.bin Jan 25 13:15:35 W7JBGWxPi weewx[1325]: observerip: polling interval is 16.0
Jan 25 13:15:36 W7JBGWxPi weewx[1325]: engine: Loading service weewx.engine.StdTimeSynch Jan 25 13:15:36 W7JBGWxPi weewx[1325]: engine: Finished loading service weewx.engine.StdTimeSynch Jan 25 13:15:36 W7JBGWxPi rsyslogd-2007: action 'action 17' suspended, next retry is Mon Jan 25 13:16:06 2016 [try http://www.rsyslog.com/e/2007 ]
I can provide more log details if needed. Any solutions or ideas for this?Setup:Rasperry Pi 2 BWeewx 3.3.1 installed with the .deb fileAmbient Weather WS-1400-IP weather stationI basically got everything setup exactly how I want it, but I'm having no luck getting Weewx to run on startup.
vagrant@debian-jessie:~$ cat /etc/debian_version8.2
vagrant@debian-jessie:~$ systemctl list-unit-files | grep weewxweewx.service enabled
vagrant@debian-jessie:~$ systemctl | grep weewxweewx.service loaded active running weewx weather system
--
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 weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/ayOGoCOySx0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Feb 13 16:07:02 trimslice weewx[1872]: engine: Unable to load driver: [Errno 11] Resource temporarily unavailable
sudo apt-get remove modemmanager
There is very definitely something of interest in the log files, namely the line,Feb 13 16:07:02 trimslice weewx[1872]: engine: Unable to load driver: [Errno 11] Resource temporarily unavailable
Unless you actually have a modem, try removing modemmanagersudo apt-get remove modemmanagerIt's looking for a modem at /dev/ttyUSB0 and competing with weewx. Eventually it gives up and relinquishes the port, but not until after weewx exits.
--
Yes, that's true, but it's easier to teach a user how to nuke modemmanager than to mess with UDEV rules.But, hey, do you know anything about upstart?-tk
083529 (row 547): weewx exits because it can't find a network (but there was a network already set up?)
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/ayOGoCOySx0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
Thanks for the response. I tried this but it doesn't seem to solve my situation. When I do a reboot of the RPi, this is what happens: