L.0 Configuring Desktop Management Services for Startup on a Linux Server

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:

ls /etc/init.d/novell*

The command returns a list of the system services something like this:

/etc/init.d/novell-httpstkd
/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
/etc/init.d/novell-zdm-awsi 
/etc/init.d/novell-zmgprebootpolicy

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.

chkconfig Commands

chkconfig Examples

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 Runlevel Editor

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:

  1. Select YaST > System > Runlevel Editor.

  2. Select the Expert Mode radio button.

  3. In the services list, select novell-proxydhcp.

  4. Use the check boxes to select runlevel 3 and runlevel 5. Deselect all other runlevels.

  5. Save changes and exit.

NOTE:Some information in this section was borrowed from a Novell CoolSolutions article, “Runlevels in SUSE Linux,” by Aaron Gresko.