报错如下:
TNSLSNR for Solaris: Version 9.2.0.8.0 - Production
System parameter file is /opt/oracle/product/9.2/network/admin/listener.ora
Log messages written to /opt/oracle/product/9.2/network/log/ora92.log
TNS-01150: The address of the specified listener name is incorrect
Listener failed to start. See the error message(s) above...
但这个时候监听确实可用的:
lsnrctl status
LSNRCTL for Solaris: Version 9.2.0.8.0 - Production on 07-5月 -2008 18:18:10
Copyright (c) 1991, 2006, Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Solaris: Version 9.2.0.8.0 - Production
Start Date 07-5月 -2008 16:52:08
Uptime 0 days 1 hr. 26 min. 1 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /opt/oracle/product/9.2/network/admin/listener.ora
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.26)(PORT=1521)))
Services Summary...
Service "ora92" has 2 instance(s).
Instance "ora92", status UNKNOWN, has 1 handler(s) for this service...
Instance "ora92", status READY, has 1 handler(s) for this service...
The command completed successfully