APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS









Linux Skills Test

© 2004 A.P. Lawrence

Answer


The script lacks a 'chkconfig' comment line

To be managed by chkconfig, a script has to have comment lines that chkconfig can read. Here's a sample from xinetd:

# chkconfig: 345 56 50
# description: xinetd is a powerful replacement for inetd. \
#              xinetd has access control mechanisms, extensive \
#              logging capabilities, the ability to make services \
#              available based on time, and can place \
#              limits on the number of servers that can be started, \
#              among other things.

That says that xinetd starts at levels 3,4 and 5, that its start script will be named S56xinted, and that its stop script will be K50xinetd.

These comments are NOT changed if you use chkconfig to change when a service runs; they are merely the initial condition.

Comments /Tests/Linux/e0860.html


Add your comments


Next question
Return to Question q0860
My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

Related Articles

Have you tried Searching this site?

Please read this disclaimer

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.