Fedora Linux Support Community & Resources Center
  #1  
Old 11th August 2011, 03:16 PM
vinnyparker's Avatar
vinnyparker Offline
Registered User
 
Join Date: Aug 2011
Posts: 14
linuxfirefox
[SOLVED] My fedora 15 very slow to boot

Hello everybody, I installed fedora15 on my laptop. and after an upgrade, with the kernel 2.6.40-4.fc15.x86_64, my fedora boot is taking almost 10 minuts.....
Its take so manytimes to boot. does someone knows why?
I installed jdk, eclipse, glassfish, firebird and postgres for my workspace.....
If someone can help me I would thanks

---------- Post added at 11:16 AM ---------- Previous post was at 10:55 AM ----------

ok I I figured out why the long time to boot.
I have here installed glassfish and I add a Line on /etc/hosts like that:
Code:
[vinny@vinny-fedora ~]$ cat /etc/hosts
127.0.0.1		localhost.localdomain localhost
#127.0.0.2 vinny-fedora
::1		localhost6.localdomain6 localhost6
127.0.0.1 vinny-fedora
If I comment the last line, the starting is normal. But without this line I cant start up Glassfish. is there another way to sat my hostname?

Last edited by vinnyparker; 22nd August 2011 at 01:35 PM.
Reply With Quote
  #2  
Old 11th August 2011, 05:15 PM
mikee's Avatar
mikee Offline
Registered User
 
Join Date: Aug 2011
Location: Minnesota
Posts: 435
linuxfirefox
Re: My fedora 15 very slow to boot

I would recommend looking at the "dmesg" comand to see where the slowness is.
There are timestamps as it goes through the boot process.
Also, look at /var/log/boot.log.

It could be a lot of things, but it's hard to tell for us, unless you post the outputs from those commands.
Reply With Quote
  #3  
Old 11th August 2011, 05:40 PM
vinnyparker's Avatar
vinnyparker Offline
Registered User
 
Join Date: Aug 2011
Posts: 14
linuxfirefox
Re: My fedora 15 very slow to boot

here pastiebin dmesg

http://pastiebin.com/?page=p&id=4e43b39f2abe3
Reply With Quote
  #4  
Old 11th August 2011, 05:40 PM
vinnyparker's Avatar
vinnyparker Offline
Registered User
 
Join Date: Aug 2011
Posts: 14
linuxfirefox
Re: My fedora 15 very slow to boot

here pastiebin boot.log
http://pastiebin.com/?page=p&id=4e43b3dd8787d
Reply With Quote
  #5  
Old 11th August 2011, 06:03 PM
mikee's Avatar
mikee Offline
Registered User
 
Join Date: Aug 2011
Location: Minnesota
Posts: 435
linuxfirefox
Re: My fedora 15 very slow to boot

It looks like I missed your adding to the post that you solved it?
I was going to say the timestamps in dmesg look like the core of the OS was up in 31 seconds.
Reply With Quote
  #6  
Old 11th August 2011, 06:09 PM
vinnyparker's Avatar
vinnyparker Offline
Registered User
 
Join Date: Aug 2011
Posts: 14
linuxfirefox
Re: My fedora 15 very slow to boot

No I didn't solve.
I cant start Glassfish without the line containing "127.0.0.1 vinny-vedora" at /etc/hosts
and with this line, the OS takes too long to start....

---------- Post added at 02:09 PM ---------- Previous post was at 02:07 PM ----------

Did you see the pastbin?
Reply With Quote
  #7  
Old 11th August 2011, 06:14 PM
mikee's Avatar
mikee Offline
Registered User
 
Join Date: Aug 2011
Location: Minnesota
Posts: 435
linuxfirefox
Re: My fedora 15 very slow to boot

I did see the pastebins and looked at dmesg. It looked like the os started fast.

Try putting the vinny-fedora on teh same line as the localhost stuffs.
You have 2 entries in the hosts file of 127.0.0.1, and I think the second one might supercede the first.
That could cause issues.

Mine looks like this:

127.0.0.1 math16-16 localhost.localdomain localhost
::1 math16-16 localhost6.localdomain6 localhost6
Reply With Quote
  #8  
Old 11th August 2011, 06:22 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfedorafirefox
Re: My fedora 15 very slow to boot

It very likely may be a systemd problem combined with the network startup.

Try this - put the vinnie-fedora line as part of the first 127.0.0.1 line like:

127.0.0.1 localhost.localdomain localhost vinnie-fedora

This may not help.

Part of the problem you may be seeing could be caused by a combination of things -

nsswitch.conf not including files before dns. (should be "hosts: files dns")

host.conf referring to dns before hosts (the order line should be: "order hosts,bind").

The reason the ordering is important is that when vinnie-fedora gets looked up during boot it may be waiting for the network to become active (a DNS lookup before files).

This can stall for a 10 minute network timeout due to systemd not behaving properly and starting the network immediately. There is another thread that had a way to require systemd to start the network but I've lost my reference to it.
Reply With Quote
  #9  
Old 11th August 2011, 06:49 PM
vinnyparker's Avatar
vinnyparker Offline
Registered User
 
Join Date: Aug 2011
Posts: 14
linuxfirefox
Re: My fedora 15 very slow to boot

Mine original hostos is the same yours, but I cant start glassfish just like that....
If I let my /etc/hosts like that, it starts fine. but, If I add a new line, it take so many times....


---------- Post added at 02:49 PM ---------- Previous post was at 02:45 PM ----------

I did the way of JPollard did to, and it works.....
I put 127.0.0.1 localhost.localdomain localhost vinny-fedora
thanx a lot guys
Edit/Delete Message
Reply With Quote
  #10  
Old 22nd August 2011, 12:40 PM
salemeni Offline
Registered User
 
Join Date: Aug 2011
Posts: 64
linuxchrome
Re: My fedora 15 very slow to boot

Can you check services that start at boot
Code:
#chkconfig --list
comparing objects

Last edited by salemeni; 6th December 2011 at 08:34 AM.
Reply With Quote
Reply

Tags
fedora15, kernel, slow boot, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Boot time fedora 12 jcrivera Using Fedora 6 25th June 2010 01:36 PM
extremely slow first boot of fedora 9 axelmangr Installation and Live Media 24 1st December 2008 08:18 AM
fedora 8 very slow boot Orang Using Fedora 4 2nd September 2008 04:37 PM
Fedora Slow Boot Article ve6hf Using Fedora 2 14th March 2008 12:43 AM
fedora core 3 slow boot !! linuxinfo Installation and Live Media 20 4th June 2005 05:27 PM


Current GMT-time: 07:54 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat