Cannot Start after Successful Installation

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

Subject: Have you checked the Domino console log?

I think this is due to the script you are using to start Domino. The /dev/null option stops Domino from logging to the Linux console (shell - What is /dev/null 2>&1? - Stack Overflow) http://stackoverflow.com/questions/10508843/what-is-dev-null-21. If you want to check if Domino is actually running you can look at the /local/notesdata/IBM_TECHINCAL_SUPPORT/console.log or use the admin client.

Subject: Just received the nashcom.de scripts

Hi D porter, I will try different scripts. Console log, as indicated in the first post, only has one line in it. The admin client trace cannot find the server. TCPIP is fine.

I tried starting with su - notes -c “/opt/ibm/domino/bin/server” and it starts, but in my putty window.

Subject: Another thought…

If this is a fresh install then Domino could be waiting for the initial configuration before it starts up. To kick it off you can start the server with server -listen then use the Remote Server Setup utility to do all the config (as long as you have installed it on your PC).

IBM Documentation http://www-01.ibm.com/support/knowledgecenter/#!/SSKTMJ_8.5.3/com.ibm.help.domino.admin85.doc/H_RUNNING_THE_DOMNO_SERVER_SETUP_PROGRAM_FROM_A_REMOTE_CLIENT_STEPS.html