inittab problem

Support and queries relating to all previous versions of ZoneMinder
Locked
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

inittab problem

Post 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.
yod9999
Posts: 25
Joined: Fri Jul 14, 2006 8:56 am

Post 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
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

Thanks alot mate.
Locked