Listener.ora - ADR_BASE_LISTENER or ADR_BASE_ LISTENER_NAME
I am using Oracle 11g with Linux Redhat.
I have a SID of PR1 and a listener od LISTENER_PR1
In the listerner.ora file what should be th ADR_BASE variable be:
ADR_BASE_LISTENER = /oracle/PR1/saptrace
OR
ADR_BASE_LISTENER_PR1 = /oracle/PR1/saptrace
I also have diag set.
ADR_BASE_LISTENER_PR1 = /oracle/PR1/saptrace
would be correct in this case.
ADR_BASE_<listenername>
Volker
Similar Messages
-
Hi,
Could anyone please let me know why my listener is not getting started. Please check below my listener status and the error I am getting while starting the listener.
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:41
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
And bleow is the error which I am getting while starting the listener:
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:54
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/home/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
NL-00305: the specified path name does not exist
Listener failed to start. See the error message(s) above...
please check below my listener entries:
[oracle@localhost admin]$ more listener.ora
# listener.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = mydb)
(ORACLE_HOME = /u01/home/oracle/product/11.2.0/db_1)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = ORCL)
ADR_BASE_LISTENER = /u01/app/oracle
[oracle@localhost admin]$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
Please help me how should I get it resolve.
Regards,
MichelProblem is resolved. Thanks everyone.
-
Local_listener name is different from listener.ora
I'm on 11g R2 solaris10 platform.
lsnrctl status adv_sec_listener2 shows all the correct items I would expect including the Alias = adv_sec_listener2
but when I do lsnrctl status listener_farley it shows the same thing with Alias = adv_sec_listener2
My listener.ora file is set with adv_sec_listener2
In the spfile it has local_listener=listener_farley
I try to edit the parameter and set local_listener to adv_sec_listener2 but I get errors:
ORA-02097: parameter could not be modified
ORA-00119: invalid specification for LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'ADV_SEC_LISTENER2'is your listener registered with all instances in the server? if so, its new from 10g that all instances will listen through one instance
try to see the ouput of
$ lsnrctl status <listener_name>
and check if all instances are shown -
i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully and in when i cross check with listener from tns it is showing the error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
here is my listener file
lsn =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
#ADR_BASE_LISTENER = /u01/app/oracle
(SID_LIST_LISTENER=
(SERVICE_NAME=kull)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
tnsnames.ora
to_lsn=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = kull )
my database name is kull
please somebody helpBiswaranjan wrote:
i have two database one is kull and another is kk
i configured listener.ora in kull
and tnsnames.ora in kk
when i am running lsnrctl start listener in database kull
This makes no sense. You don't configure a listener nor a tnsnames.ora "in a database". I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database
read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
it is showing the message
Alias lsn
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JUL-2013 19:08:06
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
The listener supports no services
The command completed successfully
and in another database in kk when i am giving the command tnsping to_lsn
it is giving this message
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
OK (0 msec)
but when i am cross check sqlplus system/manager@ to_lsn
it is giving the following error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor -
What's the value of GLOBAL_DBNAME in the listener.ora ?
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>
SQL>
SQL> show parameter db_name
NAME TYPE VALUE
db_name string Oracle11
SQL> show parameter service_names
NAME TYPE VALUE
service_names string primary
SQL>
SQL>
SQL> ho
[oracle@primary admin]$
[oracle@primary admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = primary) ================> Note Here , i asked this parameter .
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME = primary)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.178)(PORT = 1525))
ADR_BASE_LISTENER = /u01/app/oracle
[oracle@primary admin]$
[oracle@primary admin]$
[oracle@primary admin]$ exit
exit
SQL> in my option , i think the value of GLOBAL_DBNAME equal to the value of DB_NAME . But it's wrong , the remote client can't connect the database .
when its value equal to the value of SERVICE_NAMES , the remote client can connect the database .
what's the value of GLOBAL_DBNAME in the listener.ora ?GLOBAL_DBNAME The global database name is a concatentation of a domain and a database name. The GLOBAL_DBNAME is the same as SERVICE_NAMES parameter in the parameter file or a concatentation of the DB_DOMAIN and the DB_NAME parameters in the parameter file. For example, <SID>.xyz.com. Do not set the GLOBAL_DBNAME parameter in the listener.ora file when using failover / TAF or when using multiple listeners or Oracle Parallel Server. Setting the GLOBAL_DBNAME parameter under these circumstances will disable failover and TAF.from: http://oracledba.ezpowell.com/oracle/net8Listener.html
-
Problem in ammending listener.ora file
Hi,
I am using oracle database 11.2.0 Enterprise edition on windows 7
I want to clone orcl database on the same node with finance sid
I have done the following steps successfully but stuck to make changes in tnsnames.ora and listener.ora. I am posting both here please let me know where is the problem.
When I try to connect both databases separately i can connect. But rman is not connect to clone database separately or together with the following commands and giving me the following error
C:\Users\Administrator>rman target sys/malik123@orcl auxiliary sys/malik123@finance
Recovery Manager: Release 11.2.0.1.0 - Production on Thu Aug 22 11:52:31 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID=1350300533)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
My tnsnames.ora and listener.ora are as follows
----------------------------------------Tnsnames.ora---------------------------------------
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
FINANCE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = finance)
-------------------------------------------LISTENER.ORA-------------------------------------
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=orcl)
(SID_NAME = orcl)
(ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME=finance)
(SID_NAME = finance)
(ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
ADR_BASE_LISTENER = D:\app\oracle
-------------------------------------------Questions------------------------------------------------
What mistake i have made and what's wrong with listenere.ora?
Please note that I am logged in as Administrator on windows operating system which is the part of dba_group
Thanks
MalikHi Malik,
Please ensure there are no spaces left in the listener.ora file.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=orcl)
(SID_NAME = orcl)
(ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
<<<<<<<<<<
(SID_DESC =
(GLOBAL_DBNAME=finance)
(SID_NAME = finance)
(ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
<<<<<<<<<<
Please restart the listener, and confirm whether that tnsping for ORCL and FINANCE is working..
Thanks &
Best Regards, -
AC-50480 error while generating listener.ora while running autoconfig
Hi,
I am trying my first clone on R1213. We have a split tier configuration. I am able clone the database server successfully.
Now when I run 'perl adcfgclone appsTier', during the autoconfig part, it fails with the error message AC-50480 : Error while generating listener.ora
I have followed note
AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
derigistered bothe the servers
ran autoconfig on the DB
Verified the contents of FND_NODES table.
Everything looks fine, but it still errors during autoconfig.
There is no listener file under $TNS_ADMIN.
There is tnsnames.ora under $TNS_ADMIN
Any clue?
TIA,
AZHere are the contents from NetServiceHandler.log
Processing listener.ora on middle tier
s_enable_listener_password = OFF
instantiate file:
source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/iAS_1012_env.tmp
dest : /d01/oracle/opda/inst/apps/OPDA_oratest/ora/10.1.2/OPDA_oratest.env
/d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
instantiate file:
source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/APPLSYS_ux.env
dest : /d01/oracle/opda/apps/apps_st/appl/OPDA_oratest.env
/d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
instantiate file:
source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/adovars_ux.env
dest : /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env
/d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env permissions changed to 644 (unix only)
instantiate file:
source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln_ux.sql
dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql
/d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 600 (unix only)
instantiate file:
source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln.sh
dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh
/d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh permissions changed to 700 (unix only)
Execution of /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh is given to TimedProcess
admk80ln.sh started at Thu Sep 29 08:56:59 EDT 2011
The environment settings are as follows ...
ORACLE_HOME : /d01/oracle/opda/apps/tech_st/10.1.2
ORACLE_SID :
TWO_TASK : OPDA
PATH : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/bin:/d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin::/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11:/usr/X11R6/bin:/usr/sbin:.:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin:/home/applopda/bin:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin
Library Path : /d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/cz/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.2/lib32:/d01/oracle/opda/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/sht/12.0.0/lib
SQLPLUS Executable : /d01/oracle/opda/apps/tech_st/10.1.2/bin/sqlplus
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Sep 29 08:57:00 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: ERROR:
ORA-12157: TNS:internal network communication error
Unable to generate listener.ora from database
Using default listener.ora file
.end std out.
.end err out.
Error while generating listener.ora.
StackTrace:
java.lang.Exception: Error while generating listener.ora.
at oracle.apps.ad.tools.configuration.NetServiceHandler.generateMiddleTierListener(NetServiceHandler.java:2495)
at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2269)
at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:3010) -
What's wrong with my listener.ora?
Hello.
I must say I've never understood how listener.ora works (it used to work but someone modified it), but by now it'd be enough to know what's wrong with this:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = CSR2)
(ORACLE_HOME = /opt/oracle/product/9.2.0)
(SID_NAME = CSR2)
My problem is that when I try to connect from my PC "sqlplus csr_admin@csr2/csr" I get "ERROR: ORA-12154: TNS: could not resolve service name"
This is my entry in my local tnsnames.ora:
CSR2.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CSR2)
An this, the entry in the entntry at the server's tnsnames.ora:
CSR2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CSR2)
Release 9.2.0.3.0
Thanks in advance.It's funny but the date I posted this topic isn't OK (more than 3 years ago)
-
Listener.ora syntax error in NV string
Hi. I'm attempting to establish a connection with an Access db using ODBC. I've edited my listener.ora file to read the following:
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = capital2)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname.domain)(PORT = 1521))
When I restart the listener, I get the following error:
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 16-JUN-2005 12:34:47
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
System parameter file is C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
Log messages written to C:\oracle\product\10.1.0\Db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.domain)(PORT=1521)))
TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
NL-00303: syntax error in NV string
Listener failed to start. See the error message(s) above...
I'm guessing that my listener.ora file has a ")" in the wrong place or something to that effect. Would anyone mind pointing this out for me?
Thanks!normel start :
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Myserver)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
you start:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = webserver)(PORT = 1521))
) ) -
Listener.ORA file in a RAC environment. VIP used. Is ithis OK
Dear Sirs:
Environment is - Oracle 10G (10.2.0.3.0) running on RHEL 4.0 for Intel Itanium, two node RAC
The listener.ora file is as follows
LISTENER_MYDB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mydb1-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = *192.168.1.10*)(PORT = 1521)(IP = FIRST))
SID_LIST_LISTENER_MYDB1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/ora10g/product/1020/db_1)
(PROGRAM = extproc)
INBOUND_CONNECT_TIMEOUT_LISTENER_MYDB1=110I am seeing that the VIP is used. Is this OK or should the public IP be used?? Everymonth during high activity the listener simply refused connection.
Please help.
regards,
CaesarI am seeing that the VIP is used. Is this OK or should the public IP be used?? yes,its ok to use both.
Everymonth during high activity the listener simply refused connection. whats the error msg you getting ,check log file for more detail. -
Change the host name in Listener.ora to fixed IP address
in Listener.ora i want change host name to IP :
==== OLD ====
LISTENER =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
(ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
=== WHAT I NEED ===
LISTENER =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL= TCP)(Host=100.100.110.1)(Port= 1521))
(ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
how can i do this .It is not recommended to change the name for an IP addressIt is not recommended by who? AFAIK there is no such sentence in documentation.
But there is other:
host Required. Specify the host name or IP address of the database server computer.
Instad of "It is not recommended..." better use "Consider this..."
, as if ever it changes in the future, you'll have to be back and change once again your ip.The same is truth when we are speaking about FQDN (fully qualified domain name).
How often your company changes the IP adresses on server platform?
My experience from past:
First case:
My company has rebranded and and domain name has been changed but IP has not. Unfortunatelly we were not using OID for resolving. If there were FQDN used then would have to make changes in many files. Fortunatelly we were using IP addresses.
Now we are using OID for resolving of tnsnames (as primary method).
What I want to say is both solutions (FQDN or IP) are fine. Each of them has some advantages and also disadvantages. -
Errors in my listener.ora file
oracle 10.2
windows xp
database run locally on my PC. just a test DB. I get errors when i try to start the listener pointing to the sidlist_listener line?
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\app\product\10.2\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME= orcl10g2.world)
(SID_NAME = orcl10g2)
(ORACLE_HOME = D:\app\product\10.2\db_1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
)TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is D:\app\product\10.2\db_1\network\admin\listener.ora
Log messages written to D:\app\product\10.2\db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
NL-00303: syntax error in NV string
Listener failed to start. See the error message(s) above...Hi,
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\app\product\10.2\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME= orcl10g2.world)
(SID_NAME = orcl10g2)
(ORACLE_HOME = D:\app\product\10.2\db_1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
)correct this
(GLOBAL_DBNAME= orcl10g2.world)
(ORACLE_HOME = D:\app\product\10.2\db_1)
(SID_NAME = orcl10g2)
ADDRESS_LIST - missing
- Pavan Kumar N
Oracle 9i/10g - OCP
http://oracleinternals.blogspot.com/ -
Listener name in the listener.ora file is getting change from GPROD to %s_
Dear Experts,
Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
Please advise.
[oracle@upgrade 11.2.2]$ lsnrctl start GPROD
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.2.0 - Production
System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
[oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
[oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
[oracle@upgrade GPROD_upgrade]$ ls
listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
[oracle@upgrade GPROD_upgrade]$ vi listener.ora
(SID_DESC =
(ORACLE_HOME= /u04/d01/tech_st/11.2.2)
(SID_NAME = GPROD)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u04/d01/tech_st/11.2.2)
(PROGRAM = extproc)
STARTUP_WAIT_TIME_%s_db_listener% = 0
CONNECT_TIMEOUT_%s_db_listener% = 10
TRACE_LEVEL_%s_db_listener% = OFF
LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
LOG_FILE_%s_db_listener% = %s_db_listener%
TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
TRACE_FILE_%s_db_listener% = %s_db_listener%
ADMIN_RESTRICTIONS_%s_db_listener% = OFF
IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.oraStep 1- Run the autoconfig on the db tier.
Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
[oracle@upgrade 11.2.2]$ ps -ef |grep inh
oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
Step - 3
Again down the apps tier services.
Step -4
Reset the listener.ora file in the database tier
Please advise.
Regards
Mohammed. -
I'm trying to set up my linux box so someone can telnet in and run a couple of queries in SQL*PLUS. I have th tnsnames.ora file setup correctly - I think. I'm not sure what I'm supposed to do with listener.ora. I know that this file is used by lsnrctl. Can someone give me some help with this? Thanks.
How did u know that your tnsnames.ora works, when you have not setup listener.ora?
Anyway, this might help:
http://homepages.tig.com.au/~jmsalvo/linux/oracle8i-5.html -
How to flush an instance in the listener.ora file
Hi,
We have Oracle DB server 10.2.0.3.0 running in RHEL4 2.6.9-42. It is a RAC Configured, previously 8 instances. Now we only have seven because we remove the other one; removedserver.company.com
Unfortunately, it was not removed following the correct method because the server was destroyed. We are able to remove it from the list of RAC though using deletenode.sh (in fact it is no longer appearing in +./olsnodes+).
Our problem now is that the instance name is still appearing in our listener.ora file. And I am getting error in alert.log
ORA-00130: invalid listener address '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=+removedserver.company.com+) (PORT=xxxx)))'
If I will edit the listener.ora manually and removed the instance from there, my problem will be
1. it might be added again in the listener.ora when we do adautoconfig
2. I am not sure of the impact if I will do it manually.
Hope somebody would help.
Thanks in advance.SQLNET files, listener.ora and tnsnames.ora must be hand edited by the DBA. Services, too, must be reconfigured by the DBA.
The impact of doing it manually is that it works. <g>
Maybe you are looking for
-
Cisco ASA 5520 Site-to-site VPN TUNNELS disconnection problem
Hi, i recently purchased a Cisco ASA 5520 and running firmware v. 8.4(2) and ASDM v. 6.4(5)106. I have installed 50 Site-to-Site VPN tunnels, and they work fine. but randomly the VPN Tunnels keep disconnecting and few seconds after it connects it sel
-
Margin Bug in CF8 Report Builder???
Build: 193563 When I set my left and right margins to .50 inches the generated report comes out with a .25 inch margin left and .75 inch right. After a couple of hours searching the web for a solution and playing with various combinations of margins,
-
Creating a fixed menu while the rest of the site scrolls
I want to create a 2 column page where the left column is a menu and doesn't scroll, while the right side holds text/pictures and does scroll (no scroll bar needed, though). An example can be seen here: http://hack.acmwsu.com/ Any ideas of how I can
-
Hello, One week ago, my white Intel iMac has begun to be really slow, always getting the spinning wheel. I ran Onyx maintenance scripts, defragmented, and finally formated and reinstalled my whole system. However, it did not solved the problem, but i
-
I am using the SVT to perform SINAD tests on a few signals in my current setup, additionally i would like to perform Signal to Noise ratio are there any LabVIEW functions to do this (I noticed a dynamic range VI but i am unsure about its likeness to