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,
Caesar
I 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.
Similar Messages
-
Tnsname.ora and listener.ora files in RAC environment.
Want to clear my concept regarding
tnsname.ora and listener.ora files in RAC environment. Is there any good notes on Metalink for that?Check this metalink note, it covers specific RAC issues:
Configuration of Load Balancing and Transparent Application Failover
Note:226880.1
Werner -
Listener.ora file on RAC 11gR2 with SCAN
Hello,
I have 11.2.0.1 Rac with 2 nodes configured to work with SCAN.
The following listener.ora file was created during the rac installation.
(I only changed the name of the instance to XYZ in the output bellow).
There is only one listener.ora file for both the rdbms instance and the ASM instance.
Is it a good best practice or should i consider to create a seperate listener.ora
to the rdbms instance and to the ASM instance ?
The listener.ora is look as follow:
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_XYZ_=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_XYZ)))) # line added by Agent
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_XYZ=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by AgentLSNRCTL> show current_listener
Current Listener is LISTENER
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:9195 refused:0 state:ready
LOCAL SERVER
Service "XYZ_SRV" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:803987 refused:0 state:ready
LOCAL SERVER
Service "XYZ" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:803987 refused:0 state:ready
LOCAL SERVER
Service "XYZ_XDB" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: xyzdb-11-1, pid: 11923>
(ADDRESS=(PROTOCOL=tcp)(HOST=xyz-11-1)(PORT=36594))
The command completed successfullyThanksIs it a good best practice or should i consider to create a seperate listener.ora to the rdbms instance and to the ASM instance ?No, you should not be creating separate listener for each Grid & DB. Listener is node specific resource. Oracle recommends in RAC environment the listener should be configured from GRID home and it will be able to serve both Grid and DB services.
It also helps in maintenance where as you can upgrade DB without bothering Listener, can have several db instances, and can have several versions of DB supported by a single listener.
I hope this answers your question. if yes please mark the question as answered and do not forget marking answer as a Correct answer.
Edited by: pgoel on Mar 5, 2011 10:50 PM -
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> -
Can't get Listener to use the Correct listener.ora file
I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
I want to start the Oracle Listener on this server. I have:
set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
set ORACLE_HOME = E:\oracle\product\10.2.0
This is what I get:
C:\Documents and Settings\oracle>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service <OracleTNSListener>, error 1060.
TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Message 279 not found; No message file for product=NETWORK, facility=NL
Message 1073 not found; No message file for product=NETWORK, facility=TNS
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Start Date 02-FEB-2009 15:42:10
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
The listener supports no services
The command completed successfullyChris Wendell wrote:
I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
I want to start the Oracle Listener on this server. I have:
set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
set ORACLE_HOME = E:\oracle\product\10.2.0
This is what I get:
C:\Documents and Settings\oracle>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service <OracleTNSListener>, error 1060.
TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Message 279 not found; No message file for product=NETWORK, facility=NL
Message 1073 not found; No message file for product=NETWORK, facility=TNSAny time you get "Message nnn not found; No message file for product...", it means your environment is not set up correctly ... there are some environment variables that have incorrect values. Thus, it can't even find the message file to report the message associated with "Messasge nnn". No doubt because you installed by simply copying some files instead of running the installer.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
Start Date 02-FEB-2009 15:42:10
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
The listener supports no services
The command completed successfullyLooks like the listener is running, but it has no services registered with it. So far I see no indication that it is using the wrong listener.ora, only that some incorrect environment variables are preventing it from completely reporting any problems. How many listener.ora files do you have, and where are they located? -
Tnsnames.ora, sqlnet.ora & listener.ora files are not exit
DB version: 10.2
Hello All,
I just joined the project and notice tnsnames.ora, sqlnet.ora & listener.ora files are not exit under $ORACLE_HOME/network/admin.
But still we can connect to the database,
From command prompt or via enterprise manager studio from client site.
Any idea?
OR
what is the best way to create above files in the existing database?
DNtnsnames.ora and sqlnet.ora are client side files, listener.ora and sqlnet.ora are server side files.
Listener.ora need not exist if using defaults and dynamic registration of services. It may be possible to cope without all those files, depending on the environment.
Is the database on the local or remote computer and how are you connecting (from sqlplus)?
Maybe you have a tnsnames.ora somwhere else? (Try using find command) Maybe TNS_ADMIN is set? -
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. -
R12 upgrade , after 6678700, started services, listener.ora file missing
Hi ,
1)- Upgrading to r12 from 10.5.10.2
2)- 6678700 completed (so far just for US, not NLS).
3)-Just for testing purpose , when started services, got following errors related to listener.ora.
Please help.
Executing service control script:
/u01/oracle/inst/apps/TEST_epiktest/admin/scripts/adalnctl.sh start
script returned:
adalnctl.sh version 120.3
Checking for FNDFS executable.
Starting listener process APPS_TEST.
adalnctl.sh: exiting with status 1
adalnctl.sh: check the logfile /u01/oracle/inst/apps/TEST_test/logs/appl/admin/log/adalnctl.txt for more information ...
.end std out.
grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directory
.end err out.grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directoryPlease run AutoConfig and make sure it completes successfully -- AutoConfig will create the listener.ora file for you.
Thanks,
Hussein -
Listener showing services not defined in listener.ora file??
I have a puzzle.
I have a listener.ora file which lists 4 services. (4 SIDS).
when I start the service, I do a status command and it lists the 4 services as defined in the listener.ora,
as expected, however a couple of minutes later it adds more services (which appear to be all the started instances) .
Is this the norm?
Its not what Im expecting.
thanks in advance.
MarkHi Mark,
as long as the databases with different architectures are on different boxes, no problem.
If you would migrate them one day to one box you need two listener. One for the 32bit instances and one for the 64bit instances. To avoid that the problem occures by accident, don't use port 1521.
Also if you don't want a database to automatically registering itself to a listener on port 1521 set the LOCAL_LISTENER init.ora parameter to the listener usually serving the instance.
There are two docs in metalink you might want to read:
Note:298697.1 is about the 32bit/64bit problem
Note:76636.1 is about (automatic) service registration -
Figuring out location of tnsnames.ora and listener.ora file.
Hello.
Is there a way to figure out what my oracle instance is reading in terms of tnsnames.ora and/or listener.ora file? According to the 10g docs, they can be found in a few places:
1. $ORACLE_HOME/network/admin
2. $TNS_ADMIN
3. in a global configuration directory, on solaris it is /var/opt/oracle.
How would I know which one my instance/lsnrctl is reading, aside from checking out differences in behavior?
Plus, how would I change where to look for the file?
thanks.On Solaris you can use 'truss' on the binary and grep for all the open() calls to see exactly which files are being used or tested for in order. I had an issue once where a tnsnames.ora was being used and it turned out to be $HOME/.tnsnames.ora (IIRC). There are similar calls under Linux (strace).
-
Hi,
How do I update the listener.ora file to add my listener names hrms for my database with the same name. Current it is
# listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
Thanks for your helpThanks for all your help - all was good until a re-boot!
I'm trying to access direct the server, single server install set the ORACLE_SID=hrms
Here is the tnsnames.ora file -
# tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
hrms =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = hrms)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
and the listener.ora file
# listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = hrms)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(SID_NAME = hrms)
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
Thanks!! -
Needs Clarification Regarding Listener.ora file
I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
# listener.ora Network Configuration File: C:\oracle\product\10.2.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.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
I can understand every entry in this file accept the following
*(SID_DESC =*
*(SID_NAME = PLSExtProc)*
*(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
*(PROGRAM = extproc)*
*(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
Although rest of entries refer to network services(Database name) and host address and protocol etc.
what these above refere to.
Please clarify me in this.
Regards,
D.Abbasi(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
Sample create External Procedure:
http://surachartopun.com/2008/07/create-and-run-sample-external.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, -
Questions on sqlnet.ora, listener.ora files in RAC environment.
Experts,
I've some confusion with below files in RAC environment.
sqlnet.ora
listener.ora
These files are available in two locations: <GRID_HOME> & <DB_HOME>.
My questions:
1. Why do we have two versions of files ?
2. When I query lsnrctl status from BOTH the homes, it says it is using listener.ora from <GRID_HOME> as shown below.
Listener Parameter File D:\app\11.2.0\grid\network\admin\listener.ora
3. What is the use of files which are in <DB_Home>
4. If you make some changes to listener using "Netmgr" tool, we expect it will update listener.ora in <GRID_HOME>. Interestingly, it is changing the contents of listener.ora in <DB_HOME> .
Can anyone please clarify it ?
Thanks in advance.859875 wrote:
1. Why do we have two versions of files ? In the past, the CRS s/w did not include ASM (ASM did not provide support for cluster voting and registration disks). Thus the networking components such as SQL*Net and the Listener were not part of the CRS installation.
With Grid Infrastructure, ASM supports cluster voting and registration disks and is recommended to be used for that (as oppose to the old style of raw disks or using an external cluster-based cooked file system like <i>ocfs</i>). And with ASM comes the SQL*Net networking layer and s/w (such as the Listener). As ASM ships with Grid Infrastructure, it now also includes the same networking layer as what the RDBMS installation will. Thus both <GRID_HOME> and <DB_HOME> will contain the same networking components.
However, only a single Listener is for example needed. And that can only run from a single base location. So for operational use, only one version will be actively in use. -
Help with Listener.ora file location on Suse Linux
Hi
Ok, 2 scenarios
Scenario 1
Installed Oracle 10.1.0.3.0 on Suse 9.2, the location of the listner is: /oracle/dborafiles/application_name/instance/admin/netadmin/
Which is great, as this is where i want the listener and tnsnames.ora files to be under.
Scenario 2
Installed Oracle 10.2.0.1.0 on Suse 9.2 (using exactly the same method for doing the above instllation), and for some odd reason, the location of Listner and tnsnames.ora files are under:
/oracle/dboracle/orabase/product/10.2.0.1.0/network/admin/
This is the wrong location for me, I want the listner and tnsnames .ora files to be under same like scenario 1.
2 Questions:
Q1: why the listener.ora and tnsnames.ora files are diffrent location in Scenario 2 comapred to Scenario 1.
Q2: How do I correct it.
Note: the TNS_ADMIN in .profile is exactly the same for the above 2 installations, changed the applciation name and sid offocure, but all the same:
TNS_ADMIN=/oracle/dborafiles/applicatio_name/instance_name/admin/netadmin
export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH
Can someone please help?For a long time now, the tnsnames and listener files have been placed in the ${ORACLE_HOME}/network/admin by default. That is the location that the installer will create these files in.
Don't know why 10.1.0.3.0 install created the files in that folder. That is not the default behaviour in versions prior to this and versions after this.
Check the settings of the environment variables that were in effect at the time of 10.1.0.3.0 install.
Maybe you are looking for
-
New Macbook Pro i7 with 750G HDD - Tech Wants to Upgrade to 250g SSD? Is this right?
I really need some guidance and advise! I am NOT a computer savy person so please forgive my ignorance! I just purchased my daughters MacBook Pro i7 with a 750g HDD. It is basically brand new and has been used less than 40 hours. Still under warranty
-
I book doesnt work with power cord only
Hello. I was just using my ibook g4 and shut it down. When i tried to turn it back on it worked for about 5 minutes then it shut off. I tried taking out the battery and holding down the power button for 5 seconds among other things. I gave up and bor
-
Is diadem the best solution to store test limits and parameters
I understand that diadem is the best repository for test results for analysis and reporting. However can I make use of the database structure to store test limits and instrument setup values as a TDM file that I can call upon in a VI. If so, is it po
-
How to add/edit render video presets?
I can't find how to add or edit render video presets used in (File->Export->Render Video) dialog. Am I missing something?
-
How do I move a partition on my mac hard drive, to an external hard drive so that i can run windows when the external hard drive is connected