Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th February 2007, 09:56 PM
LinuxHippy Offline
Registered User
 
Join Date: May 2004
Location: Philadelphia, PA-USA
Age: 40
Posts: 869
services messed up...won't boot

I was tweaking my startup services and wound up messing up my FC6 box so that now it freezes when it boots and says it's trying to start the NFS daemon after it gets an RPC error. Can I boot from the FC6 install DVD and then edit the file that controls services? Which file?
__________________
Marty

My Site: 777.servemp3.com
Reply With Quote
  #2  
Old 17th February 2007, 10:02 PM
tgilber1 Offline
Registered User
 
Join Date: Nov 2006
Posts: 28
1. Boot to Fedora DVD install disc

2. Type at the lilo prompt

linux rescue

//this procedure will mount the linux root filesystem under the /sysimage directory

3. At the root prompt, change to the file you need to edit

cd /sysimage/etc/<filename>

You will find two etc directories; make sure that you change to correct directory, i.e. located under /sysimage directory
Reply With Quote
  #3  
Old 18th February 2007, 01:48 AM
LinuxHippy Offline
Registered User
 
Join Date: May 2004
Location: Philadelphia, PA-USA
Age: 40
Posts: 869
what's the filename I need to edit?
__________________
Marty

My Site: 777.servemp3.com
Reply With Quote
  #4  
Old 18th February 2007, 01:56 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
If you boot into linux rescue mode and mount your sysimage
then you can use
chconfig --list | grep on
and then use
chkconfig servicename off
command for the offending service
for example
chkconfig nfs off

Then reboot and hopefully all will be well

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 18th February 2007, 02:52 AM
LinuxHippy Offline
Registered User
 
Join Date: May 2004
Location: Philadelphia, PA-USA
Age: 40
Posts: 869
that command got me back into FC6...here's what I did once I had booted into the rescue mode with networking on:

chroot /mnt/sysimage
/sbin/chkconfig nfs off

Other options on chkconfig didn't work.
__________________
Marty

My Site: 777.servemp3.com
Reply With Quote
  #6  
Old 18th February 2007, 11:41 AM
tgilber1 Offline
Registered User
 
Join Date: Nov 2006
Posts: 28
Sorry for giving incorrect information. I should have verified before posting information. Additionally, I did not give you the process to shut off services because I inferred that you wanted to edit a config file. In any event, corrections to my post are below.

1. Boot to Fedora DVD install disc

2. Type at the lilo prompt

linux rescue

//this procedure will mount the linux root filesystem under the /sysimage directory

3. At the root prompt, change to the file you need to edit

cd /mnt/sysimage/etc/<filename>

You will find two etc directories; make sure that you change to correct directory, i.e. located under /mnt/sysimage directory

Lastly, Seve provided you the correct details to specifically shut off any service that is hanging a system. The reason all the commands did not work was he had a typo.

chconfig --list | grep on //typo

should have been

chkconfig --list | grep on //chkconfig --list prints all the services into the grep command via a pipe | the grep command filters for only services that are on

/sbin/chkconfig nfs off //shuts the nfs service off by removing the service from the /etc/rc5.d - actually it removes any soft links from the /etc/rc5.d directory to the /etc/init.d

Hope this help!
Reply With Quote
Reply

Tags
boot, messed, services, upwont

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
SE Linux in FC11 messed up boot for other OSs LinuxHippy Using Fedora 6 4th August 2009 01:34 AM
[F9 alpha] Messed up screen after first boot RudiGloder Using Fedora 2 7th March 2008 02:24 PM
Messed up dual boot. Need bootloader help. kilroy13 Using Fedora 6 2nd July 2006 08:10 PM
Screen messed up only on boot time dryicerx Hardware & Laptops 2 16th September 2005 07:02 AM
Messed Up Dual Boot.. eudoxia Installation and Live Media 2 12th June 2004 05:00 PM


Current GMT-time: 15:32 (Tuesday, 21-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