Change run level

Latest response

Good day!

  • If a RHEL server at run level 5 is switched run level 3, will that interrupt already running applications, like MySQL for example?

We have a RHEL 5.9 server which is running in init 5.
The gdm-binary command is taking up 50% of the CPU.

Not sure why this was ever started at run-level 5, but I have already updated /etc/inittab so it boots to 3 in the future.

My concern now is if I 'init 3' the server to stop Gnome, will the MySql instance hiccup?

Thoughts and Thanks!

Responses

Brian,

If you look at /etc/rc3.d you will see all processes that will be killed when switching to that run level, they are prefixed with 'K', 'S' will be started if it isn't already.

This is on RHEL 6.

ls /etc/rc3.d/*mysql*
/etc/rc3.d/S64mysqld

I just switched to 3 from 5 on a RHEL 6 box and MySQL wasn't affected.

Great call, should have thought of that. Sorry. And thanks!

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.