ORA-12528: TNS listener BLOCKED - trying to duplicate database
Hello,
I would like to test the RMAN duplicate from active database in version 11.2.0.1.
The name of the duplicate (auxiliary) database should be "clonedb". I created a password file, spfile and added the clonedb database to tnsnames.ora. The clonedb instance is in nomount state. Tnsping clonedb is also working.
When I try to make a connection:
sqlplus 'sys/mypassword@clonedb as sysdba'
ORA-12528, Blocked, all appropriate instances are blocking new connections.
So I wonder if this could be due to the nomount state of the instance and dynamic listener configuration. Correct?
I made an entry in the listener.ora file, and it's showing "clonedb" status UKNOWN now, but I still cannot make a sqlnet connection since the dynamic listener apparently takes precedence. Can I turn off the dynamic listener configuration, but then I will loose the connection to the other databases. Do I need to make manual entries in listener.ora for all databases in order to perform RMAN duplicate?
I also tried to connect to the auxiliary clonedb instance as local target with OS authentication, but the ORA-12528 error persists. Sqlplus / as sysdba works though. Below some more info. Any ideas how to resolve the issue.
Thanks!
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-DEC-2010 01:05:40
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-DEC-2010 00:39:22
Uptime 0 days 0 hr. 26 min. 18 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/ol55/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ol55.example.com)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "clonedb" has 1 instance(s).
Instance "clonedb", status UNKNOWN, has 1 handler(s) for this service...
Service "clonedb.example.com" has 1 instance(s).
Instance "clonedb", status BLOCKED, has 1 handler(s) for this service...
Service "orcl.example.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.example.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "rcat.example.com" has 1 instance(s).
Instance "rcat", status READY, has 1 handler(s) for this service...
Service "rcatXDB.example.com" has 1 instance(s).
Instance "rcat", status READY, has 1 handler(s) for this service...
The command completed successfully
$ tnsping clonedb
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 19-DEC-2010 01:06:18
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = clonedb.example.com)))
OK (10 msec)
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
RCAT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rcat.example.com)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.example.com)
CLONEDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = clonedb.example.com)
$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME= /u01/app/oracle/product/11.2.0/db)
(SID_NAME = clonedb)
ADR_BASE_LISTENER = /u01/app/oracle
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
$ cat initclonedb.ora
clonedb.__db_cache_size=192937984
clonedb.__java_pool_size=4194304
clonedb.__large_pool_size=4194304
clonedb.__oracle_base='/u01/app/oracle'
clonedb.__pga_aggregate_target=339738624
clonedb.__sga_target=503316480
clonedb.__shared_io_pool_size=0
clonedb.__shared_pool_size=293601280
clonedb.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/clonedb/adump'
*.audit_trail='db'
*.backup_tape_io_slaves=TRUE
*.compatible='11.2.0.0.0'
*.control_files='/scratch/oradata/clonedb/controlfile/control01.ctl','/scratch/oradata/clonedb/controlfile/control02.ctl'
*.db_block_checking='full'
*.db_block_checksum='full'
*.db_block_size=8192
*.db_create_file_dest='/scratch/oradata/clonedb'
*.db_domain='example.com'
*.db_name='clonedb'
*.db_recovery_file_dest='+FRA'
*.db_recovery_file_dest_size=12884901888
*.log_archive_dest='/scratch/oradata/clonedb/archivelog'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=clonedbXDB)'
*.memory_target=843055104
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
*.db_file_name_convert=('+DATA','/scratch/oradata/clonedb/datafile')
*.log_file_name_convert=('+DATA','/scratch/oradata/clonedb/logifle')
Thanks for responding. Here is the log from the last connection attempt - I removed some xml codings:
time='2010-12-19T01:23:23.007+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='ol55.example.com'
host_addr='127.0.0.1'>
WARNING: Subscription for node down event still pending
time='2010-12-19T01:23:23.008+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='ol55.example.com'
host_addr='127.0.0.1'>
19-DEC-2010 01:23:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=ol55.example.com)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
time='2010-12-19T01:23:33.575+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='ol55.example.com'
host_addr='127.0.0.1'>
19-DEC-2010 01:23:33 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=clonedb.example.com)(CID=(PROGRAM=sqlplus)(HOST=ol55.example.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=56278)) * establish * clonedb.example.com * 12528
time='2010-12-19T01:23:33.575+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='ol55.example.com'
host_addr='127.0.0.1'>
TNS-12528: TNS:listener: all appropriate instances are blocking new connections
Similar Messages
-
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I'm working with OBIEE 11.1.1.5, with Ora DB 11.2.
Suddenly, the OBIEE is not accessible.
The logs showed that the issue is DB connectivity.
When I try to enter directly to the DB via sqlplus I get the error:
/opt/oracle/product/11.2.0/dbhome_1/bin/sqlplus sys@UBI as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 20 13:18:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I tried restarting server, DB, listener, but nothing helped.
I've Googled and saw that I need to unregister some old connections, which were not closed correctly, i.e. entering DB and delete some records,
but I cannot login to the sqlplus.
I failed login as sys, system, scott - on the same error.
How can I solve this issue?ls $ORACLE_HOME/dbs
dbs httpFileTransfer.py init.ora lkUBI peerapp_catalog qoe_network_offset.template subscriberUpdate.py
hc_ubi.dat index.html.1 initUBI.ora orapwubi profile.sql spfileubi.ora
padmin@rprt:~> /opt/oracle/product/11.2.0/dbhome_1/bin/sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 20 18:09:04 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [/opt/oracle/product/11.2.0/dbhome_1/dbs/<ORACLE_BASE>]
ORA-48187: specified directory does not exist
Linux-x86_64 Error: 2: No such file or directory
Additional information: 1
SQL> -
ORA-12528: TNS: listener: all appropriate instances are blocking new connec
Hi this is kumar,
i am getting the below error .
ORA-12528: TNS: listener: all appropriate instances are blocking new connections
please find my alertlog file ,in alert log file we are getting opertaion timed out.
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.254.254.32)(PORT=1599))Hi,
thank you for your quick responce.
$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1526
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1526
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1526
$ lsnrctl status LISTENER_SCAN1
LSNRCTL for HPUX: Version 11.2.0.2.0 - Production on 22-APR-2013 20:38:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
Alias LISTENER_SCAN1
Version TNSLSNR for HPUX: Version 11.2.0.2.0 - Production
Start Date 30-JAN-2013 01:46:21
Uptime 82 days 18 hr. 52 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/dccdb01/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.44.83.111)(PORT=1526)))
Services Summary...
Service "instance" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceXDB" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instance" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceXDB" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceoltp" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this ser
$
ABCD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dccdb-cluster-scan)(PORT = 1526))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ABCD)
ADCDE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dccdb-cluster-scan)(PORT = 1526))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ADCDE)
we didn't do any changes from the database side,now only my user had raised a complaint -
ORA-12528: TNS:listener: all appropriate instances are blocking new connect
Dear All,
I got the following error when use 'STARTUP MOUNT;' in sqlplus
Error
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I am using Oracle 10 Database and Window XP Operating System
How to solve it.
Please help me
Thanks and Regards,
Fazil
Edited by: user11334489 on Sep 11, 2012 12:41 AMWrong forum. Please post your question in the General Database Discussions forum.
Craig... -
ORA-12528: TNS:listener: all approriate instances are blocking new connecti
HI all ,
i am getting this error while log on on database 10g on operating system is WINDOW XP
ORA-12528: TNS:listener: all approriate instances are blocking new connection
Please GUide me how to resolve this issue
Thanks And regards
Vikas Singhalvikas singhal wrote:
HOw to find listener to see if the service is in BLOCKED state:
Thanks And Regards
Vikas SinghalYou can use lsnrctl services as
C:\Documents and Settings\chinar>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.2.0 - Production on 13-JUL-2010 14:30
:26
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=chinar.bank.local)(PORT=
1521)))
Services Summary...
Service "+ASM_XPT" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "+asm" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "TEST" has 2 instance(s).
Instance "TEST", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:387 refused:0
LOCAL SERVER
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "TESTXDB" has 1 instance(s).
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: CHINAR, pid: 7472>
(ADDRESS=(PROTOCOL=tcp)(HOST=chinar.bank.local)(PORT=4790))
Service "TEST_XPT" has 1 instance(s).
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "chinar.bank.local" has 1 instance(s).
Instance "SB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
C:\Documents and Settings\chinar> -
ORA-12528: TNS:listener: networking problem...
Can someone help???
I am recieving the following error when trying to connect to my asm instance remotely (using password file)
10gr2 running under Redhat linux
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I have tried to modify the listener.ora to include sid_name, global_dbname the changes did not help as I was recieving hte same error.
please find my configs below...
Any help would be greatly appreciated...
Thanks in advance.
Mike.
tnsnames.ora
ASM.NY.PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = eos)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = +ASM)
listener.ora
SID_LIST_LISTENER_EOS =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
(SID_NAME = +ASM1)
lsnrctl status
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 07-AUG-2006 16:25:55
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.2.0 - Production
Start Date 30-JUL-2006 10:21:51
Uptime 8 days 6 hr. 4 min. 4 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /u01/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=7787))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...Thanks for your help, this is what I found out....
I checked the remote_login_passwordfile and it was set to = exclusive.
After reviewing the note that you mentioned I did a bit more digging on metalink and found this one Note: 301099.1.
I modified my tnsnames.ora file (see below) and it resolved my problem. I am not sure exactly what UR=A does, but I will need to check the docs for that.
ASM.NY.PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = eos)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = +ASM)
(SID=+ASM1)
(UR=A)
mike -
ORA-12528: TNS:listener:
Hi,
i have a database for learning purpose. i got this error when i connected to database.
may i know what could cause this to happen?
Enter user-name: sys@baba as sysdba
Enter password:
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Regards
Ravikumar.AHi,
1. Stop the listener.
2. Login to idle instance.
3. Start the database and see what is the error you are getting.it has been stopped, and now it is begin started .
i tried to connect a database, i got this error.
Enter user-name: sys@baba as sysdba
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor -
ORA-12528: TNS:listener: todas las instancias adecuadas están bloqueando n
Hi When I restart My computer
I retrieve this error
How can I solve it?
ORA-12528: TNS:listener: todas las instancias adecuadas están bloqueando nuevas conexiones
He leido que hay un patch para este error,he leido mucho sobre que
es porque no arranca bien la instancia etc,
Es que de momento lo que hago es parar todos los servicios de Oracle
y volverlos a arrancar pero no lo veo factible la verdad...
Un saludo y gracias!$ oerr ora 12528
12528, 00000, "TNS:listener: all appropriate instances are blocking new connections"
// *Cause: All instances supporting the service requested by the client
// reported that they were blocking the new connections. This condition may be
// temporary, such as at instance startup.
// *Action: Attempt the connection again. If error persists, then contact the
// administrator to check the status of the instances.
$Wait a while, and try to connect. If the situation persists, then it means that the instance is not able to mount the database. At command prompt enter Sql*Plus as sysdba and type
SQL> select status from v$instance;
if you get STARTED, then try
SQL> alter database mount;
what happens ? -
TNS-12528: TNS:listener: all appropriate instances are blocking new connect
Hi all,
May be you remember that i posted connection problem to my database and when checking mi listener log file i found the error TNS-12528 as in the following portion of my alert log file:
05-NOV-2007 11:37:42 * service_died * abdb1 * 12537
05-NOV-2007 11:37:42 * service_died * abdb1 * 12537
05-NOV-2007 11:37:49 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=abdb)(CID=(PROGRAM=E:\mvoucher\bin\SMPPGateways\Transmitter\PyroESMEt.exe)(HOST=MGUTP)(U
SER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.175)(PORT=4517)) * establish * abdb * 0
05-NOV-2007 11:37:52 * (CONNECT_DATA=(SID=abdb1)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=1437)) * establish
* abdb1 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
05-NOV-2007 11:37:55 * (CONNECT_DATA=(SID=abdb1)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=1440)) * establish
* abdb1 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
05-NOV-2007 11:37:55 * service_update * abdb2 * 0
05-NOV-2007 11:37:56 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=abdb)(CID=(PROGRAM=E:\mvoucher\bin\SMPPGateways\Transmitter\PyroESMEt.exe)(HOST=MGUTP)(U
SER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.175)(PORT=4518)) * establish * abdb * 12528
TNS-12528: TNS:listener: all appropriate instances are blocking new connections
05-NOV-2007 11:37:57 * (CONNECT_DATA=(SID=abdb1)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=1443)) * establish
* abdb1 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
05-NOV-2007 11:37:59 * (CONNECT_DATA=(SID=abdb1)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=1446)) * establish
* abdb1 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
05-NOV-2007 11:38:01 * (CONNECT_DATA=(SID=abdb1)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.204)(PORT=1449)) * establish
* abdb1 * 12505
Does anybody have an idea about why this error is comming.
Note that we are using oracle 10g in a RAC environment with 02 nodes.
Thanks for your help.
RaitsarevoI don't use SID in my tnsnames.ora, i use SERVICE_NAME and it's OK. May be someone who have configured iot's tnsnames made it wrong because there consultant installaing new application in our company and may be their tnsnames was wrong and causing that problem. Because in their application it always tries to connect in the database till connection will be established and may be it increase the database session number.
Isn't it and when session max number is reached may be database connection will hang.
Correct me if it is the case, we will have a look in their applivcation tnsnames configuration.
Thanks
regards
Raitsarevo -
ORA-12514: TNS:listener does not currently know of service requested in con
Hi All,
I am trying to create a physical standby using RMAN duplicate command.Yesterday I created it succesfully ,today I dropped the standby database I tried to create new one when I got hit by this error"
<code>
[email protected](standby) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:38:08 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
[email protected](standby) $
</code>
below is my tnsname and listener files from primary
[email protected](db1) $ pwd
/u01/app/oracle/dbhome_1/network/admin
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ ls -ltr
total 28
-rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
-rw-r--r-- 1 oracle oinstall 40 Jan 20 03:38 sqlnet.ora_1
-rw-r----- 1 oracle oinstall 1004 Mar 3 00:33 tnsnames.ora
-rw-r--r-- 1 oracle oinstall 1004 Mar 3 11:27 tnsnames13030311AM2745.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:27 listener13030311AM2745.bak
-rw-r--r-- 1 oracle oinstall 508 Mar 3 11:28 listener.ora
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1.primary.swapnilkambli.com)
RCAT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rcat.primary.swapnilkambli.com)
DB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db2.primary.swapnilkambli.com)
STANDBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby.standby.swapnilkambli.com)
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = rcat.primary.swapnilkambli.com)
(ORACLE_HOME = /u01/app/oracle/dbhome_1)
(SID_NAME = rcat)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
[email protected](db1) $
[email protected](db1) $ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:42:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=primary.swapnilkambli.com)(PORT=1521)))
Services Summary...
Service "db1.primary.swapnilkambli.com" has 1 instance(s).
Instance "db1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:6 refused:0 state:ready
LOCAL SERVER
Service "db1XDB.primary.swapnilkambli.com" has 1 instance(s).
Instance "db1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: primary.swapnilkambli.com, pid: 2617>
(ADDRESS=(PROTOCOL=tcp)(HOST=primary.swapnilkambli.com)(PORT=23611))
Service "rcat.primary.swapnilkambli.com" has 1 instance(s).
Instance "rcat", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
[email protected](db1) $ tnsping db1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:36
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
OK (0 msec)
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ tnsping standby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:44
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
OK (0 msec)
and below are my entries from standby server
[email protected](standby) $ pwd
/u01/app/oracle/dbhome_1/network/admin
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ ls -ltr
total 24
-rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
-rw-r----- 1 oracle oinstall 576 Mar 3 11:21 tnsnames.ora
-rw-r--r-- 1 oracle oinstall 576 Mar 3 11:25 tnsnames13030311AM2540.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:25 listener13030311AM2540.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:26 listener.ora
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1.primary.swapnilkambli.com)
STANDBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby.standby.swapnilkambli.com)
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = standby.standby.swapnilkambli.com)
(ORACLE_HOME = /u01/app/oracle/dbhome_1)
(SID_NAME = standby)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
[email protected](standby) $
[email protected](standby) $ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:14
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=standby.swapnilkambli.com)(PORT=1521)))
Services Summary...
Service "standby" has 1 instance(s).
Instance "standby", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "standby.standby.swapnilkambli.com" has 1 instance(s).
Instance "standby", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:3 refused:0
LOCAL SERVER
The command completed successfully
[email protected](standby) $ tnsping db1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:12
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
OK (0 msec)
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ tnsping standby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:18
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
OK (0 msec)
tnsping works from both side I am able to connect from primary as below:
[email protected](db1) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:44:23 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DB1 (DBID=1402881212)
connected to auxiliary database: DB1 (not mounted)
RMAN>
DB version 11.2.0.1.0
OS version Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
primary server--- primary.swapnilkambli.com
primary database--- db1
standby server--- standby.swapnilkambli.com
standby database--- standby
After I dropped the physical standby first time I did make some changes in tns of standby server which I dont recollect.
Help on this error ORA-12514 is available on internet but I did not find anything helpful to my situation
Edited by: user12860499 on Mar 2, 2013 10:45 PMGOT IT!!!!
I check listener trace and found below:
Log messages written to /u01/app/oracle/diag/tnslsnr/standby/listener/alert/log.xml
03-MAR-2013 12:21:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=standby.swapnilkambli.com)(USER=oracle))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * reload * 0
03-MAR-2013 12:22:00 * service_register * standby * 0
Sun Mar 03 12:22:16 2013
03-MAR-2013 12:22:16 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39512)) * establish * db1.primary.swapnilkambli.com * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54862)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54863)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54864)) * establish * standby.standby.swapnilkambli.com * 0
Sun Mar 03 12:22:27 2013
03-MAR-2013 12:22:27 * service_update * standby * 0
Sun Mar 03 12:22:40 2013
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60821)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60822)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60823)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:42 * service_update * standby * 0
03-MAR-2013 12:22:45 * service_update * standby * 0
Sun Mar 03 12:22:51 2013
03-MAR-2013 12:22:51 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39536)) * establish * db1.primary.swapnilkambli.com * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
there was a entry in /etc/hosts which was directing primary.swapnilkambli.com to 127.0.01
This was because I created this OS from a Virtual box template wherein that entry was made.
I changed the /etc/hosts to refelct the true address and it worked!! -
ORA-12514: TNS:listener does not currently know of service requested
While connecting "sqlplus SYSADM/SYSADM@HCM" I am getting the below error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Installation background:
Windows 7 l(64-bit) laptop.
Created linux virtualbox to installl peoplesoft VM templates.
so far installed: Oracle11gR2.vdi and HCMDB.vdi on the linux virtualbox.
Followed the steps exactly what it is in the link below: Got the above error in page 4 of the link at connecting to database via sqlplus.
http://bloggingaboutoracleapplications.org/running-oracle-vm-templates-oracle-enterprise-linux-guide-part-1-7/
Below provided initHCM.ora, tnsnames.ora, listerner.ora and some responses I tried. I could not figure out what causing the issue even after researching in web.
Your help would be highly appreciated.
tnsnames.ora:
=============
# tnsnames.ora Network Configuration File:
HCM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HCM)
Listener.ora:
=============
# listener.ora Network Configuration File:
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
initHCM.ora:
============
DB_FILES =256
OPEN_CURSORS = 1000
db_block_size = 8192
remote_login_passwordfile = NONE
undo_tablespace=PSUNDOTS
NLS_LENGTH_SEMANTICS=CHAR
# Cache and I/O
#db_block_size=
db_file_multiblock_read_count=16
# Database Identification
# db_domain=us.oracle.com
# db_name=
# Diagnostics and Statistics
#background_dump_dest=
#core_dump_dest=
#user_dump_dest=
# Job Queues
job_queue_processes=10
# Processes and Sessions
processes=150
# SGA Memory
sga_target=287309824
# Security and Auditing
#audit_file_dest=
#remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=95420416
# System Managed Undo and Rollback Segments
undo_management=AUTO
#undo_tablespace=
unnestsubquery=false
# Miscellaneous
compatible=11.2.0.2.0
control_files=(/u01/app/oracle/oradata/HCM/control01.ctl)
DB_NAME=HCM
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:41:32
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
[oracle@hcmdb91 ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:20
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 28-MAR-2013 07:29:21
Uptime 0 days 0 hr. 13 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
Listener Log File
/u01/app/oracle/product/11.2.0.x/db_1/log/diag/tnslsnr/hcmdb91/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hcmdb91.example.com
)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:44
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ sqlplus SYSADM/SYSADM@HCM
SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 28 07:44:25 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in
connect descriptor
My guess is that the database service "HCM" is not up and running but not sure how to make up and running. Even I could not find it listed in the linux services list.
Note: Able to login sqlplus using "sqlplus sys/sys as sysdba" but failing to access database table as "select * from PSRECDEFN;"
thanks
Espii.
Edited by: 995437 on Mar 28, 2013 6:52 AM
Edited by: 995437 on Mar 28, 2013 6:59 AMHi Nicolas,
I have no luck and the error still persists.
I have set the "export ORACLE_SID=HCM" from root user and oracle user too.
I guess, I have already loaded database when I ran the "cd /opt/oracle/psft/vm
./oraclevm-template.sh"
The outcome of the above script as similar as below:
Creating
ovm_configure_pre
CreateVirtualEnvironment
/u01/scripts/db-reconfig.sh: line 238: ovm_set_password: command not found
/u01/scripts/db-reconfig.sh: line 239: ovm_configure_network: command not found
INFO:
Starting Oracle database reconfiguration.
Oracle Database Configuration
This will configure on-boot properties of Oracle Database.
The following questions will determine whether the database should be
starting upon system boot, the ports it will use.
Press <Enter> to accept the defaults.
Do you want to relink binaries? (y/n) [n] y
Specify a port that will be used for the database listener [1521]:
Do you want Oracle Database to be started on boot (y/n) [y]:y
Wrote to /etc/sysconfig/oracle11g
Relinking Oracle Binaries...
Oracle Relinking Completed Successfully
Logs: /home/oracle/relink.log
Running orainstRoot.sh and root.sh...
set 2GB tmpfs
Enabling Oracle Database service
Configuration Completed Successfully.
Enter the name of the database SID [TESTDB]:HCM
ORACLE instance started.
Total System Global Area 288104448 bytes
Fixed Size 2225832 bytes
Variable Size 104859992 bytes
Database Buffers 176160768 bytes
Redo Buffers 4857856 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
1 row updated.
160 rows updated.
Commit complete.
Kumar - I have found no sqlnet.ora file exist in the $ORACLE_HOME/NETWORK/ADMIN
Edited by: 995437 on Mar 28, 2013 9:15 AM -
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
Hi Friends,
I have created 10g database for catalog.
I kept the tns entry in some other server. Tnsping is working fine.. I can see the result.
mexn01:$ tnsping rman09na
TNS Ping Utility for HPUX: Version 9.2.0.5.0 - Production on 28-APR-2008 19:29:07
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/apps/app/oracle/local/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))
OK (0 msec)
When I am trying to connect to the database I am getting following error..
mexn01:$ sqlplus ismdba/xxxxx@rman09na
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Apr 28 19:29:22 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
descriptor
Please help me..
Thanks in advance.Try on the server where it doesn't work:
sqlplus ismdba/xxxxx@"(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
or
tnsping "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
(note the double quotes)
If that works then your tnsnames.ora is incorrect on that server. -
Problem: ORA-12514, TNS:listener does not currently know of service request
When I enter a command for an Oracle 10g Express installation I am getting the following error:
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
Running IRCA for all product(s):
connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
ERROR: Failed to establish database connection due to the following error:
Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
Please check your connection parameters and try again.
Hmm, whats wrong?
Listener status yields:
D:\db\install\soa_schemas\irca>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Startdate 10-FEB-2008 12:48:44
Uptime 0 days 0 hours. 15 min. 38 sec.
Trace-Level off
Security ON: Local OS Authentication
SNMP OFF
Standard-Service XE
Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
Summary listener endpoints...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services overview...
Service "CLRExtProc" hat 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "PLSExtProc" hat 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "XEXDB" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "XE_XPT" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "xe" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
The command was successfully executed.
D:\db\install\soa_schemas\irca>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services _bersicht...
Service "CLRExtProc" has 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"D000" established:0 refused:0 current:0 max:1002 Status:ready
DISPATCHER <machine: LOCALHOST, pid: 3584>
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
Service "XE_XPT" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
Service "xe" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
The command was successfully executed.Hi,
no, you got it wrong:
Oracle uses network services which are a logical representation of the database to resolve network requests.
in your ntsnames.ora file you have the following:
network_alias = my_alias -- here you can write anything you just need to resolve it correctly
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(host=hostname or IP)
(port=listener adapter port)
) -- this a complete socket information of the listener adapter!!
(CONNECT_DATA=
(SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
A connect decriptor consists of the address part + the connect_data part.
The address part is used to reach the listener.
The connect_data part is the information you hand over to the listener.
So the listener must know the service name.
The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
Hope it helps a little-.
=;-)
If you have further questions pls do not hesitate to ask. O.K.? -
ORA-12505, TNS:listener and ORA-12514: TNS:listener
All,
Connecting to the database through the SQL Developer is giving me the error "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor"
Database version : Oracle 10g XE
O/S : Windows 7, 32 bit
I have restarted my machine and tried but no luck. Tried from sqlplus also and the error was
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor"
Please provide me the steps to check and resolve this issue.
Thank you very much in advance.
ThanksHere is what I have in my tnsnames.ora file
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MSPL-08-09-D169.MSFTPNQ.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Database name is 'XE' -
Hi,
Trying to connect to a remote database which worked in 10.1.3 developer preview gives now:
Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off client connection
The Connection descriptor used by the client was:
From sqlplus I can connect. I don't have access to the remote database server/configuration. I tried the workarounds specified here
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=139775.1
I deleted
ojdbc14dms.jar ojdbc14.jar
from jdeveloper and copied ojdbc14_g.jar from Oracle 10g release1 (renamed it to ojdbc14.jar). Then it worked.Hi,
Can you please check the below link from the forum too.
ORA-12518 Tns: Listener could not hand off client conenction
Best regards,
Rafi.
http://rafioracledba.blogspot.com
Maybe you are looking for
-
How to fix 'class' or 'interface' expected for jsp
below is the stack trace org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: /home/sherali/.netbeans/5.5/apache-tomcat-5.5.17_base/work/Catalina/localhost/UVSDataSearch/org/apache/jsp/pager_002ddemo_jsp.java:7:
-
Credit charges based on the number of credit days offered to the customer
AOA, I have a scenario. We have credit charges based on the number of credit days offered to the customer. This scenario will be executed on credit sales only. Example of pricing, a product mobile is offered to customer A on 20 Days credit Mobile $
-
Variable column name in a trigger
I have a table with many columns, and would like to make a log table of all the updates in the first one. So my idea was to bulid a "before update" trigger which would first create a cursor to get the column names from the user_tab_columns table. In
-
Order status not updated since Monday
I placed an order Monday morning. Since shortly after the order was placed, there has been no updates to the order status. Trying to figure out what is happening with the order.
-
How to convert prel file created on PC (Ver9) to iMac (Ver12)
Cannot open prel files transferred from PC - Error: File not compatible with current version.