my Debian 9.7 crashed - where to find the problem

If none of the more specific forums is the right place to ask

my Debian 9.7 crashed - where to find the problem

Postby fred44nl » 2019-02-05 09:00

hi,
as the title says, I had my very first crash.
what happened was, that my external usbhdd, which is shared with Samba, became unavailable.
also my ssh connection was dropped and ping did not respond.

so, I am curious why this happened.
where can I look for the cause ??

have checked /var/log/syslog, but did not see anything strange.
after a reboot I checked the boot-log with sudo dmesg, but nothing out of the ordinairy.

fred44nl@Debian:~$ neofetch
OS: Debian GNU/Linux 9.7 (stretch) x86_64
Model: fitlet2 N/A
Kernel: 4.9.0-8-amd64
Uptime: 10 minutes
Packages: 930
Shell: bash 4.4.12
CPU: Intel Celeron J3455 (4) @ 2.3GHz
GPU: Intel Integrated Graphics
Memory: 476MB / 3779MB


fred44nl@Debian:~$ uname -a
Linux Debian 4.9.0-8-amd64 #1 SMP Debian 4.9.144-2 (2019-01-21) x86_64 GNU/Linux
Debian 9.9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 162
Joined: 2018-07-14 08:54

Re: my Debian 9.7 crashed - where to find the problem

Postby Head_on_a_Stick » 2019-02-05 12:44

The systemd journal is good for this sort of thing but it is non-persistent by default, change that with
Code: Select all
# mkdir -p /var/log/journal

Then wait for another "crash" :)

Problems like this are usually caused by foreign repositories or perhaps hardware failure, could that be the caes here?
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: my Debian 9.7 crashed - where to find the problem

Postby fred44nl » 2019-02-05 14:15

thank you for the reply.
I stopped using ppa's and others a long time ago.
uninstalled everything from there and re-installed afterwards.
I surely hope it's not a hardware failure :)
Debian 9.9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 162
Joined: 2018-07-14 08:54

Re: my Debian 9.7 crashed - where to find the problem

Postby Head_on_a_Stick » 2019-02-05 19:00

fred44nl wrote:I surely hope it's not a hardware failure

Could it be the drive you're trying to stop spinning down? Seems like that would affect longevity adversely.

Also, what exactly do you mean by "crash"? Did you try switching to a console screen?
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: my Debian 9.7 crashed - where to find the problem

Postby fred44nl » 2019-02-05 19:10

Head_on_a_Stick wrote:Could it be the drive you're trying to stop spinning down? Seems like that would affect longevity adversely.

I have disabled the crontab -e line, which was:
* * * * * /sbin/hdparm -S0 /dev/sdb &>/dev/null


Also, what exactly do you mean by "crash"?

no ping
no ssh
no shared folders.
no RDP
Did you try switching to a console screen?

my system is completely headless, so I don't have a console screen.
Debian 9.9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 162
Joined: 2018-07-14 08:54


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable