15 12
发新话题
打印

怎么样才能使oracle9i在系统启动的时候跟着启动

怎么初始化?
我的数据库已经建立了ra901阿,而且已经在运行了      

TOP

尝试以下手段:
1.重新启动你的服务器
2.确认你的instance名,.bash_profile和/etc/oratab里的
3.先启动你的listener试试
还有就是确保你的安装没有错,使用sqlplus或svrmgrl能正确启动数据库。      
Redhat 7.2 and Xfce 3,I Can NOT input Chinese!

TOP

我用了你的脚本
根本不行呀
我用dbstart 可以启动数据库。      
附件: 您所在的用户组无法下载或查看附件

TOP

[QUOTE=master_Li]我在执行dbstart和dbshut的时候显示错误:
sh-2.04$ dbshut

SQL*Plus: Release 9.0.1.0.0 - Production on Tue Jul 9 09:46:47 2002

(c) Copyright 2001 Oracle Corporation. All rights reserved.

SQL> ERROR:
ORA-24314: service handle not initialized


SQL> ORA-12162: TNS:service name is incorrectly specified
SQL> Database "" shut down.

SQL*Plus: Release 9.0.1.0.0 - Production on Tue Jul 9 09:46:47 2002

(c) Copyright 2001 Oracle Corporation. All rights reserved.

SQL> ERROR:
ORA-01031: insufficient privileges


SQL> ORA-01012: not logged on
SQL> Database "ora901" shut down.
请问这是为什么[/QUOTE]
========================================================================

SQL> ERROR:
ORA-24314: service handle not initialized


SQL> ORA-12162: TNS:service name is incorrectly specified
SQL> Database "" shut down.

这个问题只需要修改 /etc/oratab 文件即可,方法如下:
  *:/oracle/ora9/product/9.2:Y
把这行用“#”注释掉!(你的数据库安装路径可能与此不同)
      在下面重新写一行,与上面注释掉的一样,只需将最前面的“*”号换成你的SID即可。
保存以后退出。将不会再出现上述错误!
 祝,好运!      

TOP

需要myapp服务,你有这个服务软件吗      

TOP

 15 12
发新话题