ORA-00020 error, max connections reached
I tried logging into TOAD from back-end but it started giving error like 'ORA-00020, maximum no of connections exceeded...'. What, are the steps we can take to counter this.
I hope, my question is clear.
Please, help in solving the doubt.
regards
hi,
thanks, for your answer. But, in init.ora, the entries are like:-
# Processes and Sessions
#processes=250
processes=300
Is, there a difference from this in the maximum sessions possible which is given by 'sessions' parameter as
SQL> connect /as sysdba
SQL> show parameters sessions
When, I give :-
select count(1) from v$session
it gives 460.
Can, you please clear the doubts in the scenario put as above.
regards
Similar Messages
-
Hello,
I am writing an application to read messages from queues.
Everything seems to be working fine, but after a number of un-deployments and deployments I start getting the following exception and have no choice but to restart the application server.
Any hint on what the root cause might be?
Exception stack trace:
2008-02-15 14:47:19,095 WARN [org.jboss.system.ServiceController:424] Problem starting service jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:310)
at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:194)
at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:190)
at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:156)
at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy361.start(Unknown Source)
at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy34.start(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy35.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy10.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: javax.resource.spi.ResourceAdapterInternalException: max connections reached
at com.ibm.mq.connector.ResourceAdapterConnectionPool.allocateConnection(ResourceAdapterConnectionPool.java:231)
at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:333)
at org.jboss.resource.deployment.RARDeployment.endpointActivation(RARDeployment.java:271)
at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:226)
at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:305)
... 101 more
ObjectName: jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)My current configuration is:
- JBoss 4.2.2-GA (linux)
- WS MQ 6.0.2.2 (linux)
I have configured JBoss the following way:
- added wmq.jmsra.rar to the $JBOSS_SERVER/deploy directory
- added com.ibm.mqetclient.jar to the $JBOSS_SERVER/lib directory
- created $JBOSS_SERVER/deploy/wmq.jmsra-ds.xml as follows
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<!-- mbeans defining JCA administered objects -->
<mbean code="org.jboss.resource.deployment.AdminObject" name="jca.wmq:name=wsmqQ">
<attribute name="JNDIName">wsmq/Q</attribute>
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='wmq.jmsra.rar'</depends>
<attribute name="Type">javax.jms.Queue</attribute>
<attribute name="Properties">
baseQueueManagerName=QM1
baseQueueName=Q
</attribute>
</mbean>
<!-- JCA Connection factory definitions -->
<tx-connection-factory>
<jndi-name>MQCF</jndi-name>
<xa-transaction />
<rar-name>wmq.jmsra.rar</rar-name>
<connection-definition>javax.jms.ConnectionFactory</connection-definition>
<config-property name="channel" type="java.lang.String">SYSTEM.DEF.SVRCONN</config-property>
<config-property name="hostName" type="java.lang.String">127.0.0.1</config-property>
<config-property name="port" type="java.lang.String">1414</config-property>
<config-property name="queueManager" type="java.lang.String">QM1</config-property>
<config-property name="transportType" type="java.lang.String">CLIENT</config-property>
</tx-connection-factory>My java MDB (EJB3) is:
@MessageDriven(name = "MDB", activationConfig = {
@ActivationConfigProperty(propertyName = "destination", propertyValue = "wsmq/Q"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "transportType", propertyValue = "CLIENT"),
@ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true"),
@ActivationConfigProperty(propertyName = "maxPoolDepth", propertyValue = "1") }, messageListenerInterface = MessageListener.class)
@ResourceAdapter("wmq.jmsra.rar")
public class MDB implements MessageListener {
public void onMessage(Message message) {
return;
}Thanks in advance for any information!
cheers!hi
this is known to IBM as APAR IC54346 - fixed in pack 6.0.2.3 -
Getting "ORA-12514 error" while connecting first time
Hi,
Getting below error while connecting to the database first time.
ORA-12514: TNS:listener does not currently know of service requested in connect
apludc01dat25:e2cmpc1 > tnsping ora37_ap
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 26-MAR-2012 12:00:58
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/grid/product/crs/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apl11764clu01-scan-oravip.nat.bt.com)(PORT = 61901)) (CONNECT_DATA = (SERVICE_NAME = ORA37_ap))
OK (0 msec)
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:15 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:22 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
Please help me out to resolve this issue.
Thank you.
Regards,
DasarathHi,
We are getting this error while connecting remotely.
PFB output of listener status and services
apl11764a001:ORA37a > lsnrctl services LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:06
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: apl11764a001, pid: 25970>
(ADDRESS=(PROTOCOL=tcp)(HOST=apl11764a001)(PORT=10862))
The command completed successfully
apl11764a001:ORA37a > lsnrctl status LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:20
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
STATUS of the LISTENER
Alias LISTENER_ORA37
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 26-MAR-2012 12:15:17
Uptime 0 days 0 hr. 3 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /grid/product/crs/network/admin/listener.ora
Listener Log File /grid/product/crs/log/diag/tnslsnr/apl11764a001/listener_ora37/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA37)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.4)(PORT=62037)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.7)(PORT=62037)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
The command completed successfully
Thank you.
Regards,
Dasarath -
ORA-12699: error when connecting to server with FIPS enabled
Hi all,
I have a oracle client and server with FIPS enabled on them. When I use SQL Developer from the client, I can connect to the server and run queries on them.
I have an ADO based application, which I am trying to run on the client to query the oracle server, but the open database call seems to fail on this with the ORA-12699 error ..
Heres the connection string I am using ... "Provider=OraOLEDB.Oracle;Data Source=Test;User Id=scott;Password=tiger;"
Are there any other options to be added to the connection string string ?? any ideas / comments would be of great help ...
Note : I am using Oracle 11G ..
--sachiNaveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
ORA-12154 Error - NET8 Connection Tester Works Though
I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas?I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas? -
TNS Ora-12532 error When connecting with Db11 running in the VM
I created a virtual machine from the PVM Entrerprise Linux 5 64 bits and db11g.
Inside the virtual Machine the sqlplus system/manager1@VDB11 is working well.
The tnsping 172.20.0.33 is working well too.
But from the other external machine using oracle 11g client these command are not working: Tns Ora-12532 error.
What to do?
Thanksmy virtual machine: vm1 have an static ip address 172.20.0.33
the oracle listener is was configured with the same ip
in the virtual machine : vm1 the /etc/hosts file content is:
127.0.0.1 localhost.localdomain
172.20.0.33 virtualdb11
in the tnsnames.ora file in the virtual machine i have a service:
VDB11 ...( host=172.20.0.33) (port=1521)
under console connection with my virtual machine vm1 the command : sqlplus system/manager1@VDB11 is working well
but when i working in an other external machine , where the tnsnames.ora have an entry:
VDB11 ...(host=172.20.0.33)......
the ping command : ping 172.20.0.33 is working well
but sqlplus system/manager1@VDB11 is not work and return the error:
ora-12532 tns -
ORA-12514 error while connecting to server
I am using instantclient to connect to Oracle 9i server.
The connection string is given using this format
//host:[port][service name].
In our development environment we can successfully connect to the server. But the connection fails in the production environment giving ORA-12514 error. This occurs even when we copy the instant client dll's onto separate folder and set the library loading path to this folder.
Can u please help me in resolving this problem.Vinay,
Since you are using Windows, are you setting PATH (the lib loading path of Windows)? -
ORA-12514 Error when connection from OEM
I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
but when clicking on database tab -> Performance -> Afer giving username / password I get
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=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
[oracle@rs1pre91dvdba01 admin]$ . oraenv
ORACLE_SID = [oracle] ? DWH1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
How can I access Performance tab from OEM.
thanks.[oracle@rs1pre91dvdba01 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JAN-2011 12:06:28
Uptime 28 days 3 hr. 31 min. 7 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/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ lsnrctl service
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:34200 refused:0 state:ready
LOCAL SERVER
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:106 refused:0 state:ready
LOCAL SERVER
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:56105 refused:0 state:ready
LOCAL SERVER
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[oracle@rs1pre91dvdba01 admin]$ env | sort
ASM_SID=+ASM1
_=/bin/env
COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
DISPLAY=localhost:10.0
DWH_SID=DWH11
G_BROKEN_FILENAMES=1
GI_HOME_BIN=/u01/app/11.2.0/grid/bin
GI_HOME=/u01/app/11.2.0/grid
GRID_HOME=/u01/app/11.2.0/grid
HISTSIZE=1000
HOME=/home/oracle/
HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
INPUTRC=/etc/inputrc
LANG=en_GB
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
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
MDM_SID=MDM11
NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=DWH1
ORACLE_UNQNAME=DWH1
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=172.30.0.125 58337 22
SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
SSH_TTY=/dev/pts/0
SVN_EDITOR=vi
TERM=xterm
TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
USER=oracle -
ORA-03106 Error when connecting to Oracle 10g from Forms 6i
I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
ORA-03106 : fatal two-task communication protocol error
The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
The same installation has also been checked on Windows 2000, but the same problem persists.
I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
Regards
Naveen.Naveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
Dear Friends,
I am using OCI and instant_client (11.2.0.3.0) in my C++ program (on Windows 7) to connect remotely to 11G database.
While doing a connection using server name as well as servername:port/service_name as connection strings, I am getting error of ORA-12504 TNS:listener was not given the SERVICE_NAME in CONNECT_DATA.
According to instant client FAQ & white paper at http://www.oracle.com/technetwork/database/features/instant-client/index.html, no tnsnames.ora is required for instant client. Then why could I be getting this error?
I ensured that only the instant client directory is in Path environment variable. There was a ODBC driver installed on this same host. Could that be modifying the behavior of instant client?
Kindly guide.
Many thanks in advance for your help and time.
Best Regards,
- ganesh>>what is the exact connect string you are using?
For connection, I am using the plain hostname on which the DB server is running.
>>are you calling OCIServerAttach before OCISessionBegin?
I am not using OCISessionBegin. For connecting to DB server, I am using the following sequence of OCI calls (in this same order):
1) g_OCIEnvNlsCreate
2) g_OCIHandleAlloc //-- error handle: OCI_HTYPE_ERROR
3) g_OCIHandleAlloc // --- sevice context: OCI_HTYPE_SVCCTX
4) Setting driver name and application name for the session:
OCISession* usersession = 0;
ret = g_OCIAttrGet(m_pSvcCtx, OCI_HTYPE_SVCCTX, &usersession, NULL,
OCI_ATTR_SESSION, m_pErrHdl);
if (ret == OCI_SUCCESS)
ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"OCI_DRV", 2,OCI_ATTR_DRIVER_NAME, m_pErrHdl);
ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"ClientApplication", <ub4>(strlen("DataReconScanning")), OCI_ATTR_CLIENT_IDENTIFIER, m_pErrHdl);
5) g_OCILogon() using the user, password and host name, as below:
g_OCILogon(m_pDbCon, m_pErrHdl, &m_pSvcCtx,
(text*)user.c_str(), static_cast<ub4>(user.length()),
(text*)pass.c_str(), static_cast<ub4>(pass.length()),
(text*)host.c_str(), static_cast<ub4>(host.length()));
Thanks. -
Sporadic ORA-12154 errors when connecting
We are occasionally receiving "ORA-12154: TNS:could not resolve service name" errors in all of the applications running on our W2K web server connected to an 8.1.6 database on a Sun server. Does anyone have any idea what is causing this and how we can prevent it?
Try using an IP address in your tnsnames.ora instead of a machine name for a tns entry.
-
ORA-12154: Error when connecting to asm instance
hi all, I am now facing new problem with asm of clusterware, I failed to connect to asm instance, there is how I did it:
sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 04:58:52 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+ASM as sysasm
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
I consider listener is correct configed.
lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2010 08:51:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-JUL-2010 22:12:29
Uptime 1 days 6 hr. 39 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\11.2.0\grid\network\admin\listener.ora
Listener Log File e:\app\11.2.0\grid\log\diag\tnslsnr\rac1\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.110)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.112)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Service "itpub" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
Service "itpubXDB" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
The command completed successfully
How to resolve the promblem? Best regards..thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
tnsname.ora:
# tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ITPUB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = itpub)
+ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = +ASM)
*>sqlplus /nolog*
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+asm as sysasm
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
010 12:51:09
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
m)))
OK (20 msec) -
Ora-12203 error when connecting to oracle 9i on win2003 - urgent help reqd
hi
one of our clients who is on same N3 network and is trying to log on to our oracle 9i database which is installed on windows 2003 + srv pack 1 but is getting ora-12203 erorr.
the ip address of the client machine has been allowed thr our firewalls and been allowed to use sqlnet on oracle port 1521
following setting have also been done
in registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME(0) i have set
USED_SHARED_SOCKET=TRUE
using Net manager, i have set connection type as DEDICATED_SERVER.
protocol as TCP/IP and Port no =1521.
At O/S level we have given oracle_home for 9i access (read, modify execute ..etc) to all sub-folders under e:\orant\ora9i
i have restarted the listener service and also the windows 2003 server.
Is there any specific setup criteria which we need to cater when users connect to windows 2003 server
thanks
kedarHi Paul
we have 2 external machine which have been given access thr our firewalls
our database is in Wales and the machines are in england.
everything is ok on the server as i have checked the settings which i could know of
All these machines are on same N3 network , the 2 client machines have DNSlookup set which goes thr all the necessary firewalls and when the following command is run on client machine it can see the server
c:\> nslookup < machine_name >
the access to our database is given thr range of ip address as we dont have static IP and when the above command is run it returns dynamic IP address for the database in Wales
H:\>nslookup krusty.hsw.wales.nhs.uk
Server: bwd-dc1.bwd.xelpct.nhs.uk
Address: 10.xxx.xx.xx
Non-authoritative answer:
Name: krusty.hsw.wales.nhs.uk
Address: 194.xxxx.x.xx <---- ip address of databse
Thanks
Kedar -
ORA-07200 error during connect into system or sys
I have installed ORACLE8i EE on redhat6.2.
Installation was successfull. But when I try
to connect to system or sys user it throws
ORA-07200 Saying sls-sid not defined where as
ORACLE_SID is set in oratab also the database
is up and running.
Can someone provide the solution.
Thanks,
Chandramohan<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chandramohan MUmmachi:
I have installed ORACLE8i EE on redhat6.2.
Installation was successfull. But when I try
to connect to system or sys user it throws
ORA-07200 Saying sls-sid not defined where as
ORACLE_SID is set in oratab also the database
is up and running.
Can someone provide the solution.
Thanks,
Chandramohan<HR></BLOCKQUOTE>
Hi Chandramohan,
I think u should run netasst from ur bin directory and configure ur listner and connect data properly
Check ur tnsnames.ora and listner.ora in network/admin directory in $ORACLE_HOME , i thnk this should help u out.
null -
ORA -1031 Error while connecting to RMAN, RMAN connection
Hi Guru's
I am getting the above mentioned error when trying to connect to RMAN.
I recreate the password file as well. and check the user is a part of dba group
As i am going to connect with user sys so the user have all the required privileges.
Can anyone help over the sameHi Satish,
Thanks for your response,
On one Server i am able to connect to dab with RMAN but when i issue the comman as mentioned below:
conn auxiliary username/password@db_name
i am getting the same error
On the Auxiliary machine when i use the above mentioned command i am getting insufficient privilege error
Maybe you are looking for
-
GR/IR Clearing F.19 - No document generated
Hi I am trying to regouping the GR/IR account at period end but not getting any batch session while executing F.19. I have done following settings at OBYP:- Key BNG (Invoiced but not yet delivered) Reconcliliatin account as our GR/IR account Adjustme
-
How long does it take for Diskwarrior to rebuild a directory?
I have an old G4 iMac with the original 50?GB hard drive. I've been doing lots of pictures, videos and music and it started running slower and slower, so I decided to use Diskwarrior. The graph showed 35% of the directories were out of order - 250,00
-
Error while Installing WAS with SQL server
Hi all, I am trying to install WAS with SQL server as Database. I am getting error at "Register SDM targets" section. We have given SQL server authentication mode to install WAS. Following is the error Log.... Exception: [DataDirect][SQLServer JD
-
Calendar, start_date through end_date
I'd like to use the calendar to display personnel information (out of office, meetings, training, etc.) These things typically span more than one day, but I do not see anything in the calendar to specify a date range for an "event". Any chance anyone
-
Problem: We have 1200 utility invoices in one .pdf doc. Each invoice has a different service address and company name on the bill, however, the address information is listed in the same spot/location on the .pdf page. Does anyone know of a good pro