Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to Restart Voyager Processes Daily

    • Article Type: General
    • Product: Voyager
    • Product Version: 8

    Desired Outcome Goal:
    To restart all Voyager-related processes daily

    Procedure:
    1. As the root user, change directories to /m1/utility
    2. Using Vi Editor, copy & paste the following into a script called daily_restart.sh

    #!/bin/sh
    ### 2014-08-01 Linux Daily Process Restart Script ###

    logger -p daemon.notice ELG - daily restart script started

    /etc/init.d/httpd2 stop
    sleep 15

    /etc/init.d/voyager stop
    sleep 45

    /etc/init.d/dbora stop
    sleep 60

    /etc/init.d/dbora start
    sleep 45

    /etc/init.d/httpd2 start
    sleep 15

    /etc/init.d/voyager start
    sleep 45

    echo
    date
    logger -p daemon.notice ELG - daily restart script completed

    3. Change the script's owner & group to root:root
    4. Change the script's permissions to 744 (-rwxr--r--)
    5. Place an entry in the root crontab to run the script at the desired time.

    [root@us-suplv811 utility]# crontab -e

    ## Daily Process Restart Script ##
    30 4 * * * /m1/utility/daily_restart.sh

    Additional Information

    This script should be used if the ExLibris daily backup script is not used. All Voyager-related processes (Oracle, Voyager, Apache) should be restarted on a daily basis.

    Category: Server issues - Voyager

    Subject: Voyager


    • Article last edited: 8/1/2014