Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Listener status visible using srvctl but not using lsnrctl

AlainFeb 5 2020 — edited Mar 17 2020

Hi,

Oracle linux 7 x86_64, oracle 12.2, rac-2 nodes.

as oracle:

-bash-4.2$ lsnrctl status LISTENER_FOR_CIGI

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 05-FEB-2020 15:23:27

Copyright (c) 1991, 2016, Oracle.  All rights reserved.

TNS-01101: Could not find listener name or service name LISTENER_FOR_CIGI

-bash-4.2$

-bash-4.2$ lsnrctl status LISTENER_FOR_CIGI

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 05-FEB-2020 15:23:35

Copyright (c) 1991, 2016, Oracle.  All rights reserved.

TNS-01101: Could not find listener name or service name LISTENER_FOR_CIGI

-bash-4.2$ srvctl status listener -l LISTENER_FOR_CIGI

Listener LISTENER_FOR_CIGI is enabled

Listener LISTENER_FOR_CIGI is running on node(s): rac-1,rac-2

$GRID_HOME/network/admin holds:

LISTENER_FOR_CIGI_RAC-1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rac-1-vip)(PORT=1522))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.101)(PORT=1522)(IP=FIRST))))  # line added by Agent

Question:

why lsnrctl show "TNS-01101: Could not find listener name or service name LISTENER_FOR_CIGI"? Same error as grid.

Comments
Post Details
Added on Feb 5 2020
5 comments
1,127 views