LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-10-2015, 07:33 AM   #1
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Rep: Reputation: 0
Red Hat 6.5 - takes an hour to reboot


Apart from boot.log (which has no times in) and /var/log/messages, what can I look at to determine why this server is taking so long to reboot?
 
Old 03-10-2015, 07:36 AM   #2
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Code:
Mar 10 06:30:35 server1 kernel: Kernel logging (proc) stopped.
Mar 10 06:30:35 sever1 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1317" x-info="http://www.rsyslog.com"] exit
ing on signal 15.
Mar 10 07:25:04 server1 kernel: imklog 5.8.10, log source = /proc/kmsg started.
Mar 10 07:25:04 server1 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1317" x-info="http://www.rsyslog.com"] start
Extract from /var/log/messages. As you can see, there are 55 mins where nothing appears to happen. Any way to increase log level for this?
 
Old 03-10-2015, 07:40 AM   #3
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
It's not so much log level but you're waiting for the new logging to start.
 
Old 03-10-2015, 08:41 AM   #4
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linosaurusroot View Post
It's not so much log level but you're waiting for the new logging to start.
So how can I determine whats going on for these 55 minutes?
 
Old 03-10-2015, 09:29 AM   #5
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by paulfoel View Post
So how can I determine whats going on for these 55 minutes?
Are you present with the server and screen and keyboard?
 
Old 03-10-2015, 11:14 AM   #6
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linosaurusroot View Post
Are you present with the server and screen and keyboard?
I have remote access. Its a live server so I can't reboot just now.

Its scheduled to reboot once a week at 6-30am.
 
Old 03-10-2015, 12:04 PM   #7
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Do you have a similar system for practice?
Has this slow boot problem only appeared recently?
 
Old 03-10-2015, 03:02 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
is "bootchart" installed ?
http://www.bootchart.org/

use that to get a log and a SVG image you can look at


in more newer OS's this is built in ( RHEL7)
systemd-analyze
 
Old 03-11-2015, 04:37 AM   #9
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linosaurusroot View Post
Do you have a similar system for practice?
Has this slow boot problem only appeared recently?
No test system. Not sure how long its been like this - probably a long time. I've only had visibility of this server for the past few weeks.
 
Old 03-11-2015, 04:44 AM   #10
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
is "bootchart" installed ?
http://www.bootchart.org/

use that to get a log and a SVG image you can look at


in more newer OS's this is built in ( RHEL7)
systemd-analyze
Thanks. Had a look at this - looks good.

BUT, I wont get authorisation to install this on a live server unfortunately. Is there any way to check whats going on without installing additional tools?
 
Old 03-11-2015, 10:10 AM   #11
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by paulfoel View Post
No test system. Not sure how long its been like this - probably a long time. I've only had visibility of this server for the past few weeks.
Convince the boss you need a lifelike test system, make one from new and see if it has this boot problem. If it doesn't swap them.
 
Old 03-11-2015, 09:34 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What are specs of this system and what is the usage environment?

One of the members of my LUG is an accomplished Linux sysadmin who has recently acquired (within the past year) some very brawny servers that run RHEL (I forget the manufacturer). It's been a while since he demonstrated them at a LUG meeting, but they have 64 GB RAM and serve about 150 users in a thin-client environment.

They take 20 minutes to boot to login from power on. That is their normal.
 
Old 03-12-2015, 05:32 AM   #13
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by frankbell View Post
They take 20 minutes to boot to login from power on. That is their normal.
That's a good point. I've seen several minutes (~10?) in bios-type activity before starting RH. If this is confirmed by OP it may be unavoidable until the next hardware change.
 
Old 03-12-2015, 09:03 PM   #14
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Somebody needs to sit in front of it to see what takes it so long. It's pretty likely that there's an automated fsck going on (look in /etc/fstab to see). Larger servers take up to ~20 minutes to test RAM, engage and test RAIDs, but many servers need to fsck one filesystem or another at boot-time, and that could take quite a bit of time.

You really won't know until someone hooks a console up to it and reports back to you.
 
Old 03-13-2015, 06:10 PM   #15
speirs1
LQ Newbie
 
Registered: Oct 2014
Posts: 20

Rep: Reputation: Disabled
You said you only have ssh access? Does the server have a BMC? iLo, Drac etc. Redirect serial out to the Virtual Serial Port linking the BMC and server. You can then ssh to the BMC and view everything as if you were sitting at a console. Also remove "rhgb quiet" from the kernel boot parameter if you haven't already. /etc/grub/grub.conf

Red Hat has some nice articles on the VSP thing. Step by step even for the Dell/HP side.
 
  


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
LXer: The Ubuntu Advantage? Canonical Takes On Red Hat LXer Syndicated Linux News 0 06-10-2010 07:50 AM
Red Hat Takes Software Patents To Supreme Court DragonSlayer48DX Linux - News 0 10-02-2009 07:11 PM
LXer: Red Hat takes developer efforts to Malaysia LXer Syndicated Linux News 0 08-05-2009 05:41 PM
LXer: Microsoft takes aim at Red Hat for Patents, IP LXer Syndicated Linux News 0 07-23-2009 08:51 PM
LXer: Red Hat takes Xen baby step LXer Syndicated Linux News 0 09-15-2006 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:20 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