首页 > 数据库 > Oracle > 遭遇BUG 3 之监听 (类似bug)
ora 10201 bug3:
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Solaris Error: 125: Address already in use
无法重建监听。
netstat -a |grep 1521
发现应用连着,lsnrctl stop报错
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Solaris Error: 125: Address already in use
没办法 关闭应用服务器,重启小机,问题解决。
metalink解释:
Step 1. Identify the faulty listening endpoint (the one listed with "Error listening on:"). For TCP protocols this is usually the hostname & TCP port combination, while for the IPC protocol the IPC key is involved.
Step 2. Change the faulty listening endpoint configuration in one of the listeners. This involves changing not only the listener binding endpoint, but also adjusting any TNS names that may be using it. If you are changing an IPC key then you may need for fix up the CONNECT_EXTPROC_DATA definition.
Step 3. If you have changed the TCP port and/or hostname then you should reconfigure the local_listener database parameter of your instance(s) to point to this new configured endpoint. See Note 359277.1 for further details.
Example for changing the IPC key endpoint:
1. Change the LISTENER.ORA file:
LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = ORA10G_EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
)
)
)
2. Then adjust CONNECT_EXTPROC_DATA in TNSNAMES.ORA to use the same IPC key, like the following:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = ORA10G_EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
3. Restart the listener and try to see whether the issue still reproduces.
建议升级
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24487368/viewspace-1040889/ ,如需转载,请注明出处,否则将追究法律责任。