Operating System - Linux
1829662 Members
10074 Online
109992 Solutions
New Discussion

init 2 does not work on redhat es4

 
Tammy Liang
Regular Advisor

init 2 does not work on redhat es4

After run "init 2" on redhat ES4, nothing happen. It does not run any script in /etc/rc2.d directory.
Thanks for any replay and help...

Tammy
take easy, enjoy life
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: init 2 does not work on redhat es4

It should work, init 2 will only stop a few services, maybe you are not seeing what is done.

What is the output of:

ls /etc/rc2.d?

You may try booting directly in the runlevel 2 by adding "2" to the kernel options, you will see that is working.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tammy Liang
Regular Advisor

Re: init 2 does not work on redhat es4

yes, /etc/rc2.d is there. Nothing shows on the command line after run "init 2".
I checked the /var/log/messages file, and do not see any services defined in /etc/rc2.d/K* got run. This is RedHat ES4. I can run "init 2" on hpux w/o issue.
take easy, enjoy life
Tammy Liang
Regular Advisor

Re: init 2 does not work on redhat es4

It's fixed, after reboot the system.
Tks.
take easy, enjoy life