|
LSNRCTL> start
Starting /opt/ora9/product/9.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.4.0 - Production
System parameter file is /opt/ora9/product/9.2/network/admin/listener.ora
Log messages written to /opt/ora9/product/9.2/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xulei.zjut.com)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 9.2.0.4.0 - Production
Start Date 15-DEC-2005 19:15:18
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /opt/ora9/product/9.2/network/admin/listener.ora
Listener Log File /opt/ora9/product/9.2/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xulei.zjut.com)(PORT=1521)))
Services Summary...
Service " LSExtProc" has 1 instance(s).
Instance " LSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "xulei.zjut.com" has 1 instance(s).
Instance "xulei", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@xulei ~]$ tnsping xulei.zjut.com
TNS Ping Utility for Linux: Version 9.2.0.4.0 - Production on 15-DEC-2005 19:52:55
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/opt/ora9/product/9.2/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = xulei.zjut.com)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = xulei.zjut.com)))
TNS-12541: TNS:no listener
上面是我执行的两个命令,明明在服务器上开了lister可是就是不认。请指点啊。我先谢谢各位了。 |
|