/run and /tmp are both (usually) tmpfs file systems - maybe something screwed 
up tmpfs then the files/dirs/symlinks meant to be auto-created by tmpfiles.d 
didn’t happen - would be interested to see `mount | grep tmpfs` and also, if 
/run and /tmp mounted correctly, what is under them pre-mount (which is hard 
for these particular mount points because of running system dependencies)

> On 5 Aug 2020, at 12:35 pm, Greg from Oz <ubeau...@gmail.com> wrote:
> 
> 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 
> <mailto: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
>  
> <https://groups.google.com/d/msgid/weewx-user/51c4a7ba-855d-47c0-b428-aa21d2a7003bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DBAD96C0-B7DC-4001-9369-C8CBD5C3433E%40gmail.com.

Reply via email to