Listener Log

Where is Oracle Listener Log Location

Posted on
The Default Location of Oracle Listener Log If you have read Where to Find Oracle Alert Log Location, you may have some clues to find the right listener.log. But there’re some differences between them. For 11g and above The default location of listener log for 11g or above can be found at: [oracle@ora11g ~]$ ll […]
Listener

How to Resolve TNS-12541: TNS:no listener

Posted on
TNS-12541 Let’s see how we reproduce TNS-12541. C:\Users\ed>tnsping compdb TNS Ping Utility for 64-bit Windows: Version 12.1.0.1.0 – Production on 22-JUL-2014 19:20:06 Copyright (c) 1997, 2013, Oracle.  All rights reserved. Used parameter files: C:\oracle\app\client\ed\product\12.1.0\client_1\network\admin\sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary01)(PORT = 1521)) […]
Listener

How to Resolve TNS-12546: TNS:permission denied + Solaris Error: 13: Permission denied

Posted on
TNS-12546 I got TNS-12546: TNS:permission denied when I tried to start listener as oracle. oracle@solaris11vm:~$ lsnrctl startLSNRCTL for Solaris: Version 11.2.0.4.0 – Production on 31-JAN-2018 21:01:57Copyright (c) 1991, 2013, Oracle.  All rights reserved.Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait…TNSLSNR for Solaris: Version 11.2.0.4.0 – ProductionSystem parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.oraLog messages written to /u01/app/oracle/diag/tnslsnr/solaris11vm/listener/alert/log.xmlListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))TNS-12546: […]
DNS

sqlplus, tnsping or lsnrctl Hangs

Posted on
sqlplus, tnsping or lsnrctl Hangs I can’t cover all situations in this post, but I have some cases that can share with you. Those hanging all point to one problem: Domain name resolution. Does the database server use DNS to do name resolution? Sometimes, DNS traps the name resolution in an unknown and indefinite loop […]
Listener

How to Resolve The listener supports no services

Posted on
The Listener Supports Services
The listener supports no services I newly created a database called SMALLDB, but I can’t see any service registered with the new LISTENER2 which is listening to incoming connections from port 1522. The listener showed “The listener supports no services”. In fact, this message tells us that the listener is working fine, but no dynamic […]
Administration

How to Know Everything about an Unfamiliar Database

Posted on
In an unfamiliar environment, if there’s only oracle or grid account is available for DBA to use, how can he to know everything about the database in a short time?StandaloneFor a standalone, you can do this:Oracle Home[oracle@test ~]$ echo $ORACLE_HOME/u01/app/oracle/product/11.2.0Oracle SID (Instance Name)[oracle@test ~]$ echo $ORACLE_SIDORCLIf there’s no $ORACLE_SID, you may check smon, the background process […]
Listener

When Listener Seems Not Working in RAC

Posted on
You may found out the listener seems not working:[oracle@primary01 ~]$ lsnrctl statusLSNRCTL for Linux: Version 12.1.0.2.0 – Production on 05-JUN-2016 19:40:08Copyright (c) 1991, 2014, Oracle.  All rights reserved.Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error  TNS-00511: No listener   Linux Error: 111: Connection refusedBut the incoming connections are all established and listener seems pretty healthy from […]