打杂
全部博文(524)
分类: Oracle
2014-12-09 09:53:00
开启关闭数据提示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.
192.168.3.161 test # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
#::1 test localhost6.localdomain6 localhost6
删除上面红色一行,然后重新进入oracle用户,进sqlplus 执行
shutdown abot 可行
SQL> shutdown abort
ORACLE instance shut down.
oracle对操作系统的环境变量很敏感。不要随意修改操作系统的参数。