First method - Try with starting/stopping listener and register database manually.
lsnrctl start
lsnrctl stop
lsnrctl start
sql > alter system register;
if this is not work,
Second method - get the listener information and set it to LOCAL_LISTENER parameter.
[grid@v-demo:-/home/grid]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 13-JUN-2013 15:36:13
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 13-JUN-2013 15:29:01
Uptime 0 days 0 hr. 7 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /demo/demo1/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /demo/demo1/app/grid/diag/tnslsnr/v-demo/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
The listener supports no services
The command completed successfully
SYS@live11 >> alter system set local_listener='(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522))';
System altered.
[grid@v-demo:-/home/grid]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 13-JUN-2013 15:37:17
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 13-JUN-2013 15:29:01
Uptime 0 days 0 hr. 8 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /demo/demo1/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /demo/demo1/app/grid/diag/tnslsnr/v-demo/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
Services Summary...
Service "live11" has 1 instance(s).
Instance "live11", status READY, has 1 handler(s) for this service...
Service "hrlive11XDB" has 1 instance(s).
Instance "live11", status READY, has 1 handler(s) for this service...
The command completed successfully
Job done!
lsnrctl start
lsnrctl stop
lsnrctl start
sql > alter system register;
if this is not work,
Second method - get the listener information and set it to LOCAL_LISTENER parameter.
[grid@v-demo:-/home/grid]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 13-JUN-2013 15:36:13
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 13-JUN-2013 15:29:01
Uptime 0 days 0 hr. 7 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /demo/demo1/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /demo/demo1/app/grid/diag/tnslsnr/v-demo/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
The listener supports no services
The command completed successfully
SYS@live11 >> alter system set local_listener='(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522))';
System altered.
[grid@v-demo:-/home/grid]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 13-JUN-2013 15:37:17
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 13-JUN-2013 15:29:01
Uptime 0 days 0 hr. 8 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /demo/demo1/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /demo/demo1/app/grid/diag/tnslsnr/v-demo/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=v-demo.abcd.co.uk)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
Services Summary...
Service "live11" has 1 instance(s).
Instance "live11", status READY, has 1 handler(s) for this service...
Service "hrlive11XDB" has 1 instance(s).
Instance "live11", status READY, has 1 handler(s) for this service...
The command completed successfully
Job done!
No comments:
Post a Comment