LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2014, 03:19 PM   #1
tux75
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Rep: Reputation: 0
Debian stopped responding all of a sudden


I got a home server setup with Debian 6 which stopped/crashed and stopped responding. It's a headless server with SSH access only.

After waiting for a day I did a hard reboot and the system started working again. Really like to know what caused this?. I am using it without any issues for almost 3 years now.

I checked the syslog and messages logfiles and didn't find anything. Got a cron job which reports the IP address every 5 minutes and according to that it stopped around 8.15am on 17th Feb. The remaining entries are from today.

these are the entries from dmesg, I assume PWRB is for pressing the power button and PWRF for force reboot. Don't know if the entries just before that make any sense. Is there any other place where I can find any information?


Code:
[    1.945052] sd 2:0:0:0: [sda] Attached SCSI disk
[    1.945533] sd 2:0:1:0: [sdb] Attached SCSI disk
[    2.031996] e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
[    2.503866] PM: Starting manual resume from disk
[    2.503876] PM: Resume from partition 8:7
[    2.503880] PM: Checking hibernation image.
[    2.504143] PM: Error -22 checking image file
[    2.504147] PM: Resume from disk failed.
[    2.542737] EXT3-fs: INFO: recovery required on readonly filesystem.
[    2.542744] EXT3-fs: write access will be enabled during recovery.
[    2.651556] kjournald starting.  Commit interval 5 seconds
[    2.651577] EXT3-fs: recovery complete.
[    2.663125] EXT3-fs: mounted filesystem with ordered data mode.
[    4.032699] udev[381]: starting version 164

[    4.279382] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:0                                                                             0/input/input0
[    4.279402] ACPI: Power Button [PWRB]
[    4.279608] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/inp                                                                             ut1
[    4.279622] ACPI: Power Button [PWRF]
 
Old 02-18-2014, 03:31 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
From the time stamp on your post, I'm guessing you are in the Eastern U. S. time zone. Did your server experience a power outage or fluctuation as a result of weather conditions?
 
Old 02-18-2014, 03:35 PM   #3
tux75
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
No, the system is located in Central Europe.
 
Old 02-18-2014, 03:43 PM   #4
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Do you have syslog installed and enabled? If so. Do
Quote:
tail -n 100 /var/log/syslog
.
Secondarily, you can just browse the log file for the suspected hour and date.
 
Old 02-18-2014, 04:31 PM   #5
tux75
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Code:
Feb 17 08:15:01 localhost /USR/SBIN/CRON[6802]: (root) CMD (/home/user/dae/ipdaem.cron.sh)
Feb 17 08:17:01 localhost /USR/SBIN/CRON[6811]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

Feb 18 18:11:24 localhost kernel: imklog 4.6.4, log source = /proc/kmsg started.
Feb 18 18:11:24 localhost rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="1348" x-info="http://www.rsyslog.com"] (re)start
Feb 18 18:11:24 localhost kernel: [    0.000000] Initializing cgroup subsys cpuset
Feb 18 18:11:24 localhost kernel: [    0.000000] Initializing cgroup subsys cpu
Feb 18 18:11:24 localhost kernel: [    0.000000] Linux version 2.6.32-5-686 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23 09:49:36 UTC 2012
In syslog the last is for a cron job which executes every 5 mins, this script is there for almost an year. I don't know what happened after 8.17am. Entries from 18th Feb are after the reboot.

The only suspect is BtSync which I installed the previous day and was still running. This is the only major change to this system.
 
Old 02-18-2014, 05:14 PM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I was a transmitter technician for many years. High power shortwave transmitters are very complicated, need a lot of maintenance and anything supernatural can happen. We had one technician among us, Mr. Coffi, who at every fault yelled: "first and forever check the area where you worked last". He was right so often that after 20 years or so, this became known as "Coffi's law".

In your case, if it is not BtSync, it is one of your cooling fans. Or, less probable, a hardware error

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server stopped responding all of a sudden (lost network connection?) mountainduck Linux - Server 3 08-17-2013 12:29 PM
Ethernet card stopped working all of a sudden nsfx Linux - Networking 2 12-19-2006 07:18 PM
alsa stopped working all of a sudden kryptobs2000 Linux - Software 1 05-27-2006 12:26 PM
No sound (used to work, stopped working all of a sudden) tomj88 Debian 5 08-05-2005 03:21 PM
proxim rangelan ds stopped working all of a sudden sichen Linux - Wireless Networking 5 04-04-2005 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration