Lotus Domino Console fails

Hi,

We are running Domino 6.5 on Solaris 8. We connect to the Solaris using Putty utility on port 22(ssh). We start the Domino (Server Controller) by issuing the following command

/opt/lotus/bin/server -jc -c -s &

Then by Using the Domino Console we start the server.

The Domino Server works fine as well as the controller.

But as soon as we close/disconnect the putty session the Server Controller stops and we are not able to connect to the server using Domino Console.

Can Anybody help us on this?

Txs in Advance

Atul Anchan.

Subject: Lotus Domino Console fails

Under unix, if you disconnect your session, all child processes of the session will receive the hang up signal (SIGHUP) and will normally terminate.You have to start the programm so, that it will ignore the SIGHUP signal.

Unfortunately, I don’t have Solaris knowledge, so I can’t say how to do this on Solaris.

Andreas Hoster

andreas.hoster@herma.de

Subject: Lotus Domino Console fails

Hi,

you should use the nohup (nohup …/bin/server xxx &).

Alternative make a start script for Domino - think you will find one in a redbook if you dont wanna write it yourself.

//Kjeld

Subject: Lotus Domino Console fails

Please add the “ShowControllerStatusWindow=0” line to notes.ini and start the controller as you were starting “/opt/lotus/bin/server -jc -s -c&”. Now you should be able to exit the putty window with out exiting the Controller process. In this case the output from the controller goes to “.out” file whose name is based on the log file name set.By default, ShowControllerStatusWindow is set to 1 which is equivalent to not having that parameter in notes.ini.

Mallareddy

Subject: Lotus Domino Console fails

Not sure if this will help, but i use this on Linux and used webmin to administer the server.

I have pasted the script below:

#!/bin/sh

chkconfig: 2345 99 00

Startup script for Domino R5

description: This script starts the Domino server in a screen session \

And ensures a proper shutdown before the system goes down.

Author: Oystein Baarnes dominolinux@baarnes.com

DESC=“Domino”

SrvAcc=“notes”

DominoDir=“/local/notesdata”

DominoSrv=“/opt/lotus/bin/server”

TimeOutKill=300

TasksToKill=“server replica router update stats logasio adminp sched calconn event pop3 imap maps ldap http smtp mtc amgr”

tok=0

#. /etc/init.d/rc2.d/functions

#. /etc/sysconfig/network/scripts/functions

getpid() {

pid=`/sbin/pidof -s server`

}

getpid

case “$1” in

start)

if [ "$pid" = "" ]; then

  echo -n "Starting $DESC: "

  su - $SrvAcc -c "cd $DominoDir && screen -m -d -S Domino $DominoSrv"

  sleep 3

  getpid

  if [ "$pid" != "" ]; then

    success

    touch /var/lock/subsys/domino

  else

    failure

  fi

  echo

fi

;;

stop)

TimeOutKill=$[TimeOutKill/2]

echo -n "Shutting down $DESC: "

if [ "$pid" != "" ]; then

  cd $DominoDir

  /opt/lotus/notes/latest/linux/server -quit > /dev/null &



  # Let's wait for the Domino to terminate



  while [ "$pid" != "" ] && [ "$tok" != "$TimeOutKill" ] ; do

    tok=$[tok+1]

    sleep 2

    getpid

  done



  if  [ "$tok" != "$TimeOutKill" ] ; then

    success

  else

    failure

    $0 kill

  fi

else

  failure

fi

echo

;;

kill)

echo -n "Killing $DESC: "



kill -9 `/sbin/pidof -s $TasksToKill` > /dev/null 

sleep 1

kill -9 `/sbin/pidof -s $TasksToKill` > /dev/null 

sleep 1



tmp=`/sbin/pidof -s $TasksToKill`



if [ "$tmp" = "" ]; then

  success

  rm -f /var/lock/subsys/domino

else

  failure

fi

echo

;;

status)

  status server

;;

restart)

  if [ "$pid" != "" ]; then

$0 stop

  fi

$0 start

;;

*)

  echo

  echo "Usage: domino {start|stop|kill|restart|status}"

  echo

  exit 1

;;

esac

Subject: RE: Lotus Domino Console fails

Hi Rod,

I am not 100% sure but I think you should add a nsd -kill in your “kill” switch. Currently you are only killing the processes but Domino may leave a lot of garbage on the system if it crashes. A nsd -kill will wipe out old allocated memory, semaphores which is often left on the system after a crash. If not done this may cause the system to be even more unstable.

//Kjeld

Subject: RE: Lotus Domino Console fails

I’m using gnu-screen to have a running server session and are able to connect/disconnect without problems. Recommended.