AIXおよびOracle:aioserverプロセスは終了しません。

AIXおよびOracle:aioserverプロセスは終了しません。

Oracleサーバーをシャットダウンすると、シャットダウン時にこのエラーメッセージが表示されます。

umount /oracle/
umount: error unmounting /dev/oracle: Device busy

lsoffuser報告のみ

ps aux|grep oracle

これを報告する

oracle    5964026  0,0  0,0  448  448      - A      apr 21  0:00 aioserver
oracle   10289224  0,0  0,0  448  448      - A    19:09:27  0:00 aioserver
oracle   11075692  0,0  0,0  448  448      - A    19:09:27  0:00 aioserver
oracle   11468902  0,0  0,0  448  448      - A    19:09:27  0:00 aioserver
oracle   13631648  0,0  0,0  448  448      - A    19:09:27  0:00 aioserver
oracle    3604680  0,0  0,0  448  448      - A    19:09:27  0:00 aioserver`

kill -15人々を殺そうとしたkill -9が生き残った。

私はこれを使用するのをpstree見ました

 |--= 1966178 root aioPpool
 |--= 2228302 root aioLpool
 |--= 3604680 root aioserver
 |--= 5964026 root aioserver
 |--= 10289224 root aioserver
 |--= 11075692 root aioserver
 |--= 11468902 root aioserver
 \--= 13631648 root aioserver

問題は、Oracleを削除するプロセスをどのように終了するかです。

役に立つ場合は、終了スクリプトは次のようになります。

#!/usr/bin/bash
# description: Oracle auto start-stop script.
#
# Set ORACLE_HOME to be equivalent to the $ORACLE_HOME
# from which you wish to execute dbstart and dbshut;
#
# Set ORA_OWNER to the user id of the owner of the 
# Oracle database in ORACLE_HOME.

export ORA_OWNER=oracle
export ORACLE_BASE=/oracle/app
export ORACLE_HOME=/oracle/app/oracle/product/12.2.0/dbhome_1
export ORACLE_SID=video
export ORACLE_HOME_LISTNER=$ORACLE_HOME
export TNS_ADMIN=/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin
export PATH=$PATH:/opt/freeware/sbin:/opt/freeware/bin:/opt/IBM/xlc/13.1.0/bin:/oracle/app/oracle/product/12.2.0/dbhome_1/bin/

if [ ! -f $ORACLE_HOME/bin/dbstart ]
then
    echo "Oracle startup: cannot start"
    exit
fi

case "$1" in
    'start')
        # Start the Oracle databases:
        # The following command assumes that the oracle login 
        # will not prompt the user for any values
        # Remove "&" if you don't want startup as a background process.
        su $ORA_OWNER -c "$ORACLE_HOME/bin/lsnrctl start" &
        su $ORA_OWNER -c $ORACLE_HOME/bin/dbstart &
        ;;
    'stop')
        # Stop the Oracle databases:
        # The following command assumes that the oracle login 
        # will not prompt the user for any values
        su $ORA_OWNER -c $ORACLE_HOME/bin/dbshut
        su $ORA_OWNER -c "$ORACLE_HOME/bin/lsnrctl stop"
        ;;
     'restart')
        stop
        start
        ;;
*)
echo "usage $0 start|stop|restart"
esac

ベストアンサー1

Aioserverはファイルシステムを引き続き使用しません。aioserverは非同期IOに関連するaixプロセスです。

/ oracleに他のファイルシステムがマウントされているため、この問題が発生する可能性があります。

mount | grep oracle

また読んでくださいこのページOracleとAIOの使用方法の詳細をご覧ください。

おすすめ記事