Possible locations of listener.ora in a global listener configuration.
Hi,
i am having a problem with my global listener configuration.
I have kept my listener.ora in /etc/oracle.
Can someone please let me know what are the possible locations for keeping listener.ora in a global listener configuration.
i know about /etc and /var/opt/oracle , any other locations allowed by Oracle?
The Oracle database forum might be a better place to to post this questions:
General Database Discussions
But from what I understand, you can define the TNS_ADMIN environment variable to define a central location for the listener.ora file.
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/config_concepts.htm#i490582
Similar Messages
-
Possible locations for Listener.ora in a global listener configuration
Can someone please let me know what are the possible locations for keeping listener.ora in a global listener configuration.
i know about /etc and /var/opt/oracle , any other locations allowed by Oracle?
I have currently placed it in /etc/oracle. Not sure if this is correct.Hm never heard of global listener configuration.
Basic listener configuration file listener.ora is always in $ORACLE_HOME/network/admin dir or in $TNS_ADMIN directory.
Listener configuration may differ for different oracle home versions.
You may want to check these MOS docs:
How to Use listener.ora in Non-default Location for 10g RAC [ID 420977.1]
Creating Multiple Listeners on UNIX - Including Migration or Upgrades [ID 149628.1] -
Is it possible to have listener for orcale shut won event ?
Hi,
We know that during normal shut down of the oracle database, message is sent to the clients. Is it possible to have listener for that event using JDC ?
Any suggestion is welcome.
TIA,
SudarsonThis is not something that Verizon would handle or be able to change. It would be something that Google would have to change in the Android source code, or the OEMs in their device specific versions. Or you could just look for another app.
-
GC 10gR3 - Edit Oracle Listener Configuration - listener.ora is DOS-Format
RDBMS Version:: 9i / 10g
Operating System and Version:: Unix / RHEL 4
Error Number (if applicable):: NL-00278
Product (i.e. Trace, DB Diff, Expert, etc):: Listener Configuration
Product Version:: 10.2.0.3
OEM Console Operating System and Version:: Windows 2003
GC 10gR3 - Edit Oracle Listener Configuration - listener.ora is DOS-Format under Unix
Hello everyone,
during an demo of Grid Control 10gR3 for an customer I found the following issue:
When the Grid Control Server is running under Windows and the listener.ora file of an target is edited with GC the resulting file is in DOS-Format even if the target is a Unix system. This can cause the listener to fail during the restart.
To reproduce that problem you have to do the following steps:
1. You need GC under Windows and a Listener target under Unix/Linux
2. Go to the edit page of the listener-target and use the "Edit" Button
3. Go to the "Logging & Tracing" Tab and enable Logging
4. Change the Logfile to a new filename e.g. LISTENER2.log
5. Apply that change with the "OK" button
6. Let the Listener get restarted on the next screen
Result:
You receive an error message:
LSNRCTL> Starting /opt/oracle/ora10g/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
NL-00280: error creating log stream /opt/oracle/ora10g/network/log
/listener2.log
.log
NL-00278: cannot open log file
SNL-00016: snlfohd: error opening file
Linux Error: 2: No such file or directory
Listener failed to start. See the error message(s) above...
Analysis:
The listener.ora file is in DOS-Format and the Listener seams to have some problems to create a new log-file in that case. If the listener.ora file is converted manually with the tool dos2unix to be in Unix-Format the Listener starts without problems.
I can reproduce that behavior on two grid control installations. Can someone also reproduce that problem? I have not found an Bug or Patch for that issue.
Best Regards
FrankHello,
well, the listener.ora file is correct - the only problem is that it is in DOS-Format. When I use the tool dos2unix to convert listener.ora to be in unix format there are no problems to restart the listener.
Bye
Frank -
Need help with possible dual listener configuration and listener traffic
Hello:
We seperate our network traffic to the database servers using VLAN's. We have application traffic on 192.168.1.x and replication/admin traffic on 10.112.28.x. We are looking to configure 2 listeners for the database, one to listen and respond on 192.168.1.x and one to listen and respond on 10.112.28.x. Right now, we have one listener that is configured for both networks, however, for servers that are connected to both networks, the client sends on 192.168.1 but receives a TNS redirect to 10.112.28. For clients only on the 192.168.1, the TNS redirect to 10.112.28 times out because the client cannot resolve the address. I can make available a Visio diagram of our current configuration. We also utilize server-side load balancing.
Here is our dilemma, confirmed by analyzing packet traffic to and from the database on a Fluke:
1) For servers in our environment that reside on BOTH network segments (multihomed), application "traffic" generated on 192.168.1.x arrives at the listener. Through server-side load balancing, a TNS redirect string is returned to the client, which, based on the following listener configuration, redirects the connection to the 10.112.28.x segment:
LISTENER_RMLNDB01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.112.28.8)(PORT = 1521)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1529)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
2) For servers that reside on only one network (ex. 192.168.1.x), when the redirect is returned to that server, it experiences a timeout and connection failure because it cannot physically reach 10.112.28.x
Is there any way, through tnsnames, splitting listener.ora, VLAN's, the database itself, anything, for us to have requests for 192.168.1 be returned on 192.168.1 and not redirected. Would client side load balancing be a better option? Any way to manipulate the service registrations?
Thanks for all future responses!
PaulHello:
We seperate our network traffic to the database servers using VLAN's. We have application traffic on 192.168.1.x and replication/admin traffic on 10.112.28.x. We are looking to configure 2 listeners for the database, one to listen and respond on 192.168.1.x and one to listen and respond on 10.112.28.x. Right now, we have one listener that is configured for both networks, however, for servers that are connected to both networks, the client sends on 192.168.1 but receives a TNS redirect to 10.112.28. For clients only on the 192.168.1, the TNS redirect to 10.112.28 times out because the client cannot resolve the address. I can make available a Visio diagram of our current configuration. We also utilize server-side load balancing.
Here is our dilemma, confirmed by analyzing packet traffic to and from the database on a Fluke:
1) For servers in our environment that reside on BOTH network segments (multihomed), application "traffic" generated on 192.168.1.x arrives at the listener. Through server-side load balancing, a TNS redirect string is returned to the client, which, based on the following listener configuration, redirects the connection to the 10.112.28.x segment:
LISTENER_RMLNDB01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.112.28.8)(PORT = 1521)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1529)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
2) For servers that reside on only one network (ex. 192.168.1.x), when the redirect is returned to that server, it experiences a timeout and connection failure because it cannot physically reach 10.112.28.x
Is there any way, through tnsnames, splitting listener.ora, VLAN's, the database itself, anything, for us to have requests for 192.168.1 be returned on 192.168.1 and not redirected. Would client side load balancing be a better option? Any way to manipulate the service registrations?
Thanks for all future responses!
Paul -
Error: ORA-16532: Data Guard broker configuration does not exist
Hi there folks. Hope everyone is having a nice weekend.
Anyways, we have a 10.2.0.4 rac primary and a 10.2.0.4 standby physical standby. We recently did a switchover and the dgbroker files automatically got created in the Oracle_home/dbs location of the primary. Now need to move these files to the common ASM DG. For this, I followd the steps from this doc:
How To Move Dataguard Broker Configuration File On ASM Filesystem (Doc ID 839794.1)
The only exception to this case is that I have to do this on a Primary and not a standby so I am disabling and enabling the Primary(and not standby as mentioned in below steps)
To rename the broker configuration files in STANDBY to FRA/MYSTD/broker1.dat and FRA/MYSTD/broker2.dat, Follow the below steps
1. Disable the standby database from within the broker configuration
DGMGRL> disable database MYSTD;
2. Stop the broker on the standby
SQL> alter system set dg_broker_start = FALSE;
3. Set the dg_broker_config_file1 & 2 parameters on the standby to the appropriate location required.
SQL> alter system set dg_broker_config_file1 = '+FRA/MYSTD/broker1.dat';
SQL> alter system set dg_broker_config_file2 = '+FRA/MYSTD/broker2.dat'
4. Restart the broker on the standby
SQL> alter system set dg_broker_start = TRUE
5. From the primary, enable the standby
DGMGRL> enable database MYSTD;
6. Broker configuration files will be created in the new ASM location.
I did so but when I try to enable the Primary back I get this:
Error: ORA-16532: Data Guard broker configuration does not exist
Configuration details cannot be determined by DGMGRL
Form this link,(Errors setting up DataGuard Broker it would seem that I would need to recreate the configuration....Is that correct ? If yes then how come Metalink is missing this info of recreating the configuration... OR is it that that scenario wouldnt be applicable in my case ?
Thanks for your help.Yes I can confirm from the gv$spparameter view that the changes are effective for all 3 instances. From the alert log the alter system didnt throw u pany errros. I didnt restart the instances though since I dont have the approvals yet. But I dont think thats required.
-
Warning: ORA-16829: fast-start failover configuration is lagging
Hi
I got waring for fast_start failover configuration
DGMGRL> show configuration
Configuration - activefailover_migdb
Protection Mode: MaxPerformance
Databases:
migdb - Primary database
Warning: ORA-16829: fast-start failover configuration is lagging
migdbdr - (*) Physical standby database
Warning: ORA-16829: fast-start failover configuration is lagging
Fast-Start Failover: ENABLED
Configuration Status:
WARNING
anybody please suggest solution for the sameDear shd,
Please check the following link;
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_dg.htm
*ORA-16829: lagging Fast-Start Failover configuration*
+DBMS_DG.INITIATE_FS_FAILOVER was invoked in a maximum performance fast-start failover configuration when the configuration was not in the user-specified redo lag limit.+
Oracle Error :: ORA-16829
fast-start failover configuration is lagging
Cause
The fast-start failover target standby database was not within the lag limit specified by the FastStartFailoverLagLimit configuration property. As a result, a fast-start failover could not happen in the event of a primary database failure.
Action
Ensure that the fast-start failover target standby database is running and applying redo data and that the primary database is successfully trasmitting redo data. If this condition persists consider raising the value of the FastStartFailoverLagLimit configuration property.
Ogan -
Is it possible to call a web service via UWL XML configuration?
Hello
Is it possible to call a web service via UWL XML configuration?
If yes then an example would be great.
RoyHi Roy,
Yes, yes it is possible.
Yesterday only I came across the following document which will answer your questions:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6?overridelayout=t…
~Ashvin -
Is it possible to delete message in the server using Mail configured using IMAP?
Is it possible to delete message in the server using Mail configured using IMAP?
Currently when I delete the message in Mail, the server still keep a copy of it, which means it is not deleted on the server. I know that POP can do this but I still want the option of being able to access it from other computers.
My server has only a small size, so I hope that I can just delete it from my Mail instead of having to log in to the server and delete it again.
Thank you.yxchng wrote:
Is it possible to delete message in the server using Mail configured using IMAP?
Yes, but doing so will remove it from everything else. -
Why the scan lister and listener configure/start from GRID home why not from Oracle Home.
Hi
why the scan lister and listener configure/start from GRID home why not from Oracle Home.> why the scan lister and listener configure/start from GRID home why not from Oracle Home.
Because Oracle says that's the way it has to be.
As @MohaAGOU said, starting in 11gR2, the Listeners (both SCAN and traditional) are now cluster resources. Let's start with the SCAN Listener. There are only 3 of them, even if you have 4 or more nodes in the cluster. If a node goes down and a SCAN Listener were running on it, Grid Infrastructure will relocate the SCAN Listener to a surviving node. Much easier to do this if the entire resource were in the GI home. Note that an instance cannot be relocated and it is running on a different home.
As for the traditional listener. The Listener itself won't be relocated during a node termination, but its VIP will.
Cheers,
Brian -
While installation, Apache listener configuration for 9ias at window screen
Hi,
I installed 8.1.7 enterprise edition oracle on windows 2000 and also removed IIS from windows .
While installing 9IAS Minimal edition , the problem i get is that
apache listener configuration for 9ias at windows screen doesnt splashes..
However , complete successfully message coming ...
But there is no Http Server or any 9ias product installed actually
What is wrong here ?
thanks in advance
Regards,
DefneHi,
I installed 8.1.7 enterprise edition oracle on windows 2000 and also removed IIS from windows .
While installing 9IAS Minimal edition , the problem i get is that
apache listener configuration for 9ias at windows screen doesnt splashes..
However , complete successfully message coming ...
But there is no Http Server or any 9ias product installed actually
What is wrong here ?
thanks in advance
Regards,
Defne -
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).
-
How to change the ORACLE_HOME location in listener
Hi,
I have 2 instances under one oracle_home.
I am planning to install new oracle home in another location and move one instance to that new oracle home.
My doubt is, how to change the listner.ora such that one of the instances should point to new oracle home.
1) Do I need to copy the listener.ora from old oracle home to new home and put only the new instance details in that?
I am not understanding how to deal with listener.ora without disturbing the old instance listener.
Thanks,
Mahiif we bounce the listener the connections to other might be lost.NO!
The listener contacts the DB to establish the initial connection between client & DB.
After the connection between DB & client has started, the listener has NO involvement between DB & client.
Stopping the listener has NO impact on existing sessions.
Edited by: sb92075 on Jul 28, 2009 4:37 PM -
Location of tnsnames.ora for Tora and Oracle XE Client
I Googled far and wide and did not see a CLEAR answer to my question, hopefully this will help others.
I have installed the debian oracle-xe-client and tora packages (tora rebuilt for oracle) on Ubuntu 8.04.
However, I did not know where I was supposed to place the tnsnames.ora file for my databases. I have tried running Tora with the environment variable of TNS_ADMIN set to the file where I placed my tnsnames.ora, however that did not work as Tora did not 'see' the file or its entries apparently. I know this works because I copied it from a Debian Etch box with the client and server installed.
I had even added a 'network/admin' directory structure to the //usr/lib/oracle/xe/app/oracle/product/10.2.0/client (ORACLE_HOME) with the tnsnames.ora but also with no success.
Now for the solution:
Simply remember that TNS_ADMIN points to the directory where the tnsnames.ora is and it will work. :)
I do have a suggestion that both Tora and sqlplus use a config file to set these directory(s) in addition to the overriding ability of the environment variable, TNS_ADMIN as is usually the case with UNIX apps (and thus expected).
Thank you,
JasonThe ODBC Instant Client Readme that is included in the install also indicates that %ORACLE_HOME%/network/admin/tnsnames.ora is the correct default location. What about OCI?
-
Hi There, Any one can tell me what is the location for initSID.ora in Apps
Hi There,
I've to perform some task with initSid.ora can any one help me with the location.
Thanks
BachanI got the location and file also.
But the problem starts now.
When i'm sending launch Pick release in OM concurent manager throw a error status.
And the log file is as bellow.
"+---------------------------------------------------------------------------+
Shipping Execution: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
WSHPSGL module: Pick Selection List Generation
+---------------------------------------------------------------------------+
Current system time is 04-APR-2007 16:13:03
+---------------------------------------------------------------------------+
**Starts**04-APR-2007 16:13:04
ORACLE error 20100 in FDPSTP
Cause: FDPSTP failed due to ORA-20100: File o0042035.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log.
ORA-06512: at "APPS.FND_FILE", line 396
ORA-06512
+---------------------------------------------------------------------------+
Executing request completion options...
Output is not being printed because:
The print option has been disabled for this report.
Finished executing request completion options.
+---------------------------------------------------------------------------+
Exceptions posted by this request:
Concurrent Request for "Pick Selection List Generation" has completed with error.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 04-APR-2007 16:13:07
+---------------------------------------------------------------------------+"
And for this i've i got some solution from metalink,
i.e as follows
"Note:392635.1" Just See that.
in this i want to perform activity like
1- change the UTL_FILE_DIR to have in front the same value like $APPLPTMP,
ex: /usr/tmp
you need to change it in initSID.ora and reboot the database after
2- grant all user read/write permissions over that directory:
chmod 777 /usr/tmp
As I've win-XP there is no need to set permission.
and now i'm Confused.
What to do?
Please help.
Maybe you are looking for
-
Intunes won't start - no error message
I have two problems: a. my iPod has been frozen for about three weeks now. b. iTunes 7 will not start more information: a. The iPod began freezing for a few seconds at a time, unfreezing itself randomly if I kept spinning my finger around the buttons
-
My pictures are not downloading from the cloud
I was doing a restore from the cloud on my new iPhone 5 every thing whent good. My pictures are still downloading (going on 20hr) what do i do?
-
Problem handling special characters while generating pdf
I have special char stored in DB when user pasted that on the screen. i will read and make the DOM and add as attribute. when i apply xslt transformer and send it to driver(FOP) . it gives following error. FOPException; invliad character  in xml.
-
How do I remove the Java 1.6.0_41 update from App Store updates list without actually installing it? I don't want to revert to an older Java than what I got from Oracle just a week ago (Java "1.7.0_11"). PS, I thought Apple was no longer doing its ow
-
Endpoint Protection Managed Workstations: Antimalware policy application failed
Hello, When looking at the Endpoint statistics I have the line for systems failing to apply policy. An easy fix to this is to delete the registry.pol file. I would like to make a collection that automates this task for me. Basically if it reports bac