1. Introduction |
return |
1.1 Run Level |
return |
Runlevel | Definitions |
0 | Halt System. (DO NOT make it the default runlevel) |
1 | Single-user Mode, used for special system admin tasks, like get back missing root passwd, file system checking. |
2 | Multi-user Mode, NFS not supported. |
3 | Full Multi-user Mode. |
4 | Reserved. |
5 | Multi-user Mode. Graphical Login Interface. |
6 | Reboot System. (DO NOT make it the default runlevel) |
Modify /etc/initab to change the default runlevel. Below is an
example, which change the current runlevel to 5 (to have graphical
login interface):
change
id:3:initdefault:
to:
id:5:initdefault:
One interesting way to shutdown system is to switch the runlevel to 0 (system halt), like:
# init 0
1.2 Run Sequence |
return |
Every service has its default start sequence and stop sequence. All services that are required should have a smaller start sequence number, which means they should be started earlier. All services that are required should have a larger stop sequence number, which means they should be stopped later.
2. How To Start |
Return |
Main window lists all the system services, showing following
properties:
Description | Short description of this service. |
Status | Running status including "Stopped" and "Running" |
Start Type |
Start type including "Auto" and "Manual", "Auto" means this service will be started automatically when enter this runlevel, "Manual" means otherwise, user has to start the service manually. |
Start Sequence
|
The start sequence number of the service within the selected runlevel. |
The start type and start sequence is related to the selected runlevel, the default selected runlevel is the current runlevel, you can use the "Runlevel" menu to select different runlevel.
Follow operations can be applied to each service:
Start | Start the service |
Stop | Stop the service |
Restart | Restart the service |
Refresh | Refresh all service information |
Properties | Popup properties dialog |
Help | Online help |
All those operations can be accessed from either menu or toolbar.
3. Start, stop and Restart Service |
Return |
Result | Succeed or Failed |
Command | The executed command |
Output |
Command execution outputs. |
After the service is started successfully, the status will be changed to "Running"; after the service is stopped sucessfully, the status will be changed to "Stopped".
When do restart operation, the service will be stopped firstly, then started. If the operation is successful, the status will be changed to "Running".
Note: Most services require privileged permission (root) to run. If normal user tries to start/stop service, usually error message will be popped up saying something like "Permission Denied".
4. Service Properties |
Return |
4.1 General Properties |
Return |
Following operations can be applied:
Select "Auto" or "Manual" from the Start type dropdown menu, then click "Apply" or "OK".
Click the "Start" button the start the service; click the "Stop" button to stop the service. More details can be found in Start, Stop and Restart Services
4.2 Run Level
|
Return |
Click "Apply" or "OK" to commit the changes.
4.3 Start Script |
Return |
Comand Line Arguments |
Description |
start | Start the service |
stop | Stop the service |
restart | Restart the service |
status | Show the service status |
When start/stop a service, this start script is executed with certain arguments listed above, for example, run "/etc/init.d/httpd start" to start the Apache Web service, run "/etc/init.d/httpd stop" to stop the Apache Web service.
The contents of the script are displayed in the start script tab.
Return |
Copyright © 2002-2003 Red
Flag Software Co., Ltd. |
rfsysv 1.0
|