- 最后登录
- 2019-7-8
- 在线时间
- 133 小时
- 威望
- 131
- 金钱
- 1368
- 注册时间
- 2011-10-14
- 阅读权限
- 50
- 帖子
- 126
- 精华
- 1
- 积分
- 131
- UID
- 31
|
1#
发表于 2013-12-19 14:56:59
|
查看: 4224 |
回复: 4
os:- [oracle@oracle10-t ~]$ uname -a
- Linux oracle10-t 2.6.39-300.26.1.el5uek #1 SMP Thu Jan 3 18:31:38 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
复制代码 db:- SQL> select * from v$version where rownum<2;
- BANNER
- ----------------------------------------------------------------
- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
复制代码 使用的是单机的ASM环境
监听信息:- [oracle@oracle10-t dbs]$ lsnrctl status
- LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-DEC-2013 09:51:47
- Copyright (c) 1991, 2005, Oracle. All rights reserved.
- Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.5)(PORT=1521))
- STATUS of the LISTENER
- ------------------------
- Alias LISTENER
- Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
- Start Date 19-DEC-2013 09:44:13
- Uptime 0 days 0 hr. 7 min. 34 sec
- Trace Level off
- Security ON: Local OS Authentication
- SNMP OFF
- Listener Parameter File /home/oracle/ora10g/product/10201/db_1/network/admin/listener.ora
- Listener Log File /home/oracle/ora10g/product/10201/db_1/network/log/listener.log
- Listening Endpoints Summary...
- (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.5)(PORT=1521)))
- (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
- Services Summary...
- Service "+ASM" has 1 instance(s).
- Instance "+ASM", status UNKNOWN, has 1 handler(s) for this service...
- Service "orcl" has 1 instance(s).
- Instance "ora10test", status UNKNOWN, has 1 handler(s) for this service...
- The command completed successfully
- [oracle@oracle10-t dbs]$
复制代码 监听配置文件- [oracle@oracle10-t admin]$ more listener.ora
- LISTENER =
- (ADDRESS_LIST=
- (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.5)(PORT=1521))
- (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
- SID_LIST_LISTENER=
- (SID_LIST=
- (SID_DESC=
- (GLOBAL_DBNAME=orcl)
- (SID_NAME=ora10test)
- (ORACLE_HOME=/home/oracle/ora10g/product/10201/db_1)
- )
- (SID_DESC =
- (GLOBAL_DB_NAME = ASM)
- (ORACLE_HOME = /home/oracle/ora10g/product/10201/db_1)
- (SID_NAME = +ASM)
- )
- )
- SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
复制代码 TNS_ADMIN空- [oracle@oracle10-t admin]$ echo $TNS_ADMIN
- [oracle@oracle10-t admin]$
复制代码 service_name:- SQL> show parameter name
- NAME TYPE VALUE
- ------------------------------------ ----------- ------------------------------
- db_file_name_convert string
- db_name string ora10tes
- db_unique_name string ora10test
- global_names boolean FALSE
- instance_name string ora10test
- lock_name_space string
- log_file_name_convert string
- service_names string ora10test
复制代码 现在ora10test服务无法注册到监听里,不知道什么地方出了,请刘大帮忙看一下,多谢
|
|