After you install the Novell® ZENworks® 7 Desktop Management Server on a SUSE® Linux Enterprise Server (SLES) 9 Support Pack 1, SLES 10 server (ZENworks 7 Desktop Management with SP1 only), or Novell Open Enterprise Server (OES Linux) 1.0, several system services should be enabled and running.
You can determine installed Novell services by entering the following command at the bash prompt:
The command returns a list of the system services something like this:
/etc/init.d/novell-tftp /etc/init.d/novell-zdm-inv /etc/init.d/novell-idsd
/etc/init.d/novell-tomcat4 /etc/init.d/novell-zdm-sybase /etc/init.d/novell-ipsmd
/etc/init.d/novell-xregd /etc/init.d/novell-zdm-wol /etc/init.d/novell-proxydhcp
/etc/init.d/novell-xsrvd /etc/init.d/novell-zfs /etc/init.d/novell-smdrd
Linux operating systems utilize runlevels to determine the services that should be running and to allow specific work to be done on the system. For example, runlevel 1 is designated single-user mode without networking and is used for critical system maintenance and troubleshooting. Runlevel 3 is multi-user text mode. Runlevel 5 is multi-user graphical mode.
You can configure different runlevels to run a specific set of services. Each runlevel is configured to start its specified services when starting and to shut down its services when switching to a different runlevel.
NOTE:We recommend that you configure ZENworks Desktop Management services (daemons) to start at runlevels 3 and 5.
To configure any service to automatically start when you boot the server, run the following command:
# chkconfig service_name on
To make sure that a service does not start when you boot the server, run the following command:
# chkconfig service_name off
To Check if a service is on in the current runlevel, run the following command:
# chkconfig service_name
To check a service’s configuration for every runlevel, run the following command:
# chkconfig -l service_name
To turn on a service in runlevels three and five, run the following command:
# chkconfig service_name 35
The following example demonstrates the commands for turning off the novell-proxydhcp service and then determining its configuration for all runlevels:
chkconfig novell-proxydhcp off chkconfig -l novell-proxydhcp novell-proxydhcp 0:off 1:off 2:off 3:off 4:off 5:off 6:off
The next example demonstrates the commands for turning on the novell-proxydhcp service and then determining its configuration for all runlevels:
chkconfig novell-proxydhcp on chkconfig -l novell-proxydhcp novell-proxydhcp 0:off 1:off 2:off 3:on 4:off 5:on 6:off
YaST offers a robust and easy to use runlevel service configuration tool. Access the tool at YaST > System > Runlevel Editor. Within the tool, turn services on or off by selecting the service and then selecting the Enable/Disable buttons.
Selecting expert mode lets you configure the state of a service in each runlevel.
For example, to use the YaST runlevel editor to configure the novell-proxydhcp service to start in runlevels three and five only, use the following steps:
Select YaST > System > Runlevel Editor.
Select the Expert Mode radio button.
In the services list, select novell-proxydhcp.
Use the check boxes to select runlevel 3 and runlevel 5. Deselect all other runlevels.
Save changes and exit.
NOTE:Some information in this section was borrowed from a Novell CoolSolutions article, “Runlevels in SUSE Linux,” by Aaron Gresko.