装上orcle 10g,用了几天之后,sqlplus启动后,输入用户名和密码后,提示:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist检查了服务,都是开启了的。也重启了的。但是在运行里面输入 sqpplus,输入用户名和密码后却能进入,但非得要以system/password as sysdba 才能进入。请问ora-27101 shared memory realm does not exist如何解决? 到底是哪儿出问题了呢?

解决方案 »

  1.   

    说明你的数据库没有正确启动,服务里面的未必指示的是正确的,执行如下操作:
    sqlplus /nolog
    conn / as sysdba
    startup force
    exit
      

  2.   

    是不是数据库还没启动?
    sql>connn as sysdba
    sql>startup
      

  3.   

    alter log 看看 那个里面有详细日志
      

  4.   

    看得不是很明白,还望解释一下:
    Successful open of redo thread 1
    Mon Oct 20 18:31:29 2008
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Oct 20 18:31:29 2008
    SMON: enabling cache recovery
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 02:16:34 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:440M/1023M, PG:1740M/2462M, VA:1945M/2047M
    Wed Oct 22 02:16:34 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 02:21:19 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:410M/1023M, PG:1729M/2462M, VA:1945M/2047M
    Wed Oct 22 02:21:19 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 02:22:38 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:408M/1023M, PG:1708M/2462M, VA:1945M/2047M
    Wed Oct 22 02:22:38 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 12:14:14 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:643M/1023M, PG:2075M/2462M, VA:1945M/2047M
    Wed Oct 22 12:14:14 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 12:29:32 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:554M/1023M, PG:1851M/2462M, VA:1945M/2047M
    Wed Oct 22 12:29:32 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Wed Oct 22 14:02:30 2008
    Starting ORACLE instance (force)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Dump file d:\oracle\product\10.1.0\admin\orcl\bdump\alert_orcl.log
    Wed Oct 22 22:02:23 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU             : 2 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P)    : PH:597M/1023M, PG:2022M/2462M, VA:1945M/2047M
    Wed Oct 22 22:02:23 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Wed Oct 22 22:07:03 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0