Subject | Re: [firebird-support] Connect failed: shutdown in progress |
---|---|
Author | Claudio Romero |
Post date | 2010-02-03T19:18:36Z |
Hello, I use this script with Firebird 2.1.4, for shutdown, repair and back
online. (Linux 2.6.31.9)
BASEFB=bases
echo "Repair DB Firebird $BASEFB, close all conecctions"
if [ "$1" = "" ];then
echo -ne "\033[1;31mClave SYSDBA: \033[0;0m"
read CLAVE
else
CLAVE=$1
fi
echo "Force shutdown"
/opt/fb21ss/bin/gfix -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB -shut
single -force 10
echo "Repair"
/opt/fb21ss/bin/gfix -v -f -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB
echo "Back online again"
/opt/fb21ss/bin/gfix -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB
-online normal
Regards
[Non-text portions of this message have been removed]
online. (Linux 2.6.31.9)
BASEFB=bases
echo "Repair DB Firebird $BASEFB, close all conecctions"
if [ "$1" = "" ];then
echo -ne "\033[1;31mClave SYSDBA: \033[0;0m"
read CLAVE
else
CLAVE=$1
fi
echo "Force shutdown"
/opt/fb21ss/bin/gfix -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB -shut
single -force 10
echo "Repair"
/opt/fb21ss/bin/gfix -v -f -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB
echo "Back online again"
/opt/fb21ss/bin/gfix -user SYSDBA -password $CLAVE 192.168.0.1:$BASEFB
-online normal
Regards
[Non-text portions of this message have been removed]