停止EBS AP時,出現CONCSUB failed due to ORA-12224: TNS:no listener

Oracle SID:clone
EBS:11i
此ERP為正式環境Clone過來的測試機

在一次意外的停電,導致UPS也耗盡電量,整個機房在無預警之下強制停機,
主機重新開機後,執行adstrtal.sh並確認服務啟動時都是為status 0後,
在開啟ERP網頁卻出現500 Internal Server Error,但是詳細查看log卻啟動失敗的訊息。
只好執行adstpall.sh 將服務關閉,此時出現了下面的錯誤:

You are running adcmctl.sh version 115.28

Shutting down concurrent managers for CLONE ...
ORACLE error 12224 in CONCSUB

Cause:  CONCSUB failed due to ORA-12224: TNS:no listener
.

The SQL statement being executed at the time of the error was:  and was executed from the file .

adcmctl.sh: exiting with status 1

以ps -ef |grep tns去查詢lsnrctl,訊息如下:
oracle 27362   1  0 07:45:40 ?   0:03 /erptest/clonedb/9.2.0/bin/tnslsnr -inherit

把DB的listen先關閉:
$ lsnrctl stop

重開listen,但是加上SID
$ lsnrctl start CLONE

以ps -ef |grep tns去查詢lsnrctl:
oracle 27377   1  0 07:47:20 ?  0:03 /erptest/clonedb/9.2.0/bin/tnslsnr clone -inherit

重開AP,再查詢lsnrctl:
oracle 27377   1  0 07:47:20 ?  0:03 /erptest/clonedb/9.2.0/bin/tnslsnr clone -inherit
apps   27698   1  0 07:50:56 ?  0:00 /erptest/cloneora/8.0.6/bin/tnslsnr APPS_CLONE -inherit

實際測試ERP,已經ok了,原來是我自己在start lsnrctl時沒有指定SID。

Windows 11安裝時跳過網路連線