Chinaunix首页 | 论坛 | 博客
  • 博客访问: 569268
  • 博文数量: 126
  • 博客积分: 8010
  • 博客等级: 中将
  • 技术积分: 1112
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-22 11:41
文章分类
文章存档

2010年(1)

2009年(5)

2008年(66)

2007年(54)

我的朋友

分类: Oracle

2008-07-05 03:01:56

  
以root身份登录:
$su - root
1、linux下oracle自带的dbstart和dbshut没反应: 
 修改Oracle系统配置文件/etc/oratab文件: #vi /etc/oratab
  /etc/oratab 格式为: SID:ORACLE_HOME:AUTO
  把AUTO域设置为Y(大写),我的为:
  oradb:/opt/u01/app/oracle/product/9.2.0.4:Y
   只有这样,oracle 自带的dbstart和dbshut才能够发挥作用。
2、修改/etc/rc.d/rc.local配置文件
   在/etc/rc.d/rc.local中加入如下内容: #vi /etc/rc.d/rc.local
   su - oracle -c "/u01/app/oracle/product/9.2.0.4/bin/lsnrctl start"
   su - oracle -c "/u01/app/oracle/product/9.2.0.4/bin/dbstart start"
提示:SUSE系统 在/etc/init.d/boot.local中增加即可,
3、重新启动
  #reboot
4、连接测试(以oracle身份登录)
 
 
阅读(2623) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~