Hello,

I've about finished moving weewx to a new computer and from debian to 
Ubuntu. Everything seems to be working correctly except the auto restart 
after reboot. I can stop/start/restart from the service or init.d commands 
and all works correctly. There is something incorrect with my configuration 
for startup. Here are some log messages:

*After computer reboot weewx fails to start:*
root@nuc:~# service weewx status
? weewx.service - weewx weather system
   Loaded: loaded (/etc/systemd/system/weewx.service; disabled; vendor 
preset: enabled)
   Active: inactive (dead)
+++++++++++++++++++++++++++++++++++++++
*Manual restart of weewx service:*
root@nuc:~# service weewx restart
root@nuc:~# service weewx status
? weewx.service - weewx weather system
   Loaded: loaded (/etc/systemd/system/weewx.service; disabled; vendor 
preset: enabled)
   Active: active (running) since Wed 2017-03-22 10:11:05 EDT; 7s ago
 Main PID: 2398 (weewxd)
   CGroup: /system.slice/weewx.service
           mq2398 /usr/bin/python /home/weewx/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
+++++++++++++++++++++++++++++++++++++++
*Manual stop/start from init.d:*
root@nuc:/etc/init.d# ./weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
root@nuc:/etc/init.d# ./weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
root@nuc:/etc/init.d# ./weewx status
? weewx.service - weewx weather system
   Loaded: loaded (/etc/systemd/system/weewx.service; disabled; vendor 
preset: enabled)
   Active: active (running) since Wed 2017-03-22 10:13:08 EDT; 13s ago
 Main PID: 2491 (weewxd)
   CGroup: /system.slice/weewx.service
           mq2491 /usr/bin/python /home/weewx/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf

Any suggestions will be appreciated.  Thanks in advance.

Bob



-- 
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.

Reply via email to