Subject Re: [firebird-support] Connect failed: shutdown in progress
Author Claudio Romero
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]