Sun Java System Messaging Server 6.3 Administration Reference

stop-msg

The stop-msg utility stops all Messaging Server processes (smtp, imap, pop, store, http, ens, sched), or optionally, one specified service. To use stop-msg component, the component must be enabled. The stop-msg command without arguments shuts down everything started by start-msg, including disabled components.

Location: msg-svr-base/sbin

Syntax


stop-msg [ -h | ha | [-f] service]            

Options

The options for this command are:

Option 

Description 

-f

Force stop using SIGKILL.

-h

Shows the usage statement: 


Usage: ./stop-msg [OPTIONS] [COMPONENTS...]
         Stop all or some Messaging Server components.
Usage: ./stop-msg ha
         Stop all Messaging Server components in HA mode. 

ha

Stops all Messaging Server components in HA mode.

service

The accepted values for service are:


         watcher
         mfagent
         ens
         metermaid
         store
         imap
         pop
         cert
         http
         sched
         dispatcher
         job_controller
         snmp
         sms
         mmp
         mta

If no components are specified, all enabled services will be stopped. 

Examples

The following command stops all Messaging Server processes:


stop-msg            

The following command stops the http service:


stop-msg http