TNS Listner blocking new connections
Hai,
I am in the process of creating a standby database. In the process at one point i had to do the following.
sql>shutdown immediate;
sql>startup mount;
I got the following error.
ORA-12528: TNS:listener: all appropriate instances are blocking new connections.
Please help.
Regards,
Vinoth V
This forum is for Forms questions. You should ask your question on the database forum.
Regards,
Robin Zimmermann.
Similar Messages
-
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... -
RMAN: -TNS:listener: all appropriate instances are blocking new connections
Hi all,
we are trying the some rman recoveries on test machine when we are trying to restore the conrolfile thru rman
what they have mentioned in docs id shutdown abort of the target database and then startup no mount thru rman then restore controlfile and open the database.
Now what i want to know is after shutdown i can t able to connect thru rman target since it is showing
TNS:listener: all appropriate instances are blocking new connections
how can i connect when thru rman in this stage when the database is down when i m trying to startup command thru RMAN prompt also it throw me the same error. for this i cant move further can pls anybody help this..
Thanks
M.Murali..D:\>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2009 16:17:58
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "BKPRMANXDB" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: INP1MFDDB, pid: 936>
(ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1826))
Service "BKPRMAN_XPT" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:90 refused:0 state:ready
LOCAL SERVER
Service "MFUNDXDB" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: INP1MFDDB, pid: 1876>
(ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1054))
Service "MFUND_XPT" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
Service "bkprman" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:90 refused:0 state:ready
LOCAL SERVER
Service "mfund" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Edited by: Balamurali on May 20, 2009 4:33 PM -
TNS: listener: all appropriate instances are blocking new connections.
Hello,
when I start up my freshly installed developerday VB appliance, and try to connect to the database, following the tutorial in "Hands-on lab" - "SQL developer", as well as with any other attempt, the connection would not establish. I always get a message ORA-12528: TNS: listener: all appropriate instances are blocking new connections.
I cannot find any Readme or Tutorial which explains this appearance.
Weird, that obviously nobody else runs into this problem, otherwise this forum would be full of it. But isn't the VB appliance byte-for-byte the same for anybody?
Any ideas?
Edited by: pestw2000 on 23.12.2010 01:06Hi Marco, thanks for replying. You can read the OS version from the lsnctl output. The OS of the host system of the Virtual Box is Windows7 64-bit. Hmm... "HOST=0.0.0.0" looks suspicious, doesn't it?
Wolfgang
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 24-DEC-2010 01:31:40
Uptime 0 days 0 hr. 1 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=80))(PROTOCOL_STACK=(PRESENTATION=HTTP)(SESSION=RAW)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=21))(PROTOCOL_STACK=(PRESENTATION=FTP)(SESSION=RAW)))+
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully -
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: 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> -
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-12528 all appropriate instances are blocking new connections
hi,
i get an error 'ora-12528 all appropriate instances are blocking new connections'
i have changed shared_servers parameters. from there itself i get the errorWith zero substantive information about your environment, it is impossible to know for sure.
But, if you've just set SHARED_SERVERS=0, for example, and your tnsnames.ora has a line in it that says (SERVER=SHARED), then your client is demanding the use of shared servers which don't exist. You can therefore expect the sort of error you're getting.
The fix is to remove the explicit demand for shared servers in the tnsnames.ora. Just remove the line (or, not quite such good practice, set it to DEDICATED). -
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 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 -
JDBC Blocks again when try to get new connections.
Hi,
again, my tomcat freezes today, and i must stop/start tomcat to get new connections:
i checked MaxDB server and a Running thread causes Timer to block.
the output of command show t_cnt of the running maxdb thread is:
-------------------- T270 USER ( pid = 0 ) ---------------
remote_node : 192.168.99.1 remote_pid : 0
dispatcher_cnt: 618065 command_cnt : 99418
exclusive_cnt : 1035660104 self_susp_cnt : 4
Resume count 0 total 155 History [ T2 T2 T2 ]
dev_read_io : 177 dev_read_pg : 177
state_vwait : 0 state_vsleep : 45 state_vsusp : 144
rcv_rpl_count : 99418 rcv_rpl_long : 0 avg_rcv_rpl_t : 0.0000
dev_que_len_0 : 177 dev_que_len_1 : 0 dev_que_len>1 : 0
prio_total : 2 prio_from_oth : 2
some of the java blocked thread example is:
"http-80-173" daemon prio=10 tid=0x0000000043edd000 nid=0x7ce8 waiting for monitor entry [0x000000005564c000..0x000000005564da90]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:917)
- waiting to lock <0x00002aaab91895b0> (a org.apache.tomcat.dbcp.pool.impl.GenericObjectPool)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.exolab.castor.jdo.engine.DatabaseRegistry.createConnection(DatabaseRegistry.java:399)
at org.exolab.castor.jdo.engine.TransactionContextImpl.getConnection(TransactionContextImpl.java:203)
at org.exolab.castor.persist.TransactionContext.query(TransactionContext.java:644)
- locked <0x00002aab12f5a5d8> (a org.exolab.castor.jdo.engine.TransactionContextImpl)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:414)
at com.supridatta.bean.DataPersist.consulta(DataPersist.java:536)
at com.supridatta.servlet.SupridattaServlet.doConsultarControl(SupridattaServlet.java:730)
at com.supridatta.servlet.SupridattaServlet$9.resolve(SupridattaServlet.java:294)
at com.supridatta.servlet.SupridattaServlet.processaOperacao(SupridattaServlet.java:144)
at com.supridatta.servlet.SupridattaServlet.doAppletControl(SupridattaServlet.java:114)
at com.supridatta.servlet.SupridattaServlet.service(SupridattaServlet.java:1747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
like this exists about 189 java blocked threads all waiting for this one:
"Timer-4" daemon prio=10 tid=0x0000000043ae7000 nid=0x51b3 runnable [0x0000000042128000..0x0000000042128b10]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sap.dbtech.rte.comm.BasicSocketComm.receiveData(BasicSocketComm.java:577)
at com.sap.dbtech.rte.comm.BasicSocketComm.receive(BasicSocketComm.java:666)
at com.sap.dbtech.rte.comm.JdbcCommunication.execute(JdbcCommunication.java:41)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:536)
- locked <0x00002aaabce3bc80> (a com.sap.dbtech.jdbc.ConnectionSapDB)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:461)
at com.sap.dbtech.jdbc.ConnectionSapDB.isClosed(ConnectionSapDB.java:746)
at com.sap.dbtech.jdbc.trace.Connection.isClosed(Connection.java:400)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.isClosed(DelegatingConnection.java:346)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:324)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.validateObject(PoolableConnectionFactory.java:312)
at org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.evict(GenericObjectPool.java:1217)
- locked <0x00002aaab91895b0> (a org.apache.tomcat.dbcp.pool.impl.GenericObjectPool)
at org.apache.tomcat.dbcp.pool.impl.GenericObjectPool$Evictor.run(GenericObjectPool.java:1341)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Locked ownable synchronizers:
- None
then seeing all this appears that com.sap.dbtech.jdbc.ConnectionSapDB.isClosed(ConnectionSapDB.java:746) do something that blocks all connections, but i cant understand if T270 is related to this Timer-4 java thread.
any idea?Hi Lars,
I updated all things, Java, Linux, MaxDB, i discovered that the problem isnt with network, but with some kind of deadlock at database side, for example:
1) user 1 insert something on table A
2) user 2 starts a long running transaction with poor SQL statement that locks the table A.
3) user 3 opens a connection to run an SQL statement that queries table A.
4) all java threads that need a new JDBC connection get blocked because step 3 never returns a new connection, and DBCP synchronization never goes out.
here is the thread of step 2:
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sap.dbtech.rte.comm.BasicSocketComm.receiveData(BasicSocketComm.java:577)
at com.sap.dbtech.rte.comm.BasicSocketComm.receive(BasicSocketComm.java:666)
at com.sap.dbtech.rte.comm.JdbcCommunication.execute(JdbcCommunication.java:41)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:536)
- locked <0x00002aab1ed9d560> (a com.sap.dbtech.jdbc.ConnectionSapDB)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:461)
at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:398)
at com.sap.dbtech.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:109)
at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:222)
- locked <0x00002aaabc74ade0> (a com.sap.dbtech.jdbc.DriverSapDB)
at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
- locked <0x00002aaabc896988> (a org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory)
at org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.exolab.castor.jdo.engine.DatabaseRegistry.createConnection(DatabaseRegistry.java:399)
at org.exolab.castor.jdo.engine.TransactionContextImpl.getConnection(TransactionContextImpl.java:203)
at org.exolab.castor.persist.TransactionContext.query(TransactionContext.java:644)
- locked <0x00002aab1e8d9348> (a org.exolab.castor.jdo.engine.TransactionContextImpl)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:414)
at com.supridatta.bean.DataPersist.consulta(DataPersist.java:536)
and here is the thread at step 3:
java.lang.Thread.State: BLOCKED (on object monitor)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
- waiting to lock <0x00002aaabc896988> (a org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory)
at org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.exolab.castor.jdo.engine.DatabaseRegistry.createConnection(DatabaseRegistry.java:399)
at org.exolab.castor.jdo.engine.TransactionContextImpl.getConnection(TransactionContextImpl.java:203)
at org.exolab.castor.persist.TransactionContext.query(TransactionContext.java:644)
- locked <0x00002aab1e898f98> (a org.exolab.castor.jdo.engine.TransactionContextImpl)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:414)
at com.supridatta.bean.DataPersist.consulta(DataPersist.java:536)
I inspected the database side, still really running, database results comes, but without releasing the connection, and if i wait the time or no user need a new connection, i never get thread blockeds, appears that MaxDB locks all connections if the newly created connection executes some SQL after acquiring that connection.
I see some blocks too at java finalizer, where one thread running is stucked getting a connection.
all this is just guess, maybe I'm wrong, but for now i will end this thread as we need see how this system will perform with all updates made.
best regards.
Clóvis -
TNS 12203 unable to connect to destination
Hi,
First off..I know nothing about Oracle. We are tasked with the project of making a copy of an win 2000 server which is a version 8.x listner. We shutdown the oracle services on the server, and successfully made a vmware copy. Everything works when we start the new box except the listener. Messages are:
TNS 12203 unable to connect to destination
TNS 12560 TNS protocl adapter error
TNS 00530 error
I am trying to figure the error out, and this server is connecting to a local database on itself.
Knowing this and that the source box was imaged successfully I am looking for directions to look.
I'm assuming all files are correct....tnsnames.ora, listner.or etc. I am looking for ideas with detail please...I know there is a trace utilty that somehow gets turned on, and also it could be possible the sid doesnt match. But how to correct I am unsure. I am searching the net looking for ideas...any help is appreciated.from what path I have them here.......
d:\oracle\806\net80\admin
d:\oracle\806\net80\tnsapi
d:\oracle\806\network\admin
d:\oracle\806\network\admin\sample
d:\oracle\806\pg4mqseries\admin
d:\oracle\isuites\hs\admin
d:\oracle\isuites\network\admin
d:\oracle\isuites\network\admin\sample -
DBlink and Tns could not resolve connect identifier specified
We are encountering a strange issue with DB link(may be new to me)
We have Oracle 9.2.0.8 and 10.2.0.3 in Solrais 10
We are accesing both servers from the 10g
We are able to connect to both the database through SQLplus
We created a DBLink in oracle 9i to access 10g
SQL:
create public database link PRD connect to admin identified by ***** using 'PRD';
Database link is created
We have an entry in the TNSNAMES.ora for PRD which has a description connecting to 10g database.
now we are issuin
select * from table@PRD
The error message is
ora 12514-TNS could not resolve connect identifier sepcified
But i am ablt to connect to both the databases from SQLPLUS but not by DBlink
My global_names parmaeter is TRUE:
Global_name=PRD without the domain name..Tried and failed......)
Nicolas
Does the DBlink takes the TNSentry in the host server
even when we run from the clinet?
I heard somewhere earlierDB link makes the database behave as a client.
If you are on the other side of Jupiter and you connect to the database, should the database look in the TNSNAMES.ORA file on your computer to resolve the entry? Should it send a message back via SQLNet to your PC to ask it to look up what the DB Link means?
Bottom line: The TNSNAMES.ORA in the ORACLE_HOME/networking/admin of the database install is used by all the client products running out of the ORACLE_HOME/bin - including the database when the database behaves as a client. -
Having trouble creating new connection in SQLDeveloper
When I try to create a new connection in SQLDeveloper, I get the following message:
Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The username and password are the same as the ones I use to connect to sqlplus, right? I am a complete newb to sql, so I would really appreciate if someone could provide a step-by-step solution.C:\Users\Admin>lsnrctl
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 21:00
:01
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 26-APR-2013 17:55:47
Uptime 0 days 3 hr. 4 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Admin\product\11.2.0\dbhome_2\network\admin\lis
tener.ora
Listener Log File c:\app\admin\diag\tnslsnr\Admin-PC\listener\alert\log.
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.gateway.2wire.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.gateway.2wire.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> service
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl.gateway.2wire.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orclXDB.gateway.2wire.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: ADMIN-PC, pid: 4496>
(ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=49224))
The command completed successfully
LSNRCTL> -
I developed an application using VB.NET 2003 and Oracle 10g backend. When I start my machine and work on my application, everything works fine for two to three times execution. After some time when I execute my application it gives different errors every time. Sometimes:
Oracle not available
sometimes, TNS Listner cannot listen to ....
sometimes, Oracle Initialization or Shut Down in progress.
Why?Hi,
Below three error is different.
Oracle not available
connect with sysdba privs users
and give
STARTUPsometimes, TNS Listner cannot listen to ....
if 10g then first set ORACLE_SID and connect with sysdba user WITHOUT "TNS_ENTRY"
conn sys as sysdba
passwordsometimes, Oracle Initialization or Shut Down in progress.
shutdown in progress ... you have to wait for complete shutdown.
you can check status of database through connect with sysdba privs.
select STATUS from v$instance;Why?
Maybe you are looking for
-
System message setting for delivery.
Hi All, I need to set message VL 261 Free goods group not complete as error message. I tried to do this setting at LE> shipping> system modification-->specify characteristic for system message. But when i am enter error message number 261 it is givi
-
I'm not sure this is possible, but maybe someone has a smart idea. I've got a pdf that users are printing off our website which is used as a registration card. What I'd like to be able to do is insert a barcode onto that pdf when it's viewed/printe
-
Hi, I have some questions about the general class structure of AWT and Swing: - How are AWT and Swing intended to work together -- should I treat AWT as an implementation detail and operate on Swing level only, or should they be used together? - What
-
I have no bars for about 45 minutes now. I cannot make phone calls or text messages. I do have wifi and it is working. What is causing me not able to make or receive calls??
-
Internal order field mandatory
Dear Experts, we have G/L code which is using job work purpose, we need to make internal order mandatory for g/l code through FI postings and MB1A transaction with movement type 201, if do through in g/l master it will effect when posting FI trans