首页  >  文章  >  数据库  >  开启关闭数据提示Oracle ORA-24324 ORA-01041 ORA-01089

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

WBOY
WBOY原创
2016-06-07 17:25:321684浏览

开启关闭数据提示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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn