Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using CentOS 5.7, none of the default services are starting on boot. What would cause this?

share|improve this question

2 Answers 2

Did they start before? Or, are they new applications that you've added since the initial install.

Were there any recent changes that you've made that may have caused the problem?

If they're new applications, you need to configure them with chkconfig to determine the runlevels (when they start). You can use the defaults as such:

chkconfig servicename add

So, for Apache:

chkconfig httpd add

If there is an issue on startup that is preventing the services from starting, check your syslog. You can do this via this command:

vi /var/log/messages

This displays any error messages that happen during startup. You might want to edit your initial question to add some additional details. Post the recent entries to the syslog that occurred after the last boot.

share|improve this answer

Use the /usr/sbin/ntsysv command to check/uncheck services that you wish to startup with the system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.