Linux newbie here…
Successfully installed an additional domino 9.0.1 server on CentOS 6.6. Setup was run on a remote Windows client. Completed without any issues.
when I execute “./domino start” (script below) it seems nothing happens. No errors. When I execute “./domino stop”, message indicates server was shut down correctly “Stopping domino: [17720:00002-2312902432] Server shutdown complete”. That’s the only line that appears in the console log. Top does not indicate any domino programs nor does it indicate any programs running with notes user. Trace from Windows admin client cannot find the server. The ulimit line only works if the script is run as root.
Where should I go from here?
/etc/init.d/domino
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=notes
DOM_PROG is the location of the Domino executables
DOM_PROG=/opt/ibm/domino/bin
start() {
echo -n "Starting domino: "
ulimit -n 60000
if [ -f $DOM_HOME/.jsc_lock ]; then
echo -n "removing .jsc_lock file: "
rm $DOM_HOME/.jsc_lock
fi
su - $DOM_USER -c “LD_PRELOAD=$DOM_HOME/lib/libpthread.so.0:$DOM_HOME/lib/librt.so.1;export LD_PRELOAD;$DOM_PROG/server -jc -c” > /dev/null 2>&1 &
echo -n "switching to $DOM_USER and running server -jc -c in the background: "
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