CentOS services not starting on reboot

Posted on 2009-02-10
Last Modified: 2012-05-06
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?
Question by:goochimo
    LVL 29

    Accepted Solution

    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
    LVL 29

    Expert Comment

    LVL 2

    Expert Comment


      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....
    LVL 6

    Expert Comment

    Use this command, and check the service you want automatically to start:

    LVL 29

    Expert Comment

    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


    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now