欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

开启关闭数据提示Oracle ORA-24324 ORA-01041 ORA-01089

程序员文章站 2022-04-16 17:51:43
...

开启关闭数据提示Oracle ORA-24324 ORA-01041 ORA-01089

开启关闭数据提示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用户就好了,不明白,反正就这样稀里糊涂的就解决了

非常诡异的错误,不知为什么?

开启关闭数据提示Oracle ORA-24324 ORA-01041 ORA-01089