happy_boy 发表于 2018-9-10 06:43:32

oracle错误:ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listene

  oracle错误:ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
  解决方法
  安装好Oracle数据库后:
  执行
dbstart  和dbshut会提示:
$ dbstart  
ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
  
Usage: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart ORACLE_HOME
  错误原因
dbstart和dbshut脚本文件中ORACLE_HOME_LISTNER的设置有问题
  解决方法
分别打开两个文件找到:
ORACLE_HOME_LISTNER=$1  ,修改为
ORACLE_HOME_LISTNER=$ORACLE_HOME  然后修改/home/oracle/.bash_profile
  添加export ORACLE_HOME_LISTNER=$ORACLE_HOME一句
  生效变量:
# source /home/oracle/.bash_profile  参考:http://www.phperz.com/article/14/1216/41431.html


页: [1]
查看完整版本: oracle错误:ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listene