Edit /etc/systemd/system/weewx.service
If the above file doesn't exist then edit /etc/init.d/weewx 
Wherever /var/run is change to /run/
Restart and see what happens.


On Wednesday, 5 August 2020 at 12:03:06 UTC+10 gary....@gmail.com wrote:

> I had a strange thing happen today. Power failed during the tropical storm.
> I shut down the server as the UPS will only hold for 30 minutes.
> However, after 25 minutes, the power returned and I started the server.
> After a couple of hours, I checked my weather page and found it hadn't 
> updated since right before the shutdown.
> So, I checked logs and found little past this:
>
> Aug  4 20:35:50 srvr systemd[1]: /etc/systemd/system/weewx.service:13: 
> PIDFile= references a path below legacy directory /var/run/, updating 
> /var/run/weewx.pid → /run/weewx.pid; please update the unit file 
> accordingly.
>
> Surely that wouldn't stop weewx from running, so I restarted the server. 
> Same behavior.
> I also noticed that mosquitto didn't seem to run properly.:
>
> FIFO /tmp/dlt cannot be opened. Retrying later...
>
> Eventually after unproductively chasing the mosquitto/dlt error, I stopped 
> weewxd then started from the command line. It ran and produced loop data. 
> CTL-C out and started the service.
>
> Runs fine.
>
> Beyond my level for sure. Any ideas/requests for logs, etc would be 
> appreciated.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/51c4a7ba-855d-47c0-b428-aa21d2a7003bn%40googlegroups.com.

Reply via email to