- 论坛徽章:
- 0
|
首先谢谢rollingpig的回复
刚接触oracle,以下是我知道的查看方法,还请详细指教。
- [oracle@zhanglinux admin]$ tnsping Mydata
- TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 17-MAY-2007 11:01:28
- Copyright (c) 1997, 2005, Oracle. All rights reserved.
- Used parameter files:
- /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
- Used TNSNAMES adapter to resolve the alias
- Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = zhang.sirius.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = MyData) (UR=A)))
- OK (10 msec)
复制代码
- [oracle@zhanglinux admin]$ lsnrctl status
- LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-MAY-2007 10:58:40
- Copyright (c) 1991, 2005, Oracle. All rights reserved.
- Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
- STATUS of the LISTENER
- ------------------------
- Alias LISTENER
- Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
- Start Date 17-MAY-2007 10:29:09
- Uptime 0 days 0 hr. 29 min. 31 sec
- Trace Level off
- Security ON: Local OS Authentication
- SNMP OFF
- Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
- Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
- Listening Endpoints Summary...
- (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
- (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zhanglinux.org)(PORT=1521)))
- Services Summary...
- Service "MYDATA" has 2 instance(s).
- Instance "MYDATA", status UNKNOWN, has 1 handler(s) for this service...
- Instance "MyData", status READY, has 1 handler(s) for this service...
- Service "MyDataXDB" has 1 instance(s).
- Instance "MyData", status READY, has 1 handler(s) for this service...
- Service "MyData_XPT" has 1 instance(s).
- Instance "MyData", status READY, has 1 handler(s) for this service...
- Service "PLSExtProc" has 1 instance(s).
- Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
- The command completed successfully
复制代码
listener.log
WARNING: Subscription for node down event still pending
sqlnet.log
没有报错
[ 本帖最后由 fertiland 于 2007-5-17 11:09 编辑 ] |
|