我准备把数据库改为归档模式,在shutdown时老是出现“ORA-00106: 无法在连接到调度程序时启动/关闭数据库”,应该怎样处理??

解决方案 »

  1.   

    Cause: An attempt was made to start or shut down an instance while
    connected to a shared server via a dispatcher.
    Action: Reconnect as user INTERNAL without going through the dispatcher.
    For most cases, this can be done by connect to INTERNAL without specifying a
    network connect string.
      

  2.   

    in INIT.ORA set:
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE 
    then
    connect internal
    shutdown immediate
      

  3.   

    你好像是通过连接串连接的数据库并想down库,而你的数据库用的是dispatch方式。
    这种情况也可能出现在你用oem来down库时,所以呢解决方法有两个:
    方法1:
     1、telnet 至oracle的server,或直接到那台server,切换到oracle的用户
     2、oracle>svrmgrl
        svrmgrl>connect internal
        svrmgrl>shutdown immediate
        svrmgrl>startup方法2:
     在oem这端强制以dedicate方式连接入oracle
     1、在你的的连接oracle的连接串加入 (SERVER=DEDICATED)这样一行
      例:
      <service name>
      (DESCRIPTION =
         (ADDRESS_LIST =
           (ADDRESS = 
            (PROTOCOL = <PROTOCOL>)
              (Host = <server>)
              (Port = <port #>)               
         )  
      )
      (CONNECT_DATA =   
         (SID = <sidname>) 
         (SERVER=DEDICATED) 
      ) 
     )   
     
    再用就该可以了!