go to runlevel 3???
i am now in runlevel 5... how can i go to runlevel 3? and init 5?
what is the commands? thanks.... |
To change to run level 3 type
init 3 at the command line. su if you have to. You want to be careful setting the default runlevels so I suggest reading up on some info. Here is a good link to locating the Red Hat directions on Runlevels. Here. |
You can use either "init" or "telinit".
For example: $ init 3 $ telinit 5 |
Re: go to runlevel 3???
Quote:
if you want to run in run level 3, go to /etc and edit your inittab, search the "init:5:default" and change it to "init:3:default" reboot your linux |
i am now in runlevel 5... now, i wan to restart all of the services in runlevel 5... i am thinking of going to runlevel 3 and then, init 5... can i do this?
|
Yes you could do that.
But what do you want to do this for? Is your X server playing up? If you need to restart the X Window session just press CTRL + ALT + Backspace. |
yes, my x-windows is playing up? curious...just asking... terminating the windows session, does it restarting all the services run on runlevel 5?? i really doubt for it.... pls revert... thanks
|
If this is what is causing your problem, you can restart the X Session and restart it by using the key combination mentioned earlier.
No it does not restart all of the services on runlevel 5. |
my intension is to restart all the services by prompting some commands... i am so sick to rebooting the machine... as what windows does...show me some ways to do this...
|
A great command to use for restarting a service is exactly that.
If you know the service that you wish to restart, for example smb then issue the command service smb restart if you wish to see the list of commands with service for a given service then type service smb service scripts are located in /etc/rc.d/init.d and you can run the commands from there to start, stop, restart .. etc. |
All times are GMT -5. The time now is 05:05 PM. |