Sun Java System Messaging Server 6 2005Q4 Administration Guide

Enabling Startup After a Reboot

You can enable Messaging Server startup after system reboots by using the bootup script: msg_svr_base/lib/Sun_MsgSvr. That is, by default, Messaging Server will not restart after a system reboot unless you run this script. In addition, this script can also start up your MMP, if enabled.

ProcedureTo Enable Messaging Server After a Reboot

Steps
  1. Copy the Sun_MsgSvr script into the /etc/init.d directory.

  2. Change the following ownerships and access modes of the Sun_MsgSvr script:

    Ownership (chown(1M)) 

    Group Ownership (chgrp(1M)) 

    Access Mode (chmod(1M))  

    root (superuser)

    sys

    0744 

  3. Go to the /etc/rc2.d directory and create the following link:


    ln /etc/init.d/Sun_MsgSvr S92Sun_MsgSvr
    
  4. Go to the /etc/rc0.d directory and create the following link:


    ln /etc/init.d/Sun_MsgSvr K08Sun_MsgSvr