Glenn,
Tanks for your reply.
The most remarkable thing happened. I was running weewxd and did a /etc/init.d/weewx status and it showed a lot of old starts but not the running weewxd.
Next I killed weewxd and the started the stansard way:
____________________
joep@kangoo:~ $ sudo kill -9 2303
joep@kangoo:~ $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
____________________________________________________
It gave the same message as before but this time weewx was started!!
The syslog page gave:
____________
Nov  3 10:55:49 kangoo systemd[1]: Stopping LSB: weewx weather system...
Nov  3 10:55:49 kangoo systemd[1]: Stopped LSB: weewx weather system.
Nov  3 10:58:22 kangoo systemd[1]: Starting LSB: weewx weather system...
Nov  3 10:58:22 kangoo systemd[1]: Started LSB: weewx weather system.
____________________________________________________________________________--
But this time ps -ef|grep weewx gave the running weewx and all looks normal. I haven't tried to do a start and stop to test of it remains working. Another annoying problem is that the gauge generator generates 104 lines with "GaugeGenerator: Cannot decode reading of 'None' for gauge 'windDir'" but then it gave a reading followed by another run of the error message.
I think it is a bug somewhere but it inflates the log file to no use.
Do you know how to get rid of this?
Joep



On 02/11/16 23:58, Glenn McKechnie wrote:
First thought is to open two terminals.
In the first one run *sudo tail -f /var/log/syslog
*
In the second run your start commands. Additionally, make sure you run*sudo /etc/init.d/weewx stop* first, or use*restart / reload *instead*.

*
**
**run*sudo /etc/init.d/weewx status *or*sudo service weewx status* immediately after and you will be given a short log extract, a status report of that daemon*
*
*
*
You can add -x to the top of //etc/init.d/weewx/ - ie #!/bin/sh -x**to get some feedback - whether it's helpful or not is probably debatable. Make sure you*run systemctl daemon-reload *anytime you edit an init.d config file.

Second thought - have you changed from a deb to a setup.py install recently? ie:- is it the correct init.d script for your installation?
*

*



Cheers
 Glenn

rorpi - read only raspberry pi + weewx: now with scripts <https://github.com/glennmckechnie/rorpi-raspberrypi>


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