LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-19-2008, 07:26 AM   #1
nirmit
Member
 
Registered: Feb 2008
Posts: 73

Rep: Reputation: 15
immediate change in inittab


hi,

i have changed runlevel in inittab and i can't reboot my server.so what should i do to see that change in effect without rebooting the server.
i am using RHEL 4.0.
 
Old 07-19-2008, 07:35 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
What do you mean that you can't re-boot the server?

inittab is used to configure the computer when it is booted, but you can also issue the "init" command which is similar to re-booting. For example, to change the runlevel to 5, do "init 5"
 
Old 07-19-2008, 08:22 AM   #3
nirmit
Member
 
Registered: Feb 2008
Posts: 73

Original Poster
Rep: Reputation: 15
i mean to say that the server in which i want to change is live. so rebooting a live server is not possible for me as it will cause revenue loss.
 
Old 07-19-2008, 09:00 AM   #4
/dev/me
Member
 
Registered: May 2008
Distribution: Slackware 13
Posts: 116

Rep: Reputation: 20
OK, that is clear. No reboot. But what did you change then??
 
Old 07-19-2008, 07:41 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by nirmit View Post
i mean to say that the server in which i want to change is live. so rebooting a live server is not possible for me as it will cause revenue loss.
If this server is running in a production environment, you should not be messing around with it too much. I suppose you can use the init command in your own private account to change the runlevel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
since we have no /etc/inittab scrupul0us Ubuntu 19 12-09-2010 04:54 PM
About /etc/inittab zaxonus Linux - General 3 06-04-2007 06:01 AM
rc[0-6] and inittab kpachopoulos Linux - General 1 08-12-2005 04:27 PM
inittab mikedeatworld Linux - Software 3 08-13-2004 10:01 AM
Cant get out of inittab InEeDhElPlInUx Linux - Newbie 3 10-09-2003 02:13 PM


All times are GMT -5. The time now is 04:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration