Je souhaiterais effectuer un backup de mon serveur domino via un script de sauvegarde exécuté dans un crontab.
Lorsque j’arrete mon service domino directement dans le shell : /etc/init.d/domino stop
Les services s’arrete.
Lorsque je fais exactement la meme chose ds mon script exécuter par CRON, j’ai un beau kernel panic
Voilà mon /etc/init.d/domino
[cpp]#!/bin/bash
DOM_HOME is the variable that tells the script where the Domino Data
resides
DOM_HOME=/opt/lotus/data
DOM_USER is the Linux account used to run the Domino 6 server
DOM_USER=domino
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
/bin/su - domino -c “LD_PRELOAD=/lib/libpthread.so.0:/lib/librt.so.1;export
LD_PRELOAD;$DOM_PROG/server -jc -c” > /dev/null 2>&1 &
return 0
}
stop() {
echo -n "Stopping domino: "
/bin/su - domino -c “$DOM_PROG/server -q”
return 0
}
case $1 in
start)
start
;;
stop)
stop
;;
*)
echo Usage: domino {start|stop}
exit 1
esac
[/cpp]
C’est comme si domino s’arretait et que derriere on ne me rendait pas la main… alors que si je le fais à la main sa fonctionne.
J’ai installé Lotus Domino sur une Red Hat ES 3.0
Une idée ?