oracle 启动问题
发布日期:2021-10-22 14:27:12 浏览次数:5 分类:技术文章

本文共 877 字,大约阅读时间需要 2 分钟。

$ lsnrctl start

$ dbstart

 

监听器启动出现问题:

ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
使用oracle用户执行dbstart启动数据库提示如下:
ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
Usage: /oracle/11g/bin/dbstart ORACLE_HOME
Processing Database instance "orcl": log file /oracle/11g/startup.log

修改dbstart以及dbshut两个文件

--------------------------
把ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle注释掉
然后修改/home/oracle/.bash_profile
添加export ORACLE_HOME_LISTNER=$ORACLE_HOME一句
生效变量:
[root@oracle01 ~]# source /home/oracle/.bash_profile
---------------------------

sqlplus /nolog

connect / as sysdba
startup

报:

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbs/initlocalhost.localdomain.ora'

 

解决办法:

export ORACLE_SID=你的数据库名(如:orcl)

 

转载于:https://www.cnblogs.com/yzqs/p/8177951.html

转载地址:https://blog.csdn.net/weixin_30361641/article/details/95898493 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:JS获取字符串实际长度(包含汉字)的简单方法
下一篇:终于有人把Elasticsearch原理讲透了

发表评论

最新留言

哈哈,博客排版真的漂亮呢~
[***.90.31.176]2024年03月29日 23时32分40秒