HANAデータベースが停止することはできません

症状:
コマンドを使用しますHDBは数回を停止し、各時間がタイムアウトを与えられている
-----------------------
sdpadm @ PRDDB01:は/ usr / SAP / SDP / HDB66 / prderpdb01 /トレース/ DB_PDP> HDB STOPの
ウィルNEWDBがサービスを仕上げ最大300秒待機することによりhdbdaemon。
使用してインスタンスを停止します。/ usr / SAP / SDP / SYS / EXE / HDB / sapcontrol -prot NI_HTTP -NR 66 -function停止400

2019年7月13日午後02時34分14秒
の停止
OK
使用停止インスタンスを待っています。/ usr / SAP / PDP / SYS / EXE / HDB / sapcontrol -prot NI_HTTP -NR 66 -function WaitforStopped 600 2

2019年7月13日午前14時44分15秒
WaitforStopped
FAIL:タイムアウト
-----------------------

SAP注:
2349144 - HANAインスタンスが停止しません- kill.sapファイルが見つかりません

問題を再現:

  1. HANA Studioの

    SAP HANA管理コンソールを開きます。
    システムビューでは、あなたが...停止し、設定および監視>ストップシステムを選択するシステムを右クリックし
    、あなたがシャットダウンタイプの下のシステム(すなわち、ソフト、ハード)を停止する方法を指定し、[OK]をクリックします。
    管理コンソールは、診断モードで開きますが、サービスは、Activeとステータス実行中として表示いきます。

コンソール

Using command line access logon to HANA DB system with <sid>adm user.
Execute any of the following commands:
/usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function StopSystem HDB
/usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function Stop
/usr/sap/<SID>/HDB<instance number>/HDB stop
Function Stop tries to execute for some time until eventually times out with the error:
<DD.MM.YYYY HH:MM:00>
    Stop
    OK
    Waiting for stopped instance using: /usr/sap/<SID>/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr <nr> -function WaitforStopped 600 2
    <DD.MM.YYYY HH:MM:00>
    WaitforStopped
    FAIL: Timeout

原因:

The kill.sap file is missing in the DIR_HOME directory (i.e. /usr/sap/<SID>/HDB<instance>/host/trace). SAP HANA does not delete this file therefore if the file is missing in DIR_HOME this was most likely     caused by manual, possibly accidental, deletion.

解像度:
プロセスが現在実行されているかを判断するためのコンソールで実行HDB procを。

If sapstart is still running then execute kill -2 <PID of sapstart>

Alternatively, if the hdbdaemon process is running, you can execute kill -2 <PID of hdbdaemon>

Note:

    Any of the two commands above will implicitly stop the database. 
    After restarting the sapstartsrv Service command HDB stop works as usual.
    The kill.sap file will be re-created next time the database is started, either from the Studio or from the console (i.e. HDB start).

おすすめ

転載: www.cnblogs.com/weikui/p/11183901.html