Hands-on task
A pidfile from a dead process
The report daemon won't start: /opt/reporter/start.sh answers already running (pid 31337). But there's no such process — the daemon crashed overnight, and its pidfile /run/reporter.pid was left behind. Make sure the process with that PID really is dead, remove the stale pidfile and start the daemon via start.sh.
- pidfile
- kill -0
- ps -p
- daemons
- stale lock