OracleServiceORCL11和ORacleOraDB11g_home1TNSListener在服务中以显示启动了,但是当plsql连接时还是 报找不到监听的错误,而且我用sqlplus连接时还报ora-01034和ora-27101的两个错误,这两个错误时不时说oracle服务程序没有启动啊?。
在线等着帮助,谢谢各位,帮下忙吧

解决方案 »

  1.   

    ORA-01034 and Ora-27101 after rebooting the server [ID 238073.1]   Symptom(s)
    ~~~~~~~~~~Database has been configured to start automatically whenever the server 
    is rebooted. But the database does not start and any query to the database 
    fails with Ora-27101 and Ora-1034 errors. Same errors are reported in 
    the Oradim.log.ORA-01034 ORACLE not available
    ORA-27101 "Shared Memory Realm Does Not Exist" 
     
    Change(s)
    ~~~~~~~~~~DBAs are trying to automate the startup of the database when 
    server reboots. The Registry key ORA_<SID>_AUTOSTART is set to 
    TRUE and ORA_<SID>_PFILE is pointing to correct location. The "startmode" 
    of Oracle service ORACLESERVICE<SID> has been set to AUTOMATIC.
    Cause
    ~~~~~~~The Oracle service ORACLESERVICE<SID> get corrupted for some unknown 
    reasons and does not start the database successfully
    Fix
    ~~~~recreate the Oracle service using ORADIM utilitya) delete the current service -
    c:\> oradim -delete -sid <sid_name>b) make sure the service has status DISABLED in Service Windows and it 
    does not appear after refreshing the Service Windows. If the service 
    still appears, reboot the server.c) create the service 
    c:\> oradim -new -sid <sid> -startmode auto -pfile <absolute path of init.ora>
      

  2.   

    楼主的操作系统是windows吧,我遇到过这样的情况。有两个情况你需要确认,数据库是不是确实启动了,我遇到过服务起来了,但数据库是没有打开的;第二个情况是你的监听文件中缺少实例的内容,这样也是不能连接的。
      

  3.   

    没有监听,数据库一样可以起来,只是不能用tnsname连接