Listener picks no database
RH5
10g and 11g
There is the scenario:
Two listeners running:
ps -ef |grep tns/oracle_home/home/dba/oracle/product/db_oim/bin/tnslsnr LISTENER_11G –inherit
/oracle_home/home/dba/oracle/product/10.2.0.3/bin/tnslsnr LISTENER_10G –inherit
Database is idrep.
Tnsnames.ora entry:
IDREP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = CENTRAL)
(PROTOCOL = TCP)
(HOST = caldba3)
(PORT= 1527)
(CONNECT_DATA =
(SID = IDREP)
LISTENER_11G-is on port 1529
LISTENER_10G-is on port 1527
The listener parameter file is /etc/listener.ora
-------lsnrctl status LISTENER_11G
Service "IDREP" has 1 instance(s).
Instance "IDREP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
--------lsnrctl status LISTENER_10G
(no entry for idrep)
Puzzled why LISTENER_10G picks no idrep (running on the same port)?
(there is /var/opt/oracle/listener.ora with a slightly different content- only for LISTENER_11G-poprt is 1529)
Sorry if the post looks king of messy...
Thx,
tnsnames.ora has NOTHING to do with anything involving any listener.!
Puzzled why LISTENER_10G picks no idrep (running on the same port)?Since you are using non-standard ports & non-standard listener_names,
everything must be manually configured.
Therefore I conclude you have an error of omission.
You did not configure SID=idrep to utilize listener LISTENER_10G.
SQL> show parameter listener
NAME TYPE VALUE
listener_networks string
local_listener string LISTENER_V112
remote_listener string
Similar Messages
-
Use 1 listener for multiple database in a server
hi guys,
just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
Please further advice.Shivananda Rao wrote:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = AAAA)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = AAAA)
(SID_DESC =
(GLOBAL_DBNAME = BBBB)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = BBBB)
)thanks ! -
Information listener.log on database
Good afternoon,
I got problem to get from what souce that connect to oracle.
my question :
does oracle save the information about the listener.log in database ?
I can see in listener.log there are information about source program that connect
to oracle, example EXCEL.EXE
I want to use it to create logon trigger and not allowed user to connect using ms excel.
If I use v$session field program, it seem I could not get it.
example :
if the user used shortcut in screen then the information exel.exe is not there.
ThanksThank you very much for replaying.
If the user using the shortcut, it doesn't show the excel.exe or access.exe,
(actually if v$session on field program show it, it's ok for me, because if they rename the name acess.exe become my.exe, I will validate in my trigger logon, only sqlplusw.exe or ifrun60.exe are allowed to connect to the oracle, so another products are not allowed).
my testing :
1. open microsoft Access then open connect to oracle
SQL> select program from v$session
PROGRAM
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE
SQLPLUSW.EXE
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE
11 rows selected.
2. create shortcut for Ms Access file on desktop then open it (double click) then connect to oracle
SQL> r
1* select program from v$session
PROGRAM
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
SQLPLUSW.EXE
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
11 rows selected.
test no.2 didn't show up the MSACESS.EXT, but
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
and I guess it was cut because the length field program on V$session only 64 char.
I think PRODUCT_USER_PROFILE is basing on user, I have never tried it yet, but if base on user, I don't think I can use it. I need to protect base on computer / terminal.
any suggestion ? -
How to stop and start listener auto. when database is open and shutdown?
Hi,
is there a way, in Window , i can shutdown the listener service when the database is shutdown (the rdbms service still up) and startup the listener when the database is open?
ThanksRon_B wrote:
In simple way,
when the window rdbms service is runing and the database is in shutdown or stop state, the listener have to be stop.
The listener have to be start only when the database pass from nomount to mount.With mentioning the fact that there is abosultely no such dependency between listener and database, I am really curious to know that why you want to do it? Listener is merely a process and even if its running, there is no such harm or resource consumption it would do that you need to shut it down as and when db would be.
HTH
Aman.... -
Listen to a database table (inserts, deletes etc)?
Hi,
is there a chance to listen for a database table for updates?
The programm should not stress the system. I'm looking for something like a listener in JAVA.
Thank You!Wow! Two development systems, a dream for many! I now see your dilemma. I don't think this can be resolved by an IT solution. You need a project management solution. Your project managers who oversee the developers and configurators on both systems should come up with a strategy of not to step on each other toes. Let us say one works on SD configuration on one system and other works on MM configuration on another. That way they will not be doing the same thing. Then there will be those touch/integration points where there should be clear cut guideline as to who does what. As far as developers are concerned, they should also have clear naming standards and should follow them.
I am curious as to why you have two development systems. Will it not lead to duplication of work(as you see now). Then there will be the problems of one overwriting the work of others. Even if two seperate projects are in development on two different boxes, if both need to configure the same activity but different way, will it not lead to one overwriting others work?
How are you keeping the two development environments in sync with each other? Is the purpose of two development environments is to do independent developments or is it to just provide more bandwidth and power. If it is the second reason, then have you tried a landscape similar to most production systems, where there will be multiple servers working, yet sharing the same database(distributed architecture)? If it is the first, then proper guidelines and naming standards should avoid most of those situations.
Even, the enqueuing strategy you are looking for will be difficult to design. If you look at SPRO, there are at least 100 tasks that you can do there, and some thousands of tables will be there behind those tasks, so how are you design your enqueue table, by task or by individual table? Add to the mix the development objects, it becomes even more complicated and don't forget basis and security changes. If you design your enqueue table based on the transport objects, it will be difficult to know the content of the transport, excepts at a metadata level. Also, can you imagine how much space this table(s) going to take up?
So many questions, but no answers. A technical solution is not necessarily always the best solution, even though I am technical person!!! Either your scope should be very limited to do such a thing, or you should tackle it with non-technically, standards, procedures and guidelines.
Regards,
Srinivas -
Hi,
i installed oracle EM GRID CONSOLE on my linux system with database called "emrep"
and then i installed another database "orcl"
now when i log into grid console and i view my targets i see only one listener
called "LISTENER0_oracle.ebenezer.com"
and when i see the serviced databases for this listener, i see both the databases under this listener.
does this mean that one listener in one system is all required to service how many databases as possible.
or do we need one unique listener for each database. if then how can i create unique listeners.
Can someone help me please.
Thanks,
Philip.Philip,
I will try to answer at your questions.
so from what u r saying is, if i have 3 databases in
my linux system under different oracle_homes.
all i need is one listener.ora file and have all 3
databases start under this one file. and i can delete
the other 2 listener.ora files, because i dont need
them at all.For this, my answer is a question : why have different ORACLE_HOME if databases are in same version ? This is Ok when database are in different oracle version.
1. if i want to know how many listeners are in setup...You can see it with lsnrctl command, after set well ORACLE_HOME (for linux, export ...) :
set ORACLE_HOME=e:\oracle\ora92
E:\oracle\ora92\bin>lsnrctl status
LSNRCTL for 32-bit Windows: Version 9.2.0.7.0 - Production on 16-NOV-2005 22:44:
41
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gocha)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.7.0 - Produc
tion
Start Date 16-NOV-2005 22:44:04
Uptime 0 days 0 hr. 0 min. 40 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File E:\oracle\ora92\network\admin\listener.ora
Listener Log File E:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gocha)(PORT=1522)))
Services Summary...
Service "demo9i" has 1 instance(s).
Instance "demo9i", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
E:\oracle\ora92\bin>>
2. when i create a listener using net configuartion...For my part, manually seems the only one solution in your case.
>
3.when i have 3 databases and i when i login through...When you are logon to database, you can see what db with
select * from v$instance;But to connect to an other db, you need first set as well your ORACLE_SID
export ORACLE_SID=emrep
sqlplus '/ as sysdba'>
4. when i create a database by default the listener...Default name is well in most of case, but you can give a name to know the environment (like LISTENER_DEV, LISTENER_PROD...)
Perhaps you need to read some Oracle docs. You can find here http://www.oracle.com/pls/db102/portal.portal_db?selected=1 too many docs, I can advise you to read 2 Day DBA to start as well your dba life.
Good luck in your job,
Nicolas. -
Eurosign not displayed correctly when picked from database
Hi ..
I'm having a problem getting a eurosign stored in an Oracle Database to be displayed correctly in my Crystal Reports 11.5.
When using the built in (preview) Crystal Viewer, the eurosign is displayed correctly, but when I want to print the report directly to a printer or to export it to pdf the eurosign is displayed as a box?
It only haapens when i need to pick the eurosign from the database. If I insert in a textbox on the report, it will show correctly.
Please Help.
Best regards,
JacobWhat is the source of the text stored in the database. I ran into an issue a ways back where someone was copying news articles from a website into their database and the euro symbol would not display correctly (unless the option HTML Text Interpretation was used).
You might want to do a quick check to see if it is stored as an ascii character using a formula similar to the following;
asc(mid({database, x, 1}))
where x = the position of the euro symbol in the string.
The formula result should be 128.
Edited by: Graham Cunningham on May 22, 2009 12:20 PM -
How to configure one Listener for 2 databases on the same server
Hello all,
Please, I am stuck as with my application server which requests the port 1521. I want to configure the repository to make use of the port 1521 which is also shared by another database on the server.
Regards,
NadineMaybe it is worth mentioning here that am installing it with two different users as to have two ORACLE_HOME independent of each other.
Below are the configuration files for the Listener.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = test.appstech.local)
(ORACLE_HOME = /d02/app/oracle/product/10.2.0/db_1)
(SID_NAME = test)
(SID_DESC =
(GLOBAL_DBNAME = testing.appstech.local)
(ORACLE_HOME = /d01/app/oracle/product/10.1.2/ora_infra)
(SID_NAME = testing)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ebs.appstech.local)(PORT = 1521))
TRACE_LEVEL_LISTENER = USER
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = test.appstech.local)
TESTING =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = testing.appstech.local)
Regards, -
How to configure different listener for each database in 11gR2 RAC
Hi Friends,
Current Prod Setup :
11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
Having 4 databases which are using SCAN-IP and listening on default port only.
As per policy, we have to create separate listeners (on different port) for each database.
like,
DB1 - 1522
DB2 - 1523
DB3 - 1524
DB4 - 1525
Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
Thanks in advance..
Regards,
ManishHi,
I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
[oracle@ravish5 admin]$ cat listener.ora
LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
[oracle@ravish5 admin]$ ps -ef | grep lsnr
oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
[oracle@ravish5 admin]$ lsnrctl status LISTENER_A
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
STATUS of the LISTENER
Alias LISTENER_A
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 02-MAY-2012 00:46:42
Uptime 0 days 2 hr. 32 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
Services Summary...
Service "TEST" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TESTXDB" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "srvc_test.clover.com" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
The command completed successfully
SQL> show parameter listen
NAME TYPE VALUE
listener_networks string
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.3.16)(PORT=1529))))
remote_listener string ravish-scan:1529
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@ravish5 admin]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
[oracle@ravish5 admin]$ srvctl config scan
SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
[oracle@ravish5 admin]$ srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle
Home: <CRS home>
End points: TCP:1521
Name: LISTENER_A
Network: 1, Owner: oracle
Home: /11g_database/11.2.0.2/product/home_1
End points: TCP:1529
[oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
Service name: srvc_test.clover.com
Service is enabled
Server pool: TEST_srvc_test.clover.com
Cardinality: 2
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: true
Failover type: SELECT
Failover method: BASIC
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: TEST1,TEST2
Available instances:
TEST_NEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
(LOAD_BALANCE = yes)
(FAILOVER = ON)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = srvc_test.clover.com)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
Regards,
Manish -
Error while starting listener on my database TNS-1255,TNS-12560, TNS-00525
Hi All,
I am newbie to oracle and i have been struggling from last one week to get this error corrected on my database.
Listener services are not working due to which i'm unable to proceed my work. Please provide ur help as i really want to learn.
Edited by: 978366 on Jan 12, 2013 6:18 AMPlease take a look at all the details asked by you guys. It will really helpful if this can get fixed
[oraprod@mycomp admin]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
10.10.10.100 mycomp.mydomain.com mycomp
[oraprod@mycomp admin]$ uname -a
Linux mycomp.mydomain.com 2.6.9-89.0.0.0.1.ELhugemem #1 SMP Tue May 19 04:38:38 EDT 2009 i686 i686 i386 GNU/Linux
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
listener.ora entry
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mycomp.mydomain.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROCO))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = test.mycomp.mydomain.com)
(ORACLE_HOME = /u01/app/oraprod/product/1020/db_1)
(SID_NAME = test)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oraprod/product/1020/db_1)
(PROGRAM = extproc)
tnsname.ora entry
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mycomp.mydomain.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TEST)
listener status
[oraprod@mycomp admin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 14-JAN-2013 16:44:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mycomp.mydomain.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCO)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
[oraprod@mycomp admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 14-JAN-2013 16:44:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oraprod/product/1020/db_1/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[oraprod@mycomp admin]$ -
Listener TCPS Oracle Database SSL
Hello,
I would like to switch my listener from tcp to tcps.
But we don't know how to do this, my configuration,
SERVER:
From server "*listener.ora*":
SID_LIST_LISTENER =*
+(SID_LIST =+
+(SID_DESC =+
+(SID_NAME = PLSExtProc)+
+(ORACLE_HOME = /opt/u01/app/oracle/product/10.2.0)+
+(PROGRAM = extproc)+
+)+
+)+
SSL_CLIENT_AUTHENTICATION = FALSE*
WALLET_LOCATION =*
+(SOURCE =+
+(METHOD = FILE)+
+(METHOD_DATA =+
+(DIRECTORY = /etc/ORACLE/WALLETS/oracle)+
+)+
+)+
LISTENER =*
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = tibcoone)(PORT = 1521))+
+)+
+)+
TRACE_LEVEL_LISTENER = ADMIN*
From server "*sqlnet.ora*":
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS)*
SSL_VERSION = 0*
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)*
SSL_CLIENT_AUTHENTICATION = FALSE*
TRACE_LEVEL_SERVER = ADMIN*
WALLET_LOCATION =*
+(SOURCE =+
+(METHOD = FILE)+
+(METHOD_DATA =+
+(DIRECTORY = /etc/ORACLE/WALLETS/oracle)+
+)+
+)+
SQLNET.WALLET_OVERRIDE = TRUE*
From server "*tnsnames.ora*":
TIB =*
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = tibcoone)(PORT = 1521))+
+)+
+(CONNECT_DATA =+
+(SERVICE_NAME = TIB)+
+)+
+)+
WALLET_LOCATION =*
+(SOURCE =+
+(METHOD = FILE)+
+(METHOD_DATA =+
+(DIRECTORY = /etc/ORACLE/WALLETS/oracle)+
+)+
+)+
EXTPROC_CONNECTION_DATA =*
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+)+
+(CONNECT_DATA =+
+(SID = PLSExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
Version database server is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
Two files in the path from Wallet:
/etc/ORACLE/WALLETS/oracle/ewallet.p12
/etc/ORACLE/WALLETS/oracle/cwallet.sso
Server SQL> select parameter, value from v$option where upper(parameter) like '%SECURITY%';
Enterprise User Security TRUE
Oracle Label Security FALSE
CLIENT:
From client "*sqlnet.ora*":
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS)*
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)*
SSL_CLIENT_AUTHENTICATION = FALSE*
WALLET_LOCATION =*
+(SOURCE =+
+(METHOD = File)+
+(METHOD_DATA =+
+(DIRECTORY = "C:\Documents and Settings\user\ORACLE\WALLETS"))+
+)+
SSL_SERVER_DN_MATCH = OFF*
From client "*tnsnames.ora*":
TIB_CLIENT =*
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCPS)(HOST = tibcoone)(PORT = 1521))+
+)+
+(CONNECT_DATA =+
+(SERVICE_NAME = TIB)+
+)+
+(SECURITY =+
+(SSL_SERVER_CERT_DN = "cn=US,cn=CertForOracle,c=US,o=Company"))+
+)+
My problem:
server$ lsnrctl start
Instance "TIB", status READY, has 1 handler(s) for this service...
client@ sqlplus system/pass@TIB_CLIENT
ERROR:
ora-28864 ssl connection closed gracefully
server$ less /opt/u01/app/oracle/product/10.2.0/network/log/listener.log
TNS-12502: TNS:listener received no CONNECT_DATA from client
I cannot connect my client into server database. I get error on client "ora-28864 ssl connection closed gracefully". I get error on server "TNS-12502: TNS:listener received no CONNECT_DATA from client"
Thanks in advance..Hello, Kirill
Thanks for your reply
I checked my server:
The directory exists a file called cwallet.sso is available
- It is ok :)
The user the oracle software is running under has the correct privileges to access the directory and wallet
- It is ok :)
Can you give an example about "*Implementing TCPS authentication*" ?
I currently have:
From server my default port is *1521*,
I changed protocol on my server from TCP to TCPS in "*tnsnames.ora*" and "*listener.ora*":
LISTENER_TIB =+
*(ADDRESS = (PROTOCOL = TCPS)(HOST = tibcoone)(PORT = 1521))*
TIB =+
*(DESCRIPTION =*
*(ADDRESS_LIST =*
*(ADDRESS = (PROTOCOL = TCPS)(HOST = tibcoone)(PORT = 1521))*
*(CONNECT_DATA =*
*(SERVICE_NAME = TIB)*
WALLET_LOCATION =+
*(SOURCE =*
*(METHOD = FILE)*
*(METHOD_DATA =*
*(DIRECTORY = /etc/ORACLE/WALLETS/oracle)*
EXTPROC_CONNECTION_DATA =+
*(DESCRIPTION =*
*(ADDRESS_LIST =*
*(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
*(CONNECT_DATA =*
*(SID = PLSExtProc)*
*(PRESENTATION = RO)*
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string LISTENER_TIB
$cat .bash_profile
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
$tnsping LISTENER_TIB 9
OK (10 msec)
OK (0 msec)
OK (0 msec)
OK (10 msec)
From client:
I changed port on my client from TCP to TCPS in 'tnsnames.ora' and I receive error:
ERROR:
ora-28864 ssl connection closed gracefully
What am I doing wrong ?
Thanks and Best regards,
Edited by: user6048424 on 2012-08-06 05:21
Edited by: user6048424 on 2012-08-06 05:22 -
Configuring two listener to a database
Hi,
Oracle 11gR2 (2 node RAC) on linux.
How to configure two ports to a single listener. (by chance it's not possible, but any workaround)
Currently listener is configured to port 1521. We require to set port 1522 also to the listener.
We have encrypted tablespaces, where these encrypted ts requires to access from App tier through port 1522. For this we require to configure two ports 1521 to access non-encrypted TS and 1522 for encrypted TS access.
This is the requirement from the client end.
I got some workarond like to create two seperate listeners to listen single database.
Like 1521 listener to access non-encrypted tablespaces and 1522 listener to access encrypted tablespaces -- both listeners point single database.
any suggestions highly appreciated.
Thanks
KSG
Edited by: KSG on Oct 12, 2011 5:43 PM
Edited by: KSG on Oct 12, 2011 5:55 PMYou got the answer already several times, but just for your convenience, I repeat it here:
read documentation
And as it only requires netca to configure the port, if you would have read documentation upfront, you could have configured half your country in this fashion.
But alas, you choose to remain lazy.
The 'requirement' of have encrypted tablespaces and encrypted traffic is of course just plain idiotic. What, apart from a performance hit, will anyone gain by that?
Sybrand Bakker
Senior Oracle DBA
PS I also notice you have 134 questions unresolved out of 183. That is very unlikely. It looks more like your behavior in this forum leaves much to be desired.
I will take note of your handle.
Edited by: sybrand_b on 8-okt-2011 13:50 -
ORA-12514: TNS:listener - RMAN - Target Database
Hi Pals,
Today while configuring two of my machines (On same Network) for RMAN I'm facing some issues while connect to the Catalog Server and register a target database.
Here are more details about the (Environment) -- machines:
Machine 1 - ORCL (Catalog Server)
Machine 2 - PRCL (Target Database)
Both machines and in same network.
Tnsping results: both machines are able to ping each other
Unix Ping results: both machines are able to ping
Listeners: Up and Running on both machines
Names: Listeners (Both Machines)
TNSnames: Created an for both machines in each others tnsnames.ora file.
tnslsnr status: Connected Both Machines)
OS: Linux Red Hat 5
Db: Oracle 11gR2
Status: DB are up and working good and both are in ARCHIVELOG Mode.
Env: VMWARE Team (Version 6)
So, while trying to connect to Catalog Server(DB Name: ORCL) from Target Machine (DB name: PRCL) I'm getting a TNS:Listener based error.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[oracle@localhost ~]$ rman target / catalog rman/oracle90@orcl
Recovery Manager: Release 11.2.0.1.0 - Production on Mon May 21 20:49:08 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: PRCL (DBID=459947553)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04004: error from recovery catalog database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
[oracle@localhost ~]$
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please assist and let me know in case more details required.
Thanks
Prashant DixitHi Tychos/DMorgan,
Below provided are tnsentries and listener.ora file contents from both of the machines.
Yes, i'm using vmware (Team) and have 2 machines in the same network (1st ORCL - 2nd PRCL). Both of them are able to ping each other.
First Machine 1 - ORCL Instance:
*1. listener.ora file:*
+++++++++++++++++++++++++
# 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 =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)
LISTENER1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
ADR_BASE_LISTENER = /u01/app/oracle
----> tnsnames.ora__
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localdomain)
PRCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prcl.localdomain)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Machine 2: PRCL Instance -
listener.ora file
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# 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 =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
---> tnsnames.ora file
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
PRCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prcl.localdomain)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localdomain)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I've tried several options with SERVICE_NAME and HOST name after your's and Morgan's post but no luck so far. Please let me know if need (*tnslsnr* status results as well)
So, this is what i originally have on my machine and yes I'm still getting ORA-12514: TNS:listener error.
Thank you guys for your attention.
Please help.
Thanks
Prashant Dixit
Edited by: OracleAnt ... on May 22, 2012 4:58 PM -
Configure listener for new database
When trying to setup my database I get a warning "Configuring the dababase with dbcontrol requires a listener to be configured in the current oracle home"
I run netca and there is a LISTENER there, any ideas what is going wrong?
Many thanksI get:
[oracle@localhost bin]$ env | sort
COLORTERM=gnome-terminal
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9Kh3kqcDHI,guid=800cb935a576ed1285a9fb004d695dac
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-nvX8Sx/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=localhost.localdomain
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
OLDPWD=/home/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_UNQNAME=student
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/3940
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=3976
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-dpPyeG3940/agent.3940
TERM=xterm
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=23068753
XAUTHORITY=/tmp/.gdm27QDRV
XMODIFIERS=@im=none
[oracle@localhost bin]$ -
Agent picks unknown database name !!!
Hello all,
I have a rac with 2 nodes housing oracle 10.2.
db_name=orcl
db_unique_name=orcl_prmy
and the respective sid's on node1 and 2 are orcl1 and orcl2.
Now on node 2 i tried to create a stby db in a separate oracle home[local installation].
db_name=orcl
db_unique_name=orcl_stby....
since i complicated all the stuffs.. i had to shut this down.
so now STBY is down.
On node2 i installed OEM Grid contorl with "new database" option.
Installed the agent on on the node1.
But in OEM, in the Database tab, i can see my database names as
1.ORCL_STBY as a cluster Database:Primary
2.emrep
I could configure db's and the stuff seems working.
But how is that the db name is ORCL_STBY ???
Which is the file the oms/agent checks for the list of the databases installed ??
TIA,
JjYou have db_unique_name=orcl_stby that is where it picked it up
You can manually discover and change it to stby if you want to use the db_name
Maybe you are looking for
-
Error message when trying to open Messages.
Just upgraded to Mountain Lion (10.8) yesterday. Messages won't open. Reports "An Internal Messages error occurred. There was a problem with Messages. You need to quit and open Messages again." Console shows: 7/29/12 8:53:41.594 PM Messages[834]: [Wa
-
Transfer the vendor balances in New GL scenario PC
Hi My client want to transfer open items of a vendor to another vendor. We are in ECC 6.0 and for profit center; zero balance and mandatory fields are selected. To meet the above requirement we need to Debit old vendor a/c and credit the new vendor
-
Where are my Finder windows ?
Hello, Using Lion, when i try to go to the finder, nothing happens. Several windows are opened but i'm only able to see them when i'm using the 2 fingers to switch to one application to another. When the swith is done, the FInder windows dissapear ag
-
Maybe Someone can help me.....
-
Hi friends, While the following commands work great when launched from the T-SQL: SELECT 'XLS' AS [Version], * from OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; Database=C:\Users\faraz.qureshi\Desktop\OldJunk\Book1.xls; HD