暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

dbstart generates "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener" error (Doc ID 336299.1)

夏天 2025-01-04
68

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later

Oracle Database Exadata Express Cloud Service - Version N/A and later

Oracle Database Exadata Cloud Machine - Version N/A and later

Oracle Cloud Infrastructure - Database Service - Version N/A and later

Oracle Database Cloud Exadata Service - Version N/A and later

Information in this document applies to any platform.



SYMPTOMS

While executing the $ORACLE_HOME/bin/dbstart it fails with an error similar to the following:


$ dbstart

ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener

Usage: /u01/app/oracle/product/10.2.0/bin/dbstart ORACLE_HOME

CAUSE


This error is documented in unpublished Bug

Bug 4509652 - Abstract: INSTALL:050624:$OH/BIN/DBSTART FAILED TO START NET  LISTENER IN DB 10.2.0:SIDB


The fix is included in 10.2.0.2. However, the problem can still be found in 10.2.0.3 (at least on some OS platforms, including HP-UX Itanium).

SOLUTION


If the issue is not solved with patch set 10.2.0.2, please use the following workaround.


To resolve this issue, pass the ORACLE_HOME directory that contains "bin/tnslsnr" as a parameter to dbstart.

For example:


dbstart $ORACLE_HOME


-- OR --


dbstart /u01/app/oracle/product/10.2.0



The dbstart script will expect to find "bin/tnslsnr" under the directory you specify.


You will need to do the same for dbshut if you want to stop the listener using dbshut.

For example:


dbshut $ORACLE_HOME


-- OR --


dbshut /u01/app/oracle/product/10.2.0

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论