開啟關閉資料提示Oracle ORA-24324 ORA-01041 ORA-01089

來源:互聯網
上載者:User

開啟關閉資料提示Oracle ORA-24324 ORA-01041 ORA-01089錯誤及個人的解決方案。

SQL> conn / as sysdba
Connected to an idle instance.

SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted

SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist

網上找了半天說直接shutdown abort就好了,但是我執行shutdown abort時出現下列錯誤

SQL> shutdown abort
ORA-01031: insufficient privileges

最終解決方案:

在root下vi  /etc/host

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1              localhost.localdomain localhost
::1            localhost6.localdomain6 localhost6

刪除上面紅色一行,然後重新進入oracle使用者,進sqlplus 執行

shutdown abot 可行

SQL> shutdown abort
ORACLE instance shut down.

有可能也許不是上面紅色那句話的原因,也需exit出去,然後重新進入oracle使用者就好了,不明白,反正就這樣稀裡糊塗的就解決了

非常詭異的錯誤,不知為什嗎?

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.