Why is my RaspBian Pi crashing?
Posted: Mon Jun 08, 2015 1:06 pm
I have a Pi1B running RaspBian which I use as a utility Pi for:
- PPTP VPN server
- OpenVPN server
- Printer server using CUPS for my HP Color Laserjet CP1215
- Surveillance camera server
I have used this Pi for more than a year but lately (a few months) it has started to crash at irregular intervals.
This is of course not good since it is the gateway via VPN into my home network when I am away...
Right now it is in this crashed state when I arrived back home after a week and I cannot connect to it via PuTTY so I have to power cycle the Pi.
QUESTIONS:
1) Is there some log or similar where I can find out what brought it down?
2) Can this log be read off of the SD-card if I move it to my Win7 PC?
(This is assuming that any such log gets overwritten on startup or similar, in which case I don't want to start the Pi just yet).
3) Is there some function in RaspBian, which can detect a crash and restart it so it does not go off-line until a manual intervention is done?
I will wait for some time hoping for replies before I power cycle the unit....
- PPTP VPN server
- OpenVPN server
- Printer server using CUPS for my HP Color Laserjet CP1215
- Surveillance camera server
I have used this Pi for more than a year but lately (a few months) it has started to crash at irregular intervals.
This is of course not good since it is the gateway via VPN into my home network when I am away...
Right now it is in this crashed state when I arrived back home after a week and I cannot connect to it via PuTTY so I have to power cycle the Pi.
QUESTIONS:
1) Is there some log or similar where I can find out what brought it down?
2) Can this log be read off of the SD-card if I move it to my Win7 PC?
(This is assuming that any such log gets overwritten on startup or similar, in which case I don't want to start the Pi just yet).
3) Is there some function in RaspBian, which can detect a crash and restart it so it does not go off-line until a manual intervention is done?
I will wait for some time hoping for replies before I power cycle the unit....