Solved

service

Posted on 2011-09-23
2
208 Views
Last Modified: 2012-05-12
On a Red Hat Linux Variant how may we control whether a service starts when the system boots
0
Comment
Question by:nobleit
2 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36589458
If there are valid rc links and an init script with at least start and stop options, then use chkconfig

chkconfig --list servicename
chkconfig servicename on
chkconfig servicename off

Open in new window

0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 36589491
You can use chkconfig or serviceconf (GUI).

To turn on MySQL service on boot:

chkconfig mysqld on

Or show all configured services":

chkconfig --list
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
what is a good general partitioning scheme for RHEL? 23 134
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 103
Linux hostname change 2 83
SCP a file to multiple machines using a script 4 67
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

861 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