The Listener Supports no Services After Changed IP or Port
The Listener Supports no Services After Changed IP or Port
APPLIES TO
Operating System - Red Hat Enterprise Linux Server 7.9 / Linux 7
Oracle Database - Enterprise Edition - version 11.2.0.4 / 11g
Oracle Grid Infrastructure - version 11.2.0.4 / 11g
SYMPTOMS
Change listener to uses non-local IP address or non-default port number, and instance cannot register services automatically.
[oracle@sj-node2 admin]$ cat listener.ora |
CAUSE
Theoretically, you don't have to configure parameters related to listener in database, neither LOCAL_LISTENER nor REMOTE_LISTENER. A background process, Listener Registration (LREG) of each instance will register services with the default local and remote listener automatically.
For a new listener which uses non-local IP address or non-default port number, you need to explicitly tell LREG to register database services with numerous listeners by ALTER SYSTEM SET LOCAL_LISTENER. Which requires LOCAL_LISTENER to accept more listener addresses in the setting.
SOLUTION
ALTER SYSTEM SET LOCAL_LISTENER='(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.3.248)(PORT=1521))' SCOPE=BOTH; |