Hi,
great tutorial, helped me a lot! Hopefully this will end my SD card corruption problems. One thing I noticed is that there is a constant error in syslog: frequency file /var/lib/ntp/ntp.drift.TEMP: Read-only file system
- ntp wants to write driftfile
but is unable to. I fixed that so that driftfile
command in /etc/ntp.conf
points to /tmp/ntp.drift
.
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /tmp/ntp.drift
Another thing - I added loggly integration so I'm able to debug my Pi after reboots when syslogs are gone. I kept rsyslog
and followed this guide (besides Python specific logging it also adds adds syslogs).
Some info about driftfile: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-Understanding_the_Drift_File.html