About Linux FAQ

Browse More FAQs:

Make /etc/inittab changes effective without rebooting Linux server

Posted by Vivek Gite [Last updated: June 11, 2007]

Q. I run a Linux webserver and down time is not an option for me. Now I I made some changes to my /etc/inittab file. How do I make those changes effective without rebooting my Debian Linux server?

A. The inittab file describes which processes are started at bootup and during normal operation (e.g. /etc/init.d/boot, /etc/init.d/rc, gettys...). Init distinguishes multiple runlevels, each of which can have its own set of processes that are started. Valid runlevels are 0-6 plus A, B, and C for ondemand entries.

telinit or init q option

You need to use /sbin/telinit command. It takes a one-character argument and signals init to perform the appropriate action. Q or q tell init to re-examine the /etc/inittab file.

To make changes to the /etc/inittab effective without a reboot, use init or telinit as follows:
# init q
OR
# telinit q

E-mail this to a friend      Printable version

Related Other Helpful FAQs:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.