我的数据库出现下列情况:
SQL> conn /as sysdba;
ERROR:
ORA-01041: 内部错误,hostdef 扩展名不存在
SQL> shutdown immediate;
ORA-24324: 未初始化服务句柄
ORA-01041: 内部错误,hostdef 扩展名不存在
SQL> startup
ORA-24324: 未初始化服务句柄
ORA-01041: 内部错误,hostdef 扩展名不存在该怎么办呀!在线焦急等候!呜呜…………

解决方案 »

  1.   

    This error is usually signaled in conjunction with an
    ORA-3113 or ORA-3114 and is just another indicator
    that the session has been terminated. Check the alert.log for errors (usually ORA-600 or
    ORA-7445) and user_dump_dest for trace files.The ORA-600 Lookup tool can be accessed on metalink
    via Note: 153788.1 "ORA-600 Lookup"
      

  2.   

    Below is the formal (yet not at all helpful) explanation from Metalink. I would think you could enable sqlnet tracing to narrow down the 'some reason' mentioned below. Have you tried that? 
    Solution Description: 
    ===================== 
    The hostdef extension referred to is a structure which was added to the control structure for the client/server communication. It is accessed via a pointer in the original structure. When the communication between the client and the server goes awry, this can result in ORA-1041 and ORA-3113 errors. The ORA-1041 is flagged when the POINTER to the EXTENSION structure for the HOST DEFinition (for the communication channel between the client and the server) has been nulled. This can occur when the connection gets lost 'for some reason' and hence the procedure to investigate is the same as for ORA-3113
      

  3.   

    控制面板的ORACLESERVICE服务启动了?