CentOS services not starting on reboot

I just installed a clean CentOS.  However, none of the services start before someone logs in locally.  How do i get the services to start up on reboot?
goochimoAsked:
Who is Participating?
 
fosiul01Commented:
you need to use chkconfig service name On command to On service automaticaly when server is up


suppose if you want to up httpd alway when server will restart

chkconfig httpd on

so it will On when service is ip

do this for other services
0
 
fosiul01Commented:
0
 
alagurjanTechnology LeadCommented:
Hi,

  You need to change the property of each services(which ever you need to start in reboot) to Automatic. May be now it will be in manual mode....
0
 
dzamfirCommented:
Use this command, and check the service you want automatically to start:

ntsysv
0
 
fosiul01Commented:
sorry just realized too much spelling mistake in my comments, Please forgive me..


just little bit add of chkconfig comand

if you want to see what Services is selected to running for runlevel

you can do

chkconfig --list

it will show you something like this

[root@sandbox ~]# chkconfig --list
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off

so that mean, httpd is configured to off on every runlevel

[root@sandbox ~]# chkconfig httpd on
[root@sandbox ~]# chkconfig --list | grep httpd
httpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off

so now it will start automaticaly on Runlevel 2,3,4 and 5


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.