Linux services run in script mode. Of course, Fedora is no exception. The scripts of these services are stored in the/etc/rc. d/init. d directory. You can modify the service scripts to control the running details. Fedira and RedHat provide a chkconfig tool to control the running of services more easily. Usage: chkconfig -- list [name] chkconfig -- addchkconfig -- d
Linux services run in script mode. Of course, Fedora is no exception. The scripts of these services are stored in the/etc/rc. d/init. d directory. You can modify the service scripts to control the running details.
Fedira and RedHat provide a chkconfig tool to control the running of services more easily.
Usage:
Chkconfig -- list [name]
Chkconfig -- add
Chkconfig -- del
Chkconfig -- override
Chkconfig [-- level]
For example, to view the list of all services:
# Chkconfig -- list
View only the running level of one service (smb:
# Chkconfig -- list smb
Smb 0: Close 1: Close 2: Close 3: Close 4: Close 5: Close 6: Close
The above section clearly shows that the smb server is disabled at all running levels. We can use the following command to open it. For example, to enable smb to run automatically in both 3 (character) and 5 (graphic) modes:
# Chkconfig -- level 35 smb on
# Chkconfig -- list smb
Smb 0: Disable 1: Disable 2: Disable 3: Enable 4: Disable 5: Enable 6: Disable
Is it enabled?
How can this problem be solved? Try changing on to off.