Solved

service

Posted on 2011-09-23
2
204 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 37

Accepted Solution

by:
Gerwin Jansen 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle 12c RAC - naming conventions, standards & best practices 4 163
unix scripting question 1 89
UNiX Script filesystem space usage Part2 54 78
Access_log 17 100
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…

910 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

20 Experts available now in Live!

Get 1:1 Help Now