Sun Java System Calendar Server 6.3 Administration Guide

ProcedureTo Configure Start and Stop Services

The start-cal and stop-cal commands are wrapper scripts that allow ease of starting and stopping Calendar Server. The utility is defined in Appendix D, Calendar Server Command-Line Utilities Reference.

  1. Log in as an administrator with permission to change the configuration.

  2. Stop Calendar Server services by issuing the stop-cal command.

  3. Change to the /etc/opt/SUNWics5/cal/config directory.

  4. Save your old ics.conf file by copying and renaming it.

  5. Edit one or more of the parameters as shown in the following table:

    Parameter  

    Description and Default Value  

    local.serveruid

    Runtime user identifier (uid). The default is "icsuser". This is the user identifier to use when super-user privileges are not needed.

    local.servergid

    Runtime group identifier (gid). The default is "icsgroup". This is the group identifier to use when super-user privileges are not needed.

    local.autorestart

    If this parameter is set to "yes", if a service that is connected to the watcher dies without properly disconnecting, it is automatically restarted.

    local.autorestart.timeout

    Defines the auto-restart timeout interval. To avoid infinite restart attempts on auto-start, if a service dies twice in a specific interval, it will not be restarted. The default setting is 10 minutes. 

  6. Save the file as ics.conf.

  7. Restart Calendar Server.

    cal-svr-base/SUNWics5/cal/sbin/start-cal