Page 1 of 1

inittab problem

Posted: Sun Sep 24, 2006 8:09 am
by ynn
Hi,

i have problem with inittab configuration, i am running centos4.3 smp, and because the Xwindows give me lots of problem, i want to have my system NOT to load kde xwindows directly, so i changed the 5 to id:3:initdefault, but now the problem is that the box does not start httpd, mysql and other stuffs.
does anyone know to to bypass the kde xwindow and goes only to console with all httpd,mysql and etc, in running status?

thanks.

Posted: Sun Sep 24, 2006 8:19 am
by yod9999
hi

you should be able to do (as root)

# /sbin/chkconfig --levels 35 mysqld on
# /sbin/chkconfig --levels 35 httpd on
# /sbin/chkconfig --levels 35 zm on

this works on fedora anyway. to check what levels a process will run at do:

/sbin/chkconfig --list | grep zm

hope this helps

neil

Posted: Mon Sep 25, 2006 2:23 am
by ynn
Thanks alot mate.