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>
Similar Messages
-
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. -
How to set UTL_FILE parameter in the INIT.ORA file
Dear all,
How can i set UTL_FILE parameter in the INIT.ORA file.
Also let me know how to create a directory over there.I am new to this area.
Where exactly i can locate these details and create directory.
Regards,
Bala.post this in database forum
-
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
-
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 -
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!! -
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. -
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 -
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, -
How to create an instance of the database
No that won't work. I have to set it up independant from each other because I can't get to Uni until Monday and I want to have this done over the weekend really.
The main issue seems to be now how to create an instance of the databaseTo create a database:
you first connect as internal (user) with the passeword 'oracle'
the syntax is: connect internal/oracle
You type in this script:
STARTUP NOMOUNT PFILE=$PFILE
CREATE DATABASE db01
LOGFILE
GROUP 1 ('c/oracle/oradata/db01/redo_01a.log',
'c/oracle/oradata/db01/redo_01b.log'
) size 100k,
GROUP 2 ('c/oracle/oradata/db01/redo_02a.log',
'c/oracle/oradata/db01/redo_02b.log'
) size 100k
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXLOGHISTORY 1
DATAFILE 'c/oracle/oradata/db01/system01.dbf'
size 7M
MAXDATAFILES 254
MAXINSTANCES 1;
This script could be modified to reflect the features you want for your database.
db01 = the name you can give to your database
Good luck,
Henri -
How to write the listener.ora and tnsnames.ora
Hi, there
I store my oracle database in the machine A. In the machine B,
it only install the oracle without create database. How should
I write the
listener.ora and tnsnames.ora? So that the machine B could
acces the database which store in the machines A.
Could you give me a simple example and with some description.
Thanks you very much!!
nullwrjih (guest) wrote:
: Hi, there
: I store my oracle database in the machine A. In the machine B,
: it only install the oracle without create database. How should
: I write the
: listener.ora and tnsnames.ora? So that the machine B could
: acces the database which store in the machines A.
: Could you give me a simple example and with some description.
: Thanks you very much!!
1 - you can simply copy the files from the server to the client.
If they are correct, it must work fine
2 - Follow the examples inside the
$ORACLE_HOME/network/admin/samples
3 - Follow my examples:
I will try to make it simple:
The server must have the listener.ora. The client does not need
it if you don't have a database there.
I cannot tell you what is mandatory in the file, and what is not.
The listener.ora has the interface (addr or name)
to listen, the port/proto, and some info about your database
($ORACLE_HOME and Name).
#--- Listener.ora -- my minimal settings ---
LISTENER =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
(ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
STARTUP_WAIT_TIME_LISTENER = 1
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
TRACE_LEVEL_CLIENT=OFF
SID_LIST_LISTENER =
(SID_LIST=(SID_DESC=
(SID_NAME = SACS)
(ORACLE_HOME=/oracle/805)))
#---- end of listener.ora ---
Both machines can, and should have similar TNSNAMES.ORA:
tnsnames.ora has the address or name of the server, and the Name
of the database you wish to connect to.
#--- tnsnames.ora --- minimal.
ORCL = (DESCRIPTION =
(ADDRESS_LIST=(ADDRESS = (PROTOCOL = TCP)(Host=Server)(Port =
1521)))
(CONNECT_DATA = (SID = SACS)))
#--- end of tnsnames.ora ---
And finally sqlnet.ora, that is very usefull for setting secure
networks or
just logging for looking for errors. You can also set your
keepalive timeout.
#--- sqlnet.ora
TRACE_LEVEL_CLIENT = OFF
names.directory_path = (TNSNAMES)
SQLNET.EXPIRE_TIME = 10
#-- end of sqlnet.ora --
null -
How to install several instances of the same application on a computer?
Hej,
I have an application in LV 2009, where I have created an installer. The installer installs to a directory called \Receiver relative to the Program Files directory. If I install this once to a computer, everything is OK.
However, I want to install the same application twice on the same computer. There should be no conflicts between the two applications, since I can configure them to work on different directories and ports. But if I call the installer again, and selects another directory, nothing is installed and I get the message "Installation Summary - No software will be installed or removed". It seems like the installer ignores that I have selected another directory, and just uses the default directory, relative to the Program Files directory.
Anyone knows the trick, how to install several instances on the same computer ?
BR, Jan
Jan Nielsen
Freelance system analyst and LabVIEW programmerHi Jan,
This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha text editor whether this GUID has changed.
But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
allowmultipleinstances=True
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
How to find which instance in the RAC cluster the application is connected
How to find which instance in the RAC cluster the application is connected to ?
Raeeswell if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
select inst_id,sid,serial#,program,username from gv$session where username is not null;
Thanks
Gaurav -
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? -
IPC entries in the listener.ora
My listener.ora looks like the following,
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
Can I remove the IPC entries in the listener.ora?
Database version is 11.2.0.3 and OS is Sun Solaris1009506 wrote:
My listener.ora looks like the following,
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
Can I remove the IPC entries in the listener.ora?I give up.
Can you?
FWIW, you can remove the whole listener.ora file & the listener will still start & run without error.
How do I ask a question on the forums?
SQL and PL/SQL FAQ
Maybe you are looking for
-
Problem in Table maintenance view
Hi all, i am getting some problem in table maintenance view. In my table i have some fields and when i created my table maintenance view , it is created , but when i try to see it in SM30 its not showing my fields and even i am unable to create a n
-
Kernel Panic Every Boot After 10.6.8 Update (Inc Combo)
Will boot in safe mode. Can someone let me know what is causing this please? Log Below: Sun Jan 26 13:44:58 2014 panic(cpu 0 caller 0x2abf6a): Kernel trap at 0x5839521c, type 14=page fault, registers: CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000
-
== Issue == I have another kind of problem with Firefox == Description == Well....NOW I have to click on the task bar in order to activate links in any new page I open, or to move from tab to tab, this is the stupidest thing, more annoying than using
-
Opening a file results in "Untitled" filename
Recently (for about 2 weeks) Fireworks has a new trick up it's buggy sleeve: Whenever I open a file, it loads and then Fireworks shifts from showing the filename in the tab to "UntitledX" where X is a number. Now when I try to save it asks me where t
-
Segmentation of Organizations related to other Organizations
Hi Experts, I am trying to segment Organizations (e.g. Sold-tos) that are related other Organizations (e.g. Buyers). Buyers are not created as contact persons but as corporate accounts as well and are connected to the Sold-to via the relationship "Ha