PesoALL,

Ol! Eu tenho um servidor Suse Linux 10.1 que est rodando um servidor
Lotus Domino 7.02, esse servidor tinha um script dentro do rc.d que
fazia o startup automtico dele durante o boot.

Ocorre que um belo dia, ocorreu um pico de luz na empresa e esse
servidor desligou e no que ele voltou o script do servio no est
fazendo com que ele suba automaticamente. J tentamos de tudo e ele
somente sobe se rodarmos na mo o comando para execuo do servidor.

Tentei analisar os logs em /var/log/messages e nada informando sobre
problemas na execuo do script foi encontrado. Esse script estava
rodando no run-level 3 e run-level 5. Segue abaixo uma cpia do script
de execuo

#! /bin/sh
#
# A startup script for the Lotus Domino 6 server
#
# description: This script is used to start the domino server as a
background process.
#
# Usage /etc/init.d/domino start|stop

# 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=domino7

# DOM_PROG is the location of the Domino executables
DOM_PROG=/opt/ibm/lotus/bin

# START: This is executed when you launch the command /etc/init.d/domino start
start() {
echo -n "Starting domino: "

# When the Domino Controller runs, it creates a .jsc_lock file.
# If you've configured Domino to use the Domino Controller and the
Server crashes then the ".jsc_lock" file is not deleted.
# When the system reboots and starts Domino, it will fail because of
the existing .jsc_lock file.
# Here we want to ensure that we delete the file if it's there before
Domino starts
if [ -f $DOM_HOME/.jsc_lock ]; then
rm $DOM_HOME/.jsc_lock
fi
cd $DOM_HOME

# The script must be launched by root.
# Here we become the notes user and we launch the Domino Server with
the Domino Controller (-jc) enabled.
# To launch the Server without Domino Controller use the line:
# su $DOM_USER -c "$DOM_PROG/server > /dev/null 2>&1 &"
# Start Domino as a background process
su $DOM_USER -c "$DOM_PROG/server -jc -c > /dev/null 2>&1 &"
return 0

}

case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo "Usage: domino {start|stop}"
exit 1
esac

Ser que algum j passou por alguma problema desse tipo e poderia dar
uma dica de como tentar resolver?

Obrigado a todos

Abraos,

-- 
Rogrio Carrasqueira

---
e-mail: [EMAIL PROTECTED]
skype: rgcarrasqueira
MSN: [EMAIL PROTECTED]
ICQ: 50525616
Tel.: (21) 9623-4568


-- 
Rogério Carrasqueira

---
e-mail: [EMAIL PROTECTED]
skype: rgcarrasqueira
MSN: [EMAIL PROTECTED]
ICQ: 50525616
Tel.: (21) 9623-4568
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a