我的oracle服务启动了。但是用的时候发现不能用,用管理控制台 登陆上去看看的时候发现。例程--》配置里的例程状态时是“已装载”,而不是“打开”。有什么办法系统启动后oracle服务一启动就是 例程状态为“打开”呢??

解决方案 »

  1.   

    windows吗?右键 我的电脑 管理 服务 里面与oracle有关的服务,看看是不是自动启动的,若不是则把它设置成自动不过你现在这个状态不是很好吗,oracle服务随系统启动会导致你开机有点慢 
      

  2.   

    大家会错意了。我说的不是oracle随系统启动,而是oracle服务启动后,例程状态时是“已装载”,而不是“打开”,想要oracle服务一启动就是 例程状态为“打开”。这么办呢?
      

  3.   

    I had the same problem of the database not mounting and opening after a reboot with Oracle 10g. I finally figured out the problem and solution.The startup of the database requires access to the pfile. I choose not to have the pfile in the default location under the Oracle Home. Therefore although the service OracleServiceSID started, it could not auto start the database.You can specify an alternate location for the pfile when creating the service.Oradim -new -sid SID -startmode auto -pfile C:\mypath\InitSID.oraTo correct the problem I had to tell the service where my pfile is. That is done in the registry at LOCAL_MACHINE/Software/Oracle/KEY_OraDb10g_home1. I had to create a string registry value called ORA_SID_PFILE, where SID is my Oracle SID. The value of the registry setting is the full path of pfile. http://www.dbforums.com/oracle/773762-database-does-not-mount-automatically-startup.html试试这个方法吧,在注册表里面加上那个字段
      

  4.   


    默认情况下,oracle的实例服务会以open的形式startup你的实例这里可能是你的实例出现故障了。只能启动到mount状态你用sqlplus "/ as sysdba"连接上服务器然后alter database open;看看这里有什么故障出现。把故障排除了就可以了。
      

  5.   

    inthirties 的方法应该是对的
      

  6.   

    可以尝试用pfile文件来启动数据库看看
    >startup pfile='$ORACLE_HOME/admin/sid/pfile/**.ora'