博客统计信息

用户名:betterliu
文章数:14
评论数:13
访问量:18192
无忧币:20
博客积分:486
博客等级:1
注册日期:2008-03-15

oracle10g dbstart不能启动的问题
2008-10-02 13:47:16
标签:oracle 休闲 职场

lsnrctl start 可以正常启动
dbstart 启动不了  抛错如下:

[oracle@lc ~]$ dbstart
Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
Processing Database instance "lc": log file /orac/product/10.2.0/startup.log

经过查询,和咨询,发现是dbstart脚本有点问题,在这里写出来,希望能帮到大家。
[root@lc ~]# vi /opt/oracle/product/10.2.0/bin/dbstart
77 # Set this to bring up Oracle Net Listener
 78 #ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle
79 if [ ! $ORACLE_HOME_LISTNER ] ; then
80   echo "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net         Listener"

ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle注释掉

然后修改/home/oracle/.bash_profile
添加export ORACLE_HOME_LISTNER=$ORACLE_HOME一句
生效变量:
[root@lc ~]# source /home/oracle/.bash_profile

然后再lsnrctl start
          dbstart       就可以了。

分享至
更多
一键收藏,随时查看,分享好友!
0人
了这篇文章
类别:未分类┆技术圈()┆阅读()┆评论() ┆ 推送到技术圈返回首页

文章评论

 
2008-10-02 17:01:47
呵呵,我们都在不断前进、加油

 

发表评论            

【技术门诊】专家解析:软考重点难点及应试技巧
昵  称:
登录  快速注册
验证码:

请点击后输入验证码博客过2级,无需填写验证码

内  容: