Red Hat startup scripts

Hello everyone.

Has anyone been able to get to the Red Hat startup scripts, both the ‘startserver’ script as well as the ‘domino’ script to work correctly?

I’ve put both on my server, edited to my likes and tried to start the server, but they are not working…

Is there a trick that i’m forgetting?

I’m running Domino 6.5.1 on Red Hat ES 2.1.

I appreciate the help.

Jason

Subject: Red Hat startup scripts

We installed 6.5.1 on Red Hat 8. I know - it’s not officially supported. But it works fine. No additional patches or whatever needed. (I tried RH 9.0 too, but couldn’t get it work).

For the “domino”-script this one works fine for me. The XXXX have to be replaced with your username (and maybe the local directory is different). Never used the “startserver”-script as I usually reboot Domino with the Java-Console.

Hope this helps

Harald

#!/bin/sh

A startup script for the Lotus Domino 6 server

chkconfig: 345 95 5

description: This script is used to start the domino \

server as a background process.\

Usage /etc/init.d/domino start|stop

This script assumes that you are using the performance tweaks

detailed in the Domino 6 for Linux redbook and that these tweaks

are stored in a directory called lib in the Domino Data directory.

If you are not using these tweaks, you should replace the line starting with

su - $DOM_USER -c "LD_PRELOAD…

with the following line

su - $DOM_USER -c “$DOM_PROG/server -jc -c” > /dev/null 2>&1 &

You should change the 3 following variables to reflect your environment.

DOM_HOME is the variable that tells the script where the Domino Data resides

DOM_HOME=/local/notesdata

DOM_USER is the Linux account used to run the Domino 6 server

DOM_USER=XXXXXX

DOM_PROG is the location of the Domino executables

DOM_PROG=/opt/lotus/bin

start() {

    echo -n "Starting domino: "

    if [ -f $DOM_HOME/.jsc_lock ]; then

            rm $DOM_HOME/.jsc_lock

    fi

    su - $DOM_USER -c "$DOM_PROG/server -jc -c" > /dev/null 2>&1 &

    return 0

}

stop() {

    echo -n "Stopping domino: "

    su - $DOM_USER -c "$DOM_PROG/server -q"

    return 0

}

case “$1” in

start)

    start

    ;;

stop)

    stop

    ;;

*)

    echo "Usage: domino {start|stop}"

    exit 1

esac

Subject: Red Hat startup scripts

hope this redbook can help you.

http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246835.html?Open

Subject: Red Hat startup scripts

hello jason,

I do hv the same version of domino server installed in redhat ent 2.1. I just need to check with you whether do u have the smiliar problem i having now? When my domino started up with http, my memory keep increasing till i have to restart domino again.

If no, I would like to know more in detail on your system setup. Would apprcaite if you reply me thru this email add choon_wei_goh@pan-abrasives.com

Once again, thanks you.