Since the upgrade to the 19C Oracle DB (before 12C) I receive randomly those ORA-03114 error message’s.
Before the upgrade I never received it. Any idea’s what exactly why those error messages pops up suddenly and what changes needs to be done?
- Domain Win10 PC
- Not all PC’s in the domain having this issue
- only localy tnsnames.ora change
ORA-03114: not connected to ORACLE
asked Jan 9, 2021 at 7:43
UK01UK01
11 silver badge2 bronze badges
4
ORA-03114 not connected to ORACLE
Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may also happen if communication trouble causes a disconnection.
Common causes for the ORA-03114 error include:
- Listener process is not running
- DB is shutting down or session has been forcibly disconnected
- Missing entry to the tnsnames.ora
- Network issues such as timeouts
- Problems with connection pooling (shared servers, MTS)
If — as you seem to suggest — your tnsnames.ora was modified recently, an incorrect configuration could be one possible reason for the error, especially if other clients are not experiencing any problems. Compare the tnsnames.ora and sqlnet.ora files between the client that fails and the clients that work. Also check the network path for routers or firewalls that could be enforcing idle timeouts, if that is applicable in your environment.
See here for further explanation:
- https://www.tekstream.com/resource-center/ora-03114-not-connected-to-oracle/
- http://www.dba-oracle.com/t_ora_03114.htm
answered Jan 9, 2021 at 15:11
pmdbapmdba
2,5642 gold badges4 silver badges11 bronze badges
Since the upgrade to the 19C Oracle DB (before 12C) I receive randomly those ORA-03114 error message’s.
Before the upgrade I never received it. Any idea’s what exactly why those error messages pops up suddenly and what changes needs to be done?
- Domain Win10 PC
- Not all PC’s in the domain having this issue
- only localy tnsnames.ora change
ORA-03114: not connected to ORACLE
asked Jan 9, 2021 at 7:43
UK01UK01
11 silver badge2 bronze badges
4
ORA-03114 not connected to ORACLE
Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may also happen if communication trouble causes a disconnection.
Common causes for the ORA-03114 error include:
- Listener process is not running
- DB is shutting down or session has been forcibly disconnected
- Missing entry to the tnsnames.ora
- Network issues such as timeouts
- Problems with connection pooling (shared servers, MTS)
If — as you seem to suggest — your tnsnames.ora was modified recently, an incorrect configuration could be one possible reason for the error, especially if other clients are not experiencing any problems. Compare the tnsnames.ora and sqlnet.ora files between the client that fails and the clients that work. Also check the network path for routers or firewalls that could be enforcing idle timeouts, if that is applicable in your environment.
See here for further explanation:
- https://www.tekstream.com/resource-center/ora-03114-not-connected-to-oracle/
- http://www.dba-oracle.com/t_ora_03114.htm
answered Jan 9, 2021 at 15:11
pmdbapmdba
2,5642 gold badges4 silver badges11 bronze badges
ORA-03114
Oracle programs or not, it is safe to say that every user of a computer in the past twenty years has faced the frustration of attempting to initiate a program to have it halted by a problem with network connectivity. The very potential of computer technology in the 20th and 21st centuries has hinged thus far on the ability to connect to a network of other users and servers, so, invariably, issues will occur in the quest of working this out. These types of problems are particularly pertinent when the success of a database system relies on its accessibility to several users at various locations within a company. The ORA-03114 is one of many Oracle error messages that are prompted when these type of connectivity issues are present.
The Problem
The ORA-03114 is an error message triggered when a user attempts a call to Oracle when no connection was established. This will typically happen in response to a user-written program not being logged on. In many cases, the server or listener process may not be running or another location shut down the database while trying to access.
This error message can also happen due to communication trouble caused by a disconnection from the database. This can derive from problems with connection pooling such as shared servers or multi-threaded server. There can also be some problems with missing entries to the tnsnames.ora.
The Solution
The ORA-03114 can occur because of a number of different problems. As with many Oracle errors that have numerous possible triggers, the first user step is looking at the log to see if anything seems out of character. Let’s go through a few different scenarios that a user might find after searching the log.
In some cases, a user will be prompted to enter a password in the middle of creating a database. Despite entering the correct password, the user is unable to connect. So, what’s the problem? Typically in a situation such as this, the database is held up in the EMCA step (Enterprise Manager Configuration Assistant). When configuring a database using EMCA, the database will be temporarily unavailable and users will not be able to connect. The listener will need a new tna connection, but it does not have access to the new database yet. The best way to prevent this issue is, prior to the creation of the database, modifying the SID_LIST section of the listener.ora and adding an entry to the yet-to-be-formed database, then reloading – this will establish a connection for the listener.
In another scenario, the database server remains idle for a certain interval of time, triggering a router of firewall to disconnect the server. What can be done in response? Verify the configuration by setting the database to send a packet every ten minutes to offset the firewall settings. Use the parameter SQLNET.EXPIRE_TIME to specify the time interval. It will default to ‘0’, but it is recommended to adjust this field to ‘10’. To run a test, stop your Oracle database instance, edit the SQLNET.EXPIRE_TIME, restart the database, do a full connect to the Oracle driver as SYSTEM/MANAGER and execute the stored sleep procedure in Oracle. Adjust the expire time as is necessary for your system requirements. You can also check the EMCA, select your database and click down to “securityprofileidle time” and set the time that the system can remain idle before disconnecting to your preferences.
Looking forward
These are just a few of the primary prompts for the ORA-03114 error. These corrections should provide the user with plenty of tactics to take the problem on. However, there is a vast assortment of issues that can prompt an ORA-03114, as in far too many to list. Fortunately, the aforementioned solutions can successfully correct a number of variations of the error. In the event that you need further assistance, you should contact a licensed Oracle database consultant who can work further with your company to prevent these types of errors.
April 30, 2021
I got ” ORA-03114: Not Connected to Oracle ” error in Oracle database.
ORA-03114: Not Connected to Oracle
Details of error are as follows.
ORA-03114 not connected to ORACLE Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may also happen if communication trouble causes a disconnection. Action: Try again. If the message recurs and the program is user written, check the program.
Not Connected to Oracle
This ORA-03114 errors are related with the call to Oracle was attempted when no connection was established.
Usually this happens because a user-written program has not logged on. It may also happen if communication trouble causes a disconnection.
Usually this error is get when database Connection issue exists, so check database connection again.
Check your Network or Firewall issues, application server is disconnected from database server because of network issues.
Check listener of database if it is running or not.
Check tnsnames.ora if the database connection string is correct or not.
Do you want to learn Oracle Database for Beginners, then read the following articles.
Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )
1,519 views last month, 1 views today
About Mehmet Salih Deveci
I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA, Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].- -Oracle DBA, SQL Server DBA, APPS DBA, Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için [email protected] a mail atabilirsiniz.