oracle启动监听报错。

lsnrctl start报错:TNS-01106: Message 1106 not found; No message file for product=network, facility=TNS 

原因:ORACLE_HOME没有设置

方法:用oracle用户登录添加以下环境变量

[oracle@ora11 bin]$  export ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1/

 

[oracle@ora11 bin]$ ./lsnrctl status

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-NOV-2002 09:10:14

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.224)(PORT=1521)))

 

 

STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                23-NOV-2002 09:10:00
Uptime                    0 days 0 hr. 3 min. 9 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /opt/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.224)(PORT=1521)))
The listener supports no services
The command completed successfully


发表评论

登录 后发表评论.