Sun Java Communications Suite 5 Installation Guide

Starting and Stopping Messaging Server

The Messaging Server start-msg utility starts all of the Messaging Server processes, or optionally, one specified service. The services started can be controlled by enabling or disabling the configuration parameters. Messaging Server depends on Directory Server.

ProcedureTo Start Messaging Server

  1. Change to the MessagingServer-base/sbin directory.

  2. Enter the following command to start the Messaging Server:


    ./start-msg
  3. Verify that the Messaging Server processes are running. For example:

    Notice that the list of processes varies according to the Messaging Server features you have configured to use.


    /usr/bin/ps -ef | grep SUNWmsgsr

    /opt/SUNWmsgsr/lib/enpd
    /opt/SUNWmsgsr/lib/stored -d
    /opt/SUNWmsgsr/lib/popd -d 5
    /opt/SUNWmsgsr/lib/imapd -d 5 -D 6
    /opt/SUNWmsgsr/lib/mshttpd -d 5 -D 6
    /opt/SUNWmsgsr/lib/dispatcher
    /opt/SUNWmsgsr/lib/job_controller
    /opt/SUNWmsgsr/lib/tcp_lmtp_server
    /opt/SUNWmsgsr/lib/tcp_smtp_server
    /opt/SUNWmsgsr/lib/tcp_smtp_server
    /opt/SUNWmsgsr/lib/imsched
    /opt/SUNWmsgsr/lib/watcher

ProcedureTo Stop Messaging Server

  1. Change to the MessagingServer-base/sbin directory.

  2. Enter the following command to stop the Messaging Server:


    ./stop-msg
  3. Verify that the Messaging Server processes are not running. For example, on Solaris OS:


    /usr/bin/ps -ef | grep SUNWmsgsr

    Some Messaging Server processes might take several minutes to stop because they wait for their current transactions to complete.