LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2009, 11:12 AM   #1
cbtshare
Member
 
Registered: Jul 2009
Posts: 645

Rep: Reputation: 42
server shutdown


I have centOS running on my server as of today it just began to become unresponsive at certain times and needs a reboot.It just locks up, and when I go /var/logs/messages all I see is this error, not sure if it has anything to do with the cause.

Aug 5 11:55:31 fastbox smartd[4477]: Device /dev/sdb not available
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdc, opened
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdc, IE (SMART) not enabled,
skip device Try 'smartctl -s on /dev/sdc' to turn on SMART features
Aug 5 11:55:31 fastbox smartd[4477]: Unable to register SCSI device /dev/sdc
at line 34 of file /etc/smartd.conf
Aug 5 11:55:31 fastbox smartd[4477]: Device /dev/sdc not available
Aug 5 11:55:31 fastbox smartd[4477]: Monitoring 0 ATA and 0 SCSI devices
Aug 5 11:55:31 fastbox smartd[4479]: smartd has fork()ed into background mode.

any help please?
 
Old 08-05-2009, 11:29 AM   #2
pupok
LQ Newbie
 
Registered: Jul 2009
Location: Banská Bystrica, Slovak republic
Distribution: Slackware, Ubuntu
Posts: 18

Rep: Reputation: 2
more details could help

What is output from
dmesg | grep -E "sd|smart"
grep smart /var/log*/messages | tail -50
grep -v "^#" `find /etc/ -name smartd.conf` |uniq

commands?

Or perhaps, you could resolve it yourself with a little help of our web search friendly machines like google.
http://lists.centos.org/pipermail/ce...st/063352.html

Last edited by pupok; 08-05-2009 at 11:32 AM.
 
Old 08-05-2009, 11:55 AM   #3
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
Sounds very much like your hard drives are timing out/becoming unresponsive.

I believe there were some 1 TB drives recently making headlines for having issues with linux environments; they would go into a "self scrub" cycle without providing a notification of sorts to the kernel, so the kernel either failed them out of a software RAID array, or could hard-lock if directly accessing the drive when it became unresponsive.

First things first I'd try enabling SMART on your SATA controllers in the motherboard BIOS, if these SATA ports are on the motherboard (and if you've not already done so).

Have you upgraded the system to a new kernel recently? If so, try booting the server into a previous kernel and see if there is a change for the better...

Good luck!
 
Old 08-05-2009, 11:57 AM   #4
cbtshare
Member
 
Registered: Jul 2009
Posts: 645

Original Poster
Rep: Reputation: 42
thanks for the reply, been using our age old friend google, but cant seem to solve it, as i may have mentioned, not sure if its really an issue, but those are the only errors that come up in logs , so I'm more inclined to believe that is what is causing my server to shutdown.

when I run your commands:
dmesg | grep -E "sd|smart"

Aug 5 08:49:46 fastbox smartd[4462]: smartd version 5.38 [x86_64-redhat-linux-g nu] Copyright (C) 2002-8 Bruce Allen
Aug 5 08:49:46 fastbox smartd[4462]: Home page is http://smartmontools.sourcefo rge.net/
Aug 5 08:49:46 fastbox smartd[4462]: Opened configuration file /etc/smartd.conf
Aug 5 08:49:46 fastbox smartd[4462]: Configuration file /etc/smartd.conf parsed .
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sda, opened
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sda, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART features
Aug 5 08:49:46 fastbox smartd[4462]: Unable to register SCSI device /dev/sda at line 32 of file /etc/smartd.conf
Aug 5 08:49:46 fastbox smartd[4462]: Device /dev/sda not available
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sdb, opened
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sdb, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sdb' to turn on SMART features
Aug 5 08:49:46 fastbox smartd[4462]: Unable to register SCSI device /dev/sdb at line 33 of file /etc/smartd.conf
Aug 5 08:49:46 fastbox smartd[4462]: Device /dev/sdb not available
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sdc, opened
Aug 5 08:49:46 fastbox smartd[4462]: Device: /dev/sdc, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sdc' to turn on SMART features
Aug 5 08:49:46 fastbox smartd[4462]: Unable to register SCSI device /dev/sdc at line 34 of file /etc/smartd.conf
Aug 5 08:49:46 fastbox smartd[4462]: Device /dev/sdc not available
Aug 5 08:49:46 fastbox smartd[4462]: Monitoring 0 ATA and 0 SCSI devices
Aug 5 08:49:46 fastbox smartd[4469]: smartd has fork()ed into background mode. New PID=4469.
Aug 5 11:55:31 fastbox smartd[4477]: smartd version 5.38 [x86_64-redhat-linux-g nu] Copyright (C) 2002-8 Bruce Allen
Aug 5 11:55:31 fastbox smartd[4477]: Home page is http://smartmontools.sourcefo rge.net/
Aug 5 11:55:31 fastbox smartd[4477]: Opened configuration file /etc/smartd.conf
Aug 5 11:55:31 fastbox smartd[4477]: Configuration file /etc/smartd.conf parsed .
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sda, opened
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sda, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART features
Aug 5 11:55:31 fastbox smartd[4477]: Unable to register SCSI device /dev/sda at line 32 of file /etc/smartd.conf
Aug 5 11:55:31 fastbox smartd[4477]: Device /dev/sda not available
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdb, opened
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdb, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sdb' to turn on SMART features
Aug 5 11:55:31 fastbox smartd[4477]: Unable to register SCSI device /dev/sdb at line 33 of file /etc/smartd.conf
Aug 5 11:55:31 fastbox smartd[4477]: Device /dev/sdb not available
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdc, opened
Aug 5 11:55:31 fastbox smartd[4477]: Device: /dev/sdc, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sdc' to turn on SMART features
Aug 5 11:55:31 fastbox smartd[4477]: Unable to register SCSI device /dev/sdc at line 34 of file /etc/smartd.conf
Aug 5 11:55:31 fastbox smartd[4477]: Device /dev/sdc not available
Aug 5 11:55:31 fastbox smartd[4477]: Monitoring 0 ATA and 0 SCSI devices
Aug 5 11:55:31 fastbox smartd[4479]: smartd has fork()ed into background mode. New PID=4479.
 
Old 08-05-2009, 01:11 PM   #5
cbtshare
Member
 
Registered: Jul 2009
Posts: 645

Original Poster
Rep: Reputation: 42
ok cool stick, I will enable smartclt, I tried checking the raid for faulty disk but it doesnt work.

echo check > /sys/block/mdX/md/sync_action
 
  


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
shutdown X server jborn Linux - Newbie 3 10-28-2006 06:32 PM
how to shutdown x server mohamed_123 Linux - General 6 04-12-2006 10:59 PM
My Server won't off when i shutdown kamtono Mandriva 1 09-30-2003 09:46 AM
X server shutdown michael_mead Mandriva 2 08-25-2003 09:36 AM
how can I remote shutdown other WinNT server from Linux Server? adelel Linux - Networking 2 01-06-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:55 AM.

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