Kbase P23538: proshut -bn does not shut down the db if watchdog/biw/apw/aiw running.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/02/2010 |
|
Status: Unverified
SYMPTOM(s):
proshut -bn does not shut down the database.
There are no users connected to the database.
The watchdog, biw, apw and/or aiw are running.
FACT(s) (Environment):
Progress 8.3E
UNIX
CAUSE:
The exact cause is unknown at the time of this writing
FIX:
You can workaround this problem by running a script that will disconnect any running watchdog, biw, apw and/or aiw before the actual proshut -bn. Something like:
# Workaround
wdogID=`proshut test2000 -C list | fgrep wdog | awk '{ print $1 }'`
[ -n "$wdogID" ] && proshut test2000 -C disconnect $wdogID
biwID=`proshut test2000 -C list | fgrep biw | awk '{ print $1 }'`
[ -n "$biwID" ] && proshut test2000 -C disconnect $biwID
apwID=`proshut test2000 -C list | fgrep apw | awk '{ print $1 }'`
[ -n "$apwID" ] && {
for userNum in $apwID
do
proshut test2000 -C disconnect $userNum
done
}
aiwID=`proshut test2000 -C list | fgrep aiw | awk '{ print $1 }'`
[ -n "$aiwID" ] && proshut test2000 -C disconnect $aiwID
sleep 2
# Keep going with normal shutdown
proshut test2000 -bn