bonjour,
Le samedi 12 juin 2004, Ralf Schneider a �crit...
> No, I commented this line out, because with this line the script did not work
> either after I newly created an instance.
> Maybe the way I want to stop the x_server is wrong? I start the x_server as
> user sapdb. Is that correct? Should I then stop it as user sapdb, too? Or can
> root do this?
Here is my startup script file. You can't do simplier... and may want to
try it ? Just update instances name and path.
#!/bin/sh
#
# Lancement maxdb au boot
#
mode=$1
bindir="/usr/local/sapdb/indep_prog/bin"
case "$mode" in
'stop')
echo -e "\nArr�t de la base TR......"
$bindir/dbmcli -d TR -u dbm1,xxxxx db_offline
echo -e "\nArr�t de la base CONTACTS"
$bindir/dbmcli -d CONTACTS -u dbm1,xxxxx db_offline
echo -e "\nArr�t du serveur MaxDB........."
$bindir/x_server stop
;;
'start')
echo -e "\nD�marrage du serveur MaxDB......"
$bindir/x_server -Y start
echo -e "\nD�marrage de la base TR..."
$bindir/dbmcli -d TR -u dbm1,xxxxx db_online
echo -e "\nD�marrage de la base CONTACTS..."
$bindir/dbmcli -d CONTACTS -u dbm1,xxxxx db_online
;;
*)
echo -e "usage $0: start|stop\n"
exit 1
;;
esac
--
jm
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]