Restarting Linux services boot time

Problem

Every time you reboot your Linux Box – web server, samba server, etc is down.



Solution

Use chkconfig. See the example tab and then reference tab for man page.



Example


Show all services


chkconfig --list

List just httpd


chkconfig --list httpd

Change restart settings so web server starts at run level 5.
(do a runlevel to see normal level – most likely 5).


chkconfig --levels 5 httpd on



Reference

[tags]chkconfig, Linux reboot, Linux services, Linux restarts, Unix Coding School[/tags]



Comment (1)

  1. […] UNIX Coding School ยป Restarting Linux services boot time chkconfig, Linux reboot, Linux services, Linux restarts, Unix Coding School (tags: chkconfig Linux reboot services restarts Unix Coding School) […]

Leave a Reply

Your email address will not be published. Required fields are marked *