260
questions
1
vote
1
answer
38
views
`tnsping` missing for Oracle Instant Client for macOS (ARM64)
Installed the following packages on device M3 chip from Oracle Instant Client(ARM64):
Basic Package (DMG): instantclient-basic-macos.arm64-23.3.0.23.09-1.dmg
SQL*Plus Package (DMG): instantclient-...
0
votes
1
answer
360
views
"ORA-12541: TNS:no listener" but there are log entries in the listener log
I am using SQLPlus on a remote machine and after I put in my username and password it says "ORA-12541: TNS:no listener", but when I look at the listener log on the Oracle 19c server, there ...
0
votes
0
answers
138
views
Not able to install Oracle 21c DB on windows machine
All error screenshot
Configuring Oracle XE listener...
Oracle XE listener configured successfully.
Configuring Oracle XE database...
7% complete
û
8% complete
û
[FATAL] ORA-12560: TNS:protocol ...
0
votes
1
answer
227
views
Oracle.ManagedDataAcess.Client how to connect using TNSNAMES when there are two definitions of alias - first is with FAILOVER
I want to connect using alias from tnsnames.ora.
I parse the file selected based on environment and registry configuration.
I don't know diferent way to connect by alias.
I am currently facing an ...
2
votes
1
answer
232
views
PHP & OCI8. easy connect string not working
I've got a coworkers system that will connect to oracle from php using the TNSNAME, but not with an easy connect string. The same easy connect string works from my system that is setup the same (...
1
vote
0
answers
464
views
TNSNAMES.ORA order of IP addrsses
I am using tnsnames.ora for my Oracle database connection. DB servers are clustered so tns names entry looks like:
ABCD =
(DESCRIPTION =
(ADDRESS_LIST =
(FAILOVER = on)
(...
2
votes
0
answers
119
views
Oracle SQL predefined variable _CONNECT_IDENTIFIER not working with Spool in Toad
I am using Toad and have a file 'run_script.sql' that is used to run .sql scripts and spools to an output file. This has always worked for me, creating the spooled file in the same directory as the '...
0
votes
0
answers
142
views
One of hosts is available but TNSNAMES style url responds error
I'm trying to connect to DB using connecion url:
jdbc:oracle:thin:@(DESCRIPTION=(TRANSPORT_CONNECT_TIMEOUT=2)(RETRY_COUNT=3)(ADDRESS_LIST=(FAILOVER = on)(ADDRESS = (PROTOCOL = tcp)(HOST = host1.test....
1
vote
1
answer
1k
views
Oracle client not connecting to Oracle server (separate docker containers)
My problem is that I'm not able to connect to my Oracle Database (version 21.3.0 running in one docker container) from my Oracle client (version 21 running in a separate docker container).
Here is the ...
0
votes
0
answers
1k
views
What can I do for solving no TNS entries found so how could I make connection?
Installed oracle sql but didn't got anything like oracle_home or tnsnames.ora so how could I make connection?
So i am expecting to solve this problem so I could start my journey with oracle sql and ...
0
votes
0
answers
58
views
Query about connections to oracle by tnsnames
I am newbie to oracle connections. I would really appreciate it if you could tell me why before I was able to connect to oracle by cmd using:
c:\chris> sqlplus
c:\chris> Enter user name : system
...
0
votes
1
answer
400
views
Oracle cannot get sqlldr to reach listener, get ORA-12514 error
Every time I try to run the following sqlldr command on a terminal only oracle 19c system:
sqlldr username/password@$HOSTNAME/$ORACLE_SID control=rules.ctl log=backup_error_logs.txt data=output.csv ...
1
vote
0
answers
604
views
How do i change my text .txt file to a .ora
So I tried to use tnsnames.ora in oracle, but it will not recognize my file and has a blank network alias while creating a tns connection. I found out that the file type is not correct.
My VScode and ...
0
votes
1
answer
4k
views
Location of listener.ora in Oracle 19c?
I'm new to oracle db. I need to change host of listener to configure local database. But
listener.ora file doesn't exist in C:\app\oracle\product\19.3.0\client_1\network\admin.
By this path I found ...
0
votes
1
answer
610
views
Listener failed to start, TNS-01150 and TNS-01153
I have installed Oracle 18c xe in windows 10 , I am connecting Oracle but getting errors
TNS-01150: The address of the specified listener name is incorrect
TNS-01153: Failed to Process the String: (...
0
votes
1
answer
1k
views
tnsping cannot identify the line feed inside tnsnames.ora
I installed oracle client WINDOWS.X64_193000_client_home in my computer. And I set up my tnsnames.ora file. When using tnsping command to test the connection, I find it is OK when I put all the value ...
1
vote
1
answer
1k
views
Oracle Form Builder / ORA-12154: TNS : could not resolve the connect identifier specified
I'm getting the error message below when trying to connect to database in the Data Block Wizard (in Oracle Form Builder):
ORA-12154: TNS : could not resolve the connect identifier specified
In order ...
0
votes
0
answers
204
views
Getting IO Error: The Network Adapter could not establish error error while connecting to the DB
tnsnames.ora file
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = LAPTOP-2HN15HQU)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XEPDB1)
)
)
...
6
votes
3
answers
10k
views
ORA-12154: Can't Connect to Default Oracle XE 21c Database on Windows 10
I've had it. I just can't get this to work. I installed Oracle XE 21c on my Windows 10 desktop. The installation went ok, once I ran the Setup file as an administrator. I basically chose all the ...
0
votes
2
answers
284
views
Connect to an external Oracle DB using TNS
I need to connect to an external database to copy data from there to my table. I have a TNS file for this external database, and I am trying to connect using JDBC like this:
try {
conn = ...
1
vote
1
answer
2k
views
Expdp with special character @ password resulting in error
I have set of new boxes where I need to take a copy of export ,
All of this machines have system user password with complex stuff like@ etc..
Ex:
expdp system/yada@yada1233*something @hostname:...
0
votes
0
answers
672
views
Can't connect to oracle database with Oracle SQL Developer
When I try to connect I get error:
I disabled firewall, started the OracleServiceXE, but still get error.
When I use command lsnrctl status, I get:
lsnrctl start:
My tnsnames.ora file looks like ...
0
votes
1
answer
4k
views
Failing to obtain a JDBC connection to Oracle [closed]
I am currently trying to link my Spring Boot application using JDBC to connect to my Oracle database.
The overall design of the project is to be able to perform CRUD operations.
When I compile and run ...
-1
votes
1
answer
314
views
How to format oracle connection string and output query to file
I am trying to connect to a oracle database, query it, and send results to a txt file. When I run my statement, this shows in the .txt file:
In reality, it should be values from my sql script.
Here ...
0
votes
0
answers
2k
views
Need help registering and setting up listener for local Oracle 19c database so I can connect sqldeveloper remotely
Could someone help me. I have a local 19c database running on Oracle Enterprise Linux 8.3. There's a pdb i created named orclpdb1 that i used to be able to connect to. At this point i didn't setup ...
0
votes
0
answers
966
views
Cannot connect to a database in SQLDeveloper, I/O error: Network Adapter could not stablish the connection
I'm trying to connect to a local database in a computer (from someone else in fact) with Windows Pro and after a long time trying I finnaly installed SQL Express Edition and SQLDeveloper in the 64-bit ...
2
votes
1
answer
8k
views
Error ORA-12162: TNS:net service name is incorrectly specified on Ubuntu 18.04 after installing sqlplus
This is the first time I interact with a database or with sqlplus, but I'm coursing a subject called Data Bases in my college and we were told to install sqlplus with no further assistance and "...
0
votes
2
answers
847
views
Error TNS-12541: TNS:no listener but Windows TNS Listener Services is Started
Somehow, our database instance is not able to connect to the database instance when no any Oracle server files were modified, listed below :
Database Instance : UP, Listener : DOWN, Agent Connection ...
0
votes
0
answers
249
views
Oracle create link between local xe and remote database in SQL Developer
I'm trying to create a link between my local database and my oracle 11g school database. I've finished the link creating between two databases and I tried to run a simple statement from my local ...
0
votes
2
answers
3k
views
Oracle 19c: Oracle Error 12514, no connection to DB possible
on my local oracle 19c installation (Windows Server 2016) everything was running fine until a Windows update from this week. Since then I get the error ORA-12514 – TNS:listener does not currently know ...
0
votes
1
answer
3k
views
JDBC Connection String for Oracle not connecting
Below are my connection settings for Oracle SQL Developer with tnsnames.ora
The pattern of jdbc string required is as below :
jdbc:oracle:thin@:1521:<DATABASE_NAME>
I have tried the following :
...
0
votes
0
answers
1k
views
Oracle SQL Developer IO error: The Network Adapter could not establish the connection - Windows 10 Pro
I am unable to connect to anything. Posting this as a beginner in Oracle SQL Developer and getting this error:
I can't find the Oracle service under Services:
The listener is also not being ...
1
vote
1
answer
693
views
Connecting to Oracle using oci_connect
I am trying to make a successful Oracle connection using PHP.
Here is how my connection string looks:
<?php
$conn = oci_connect("USER", "PASS", "LOSINGMINDHOST");
...
0
votes
0
answers
2k
views
Getting database server IPs from tnsnames.ora
I am working on a web application that will be deployed on individual app servers, each connecting to a different Oracle DB. DB connections are specified in each app server's tnsnames.ora file.
Also, ...
0
votes
0
answers
47
views
ADD_MASTER_DATABASE procedure changes tns login username
I'm trying to configure multi master with two servers (orclsrc and orcltgt) on Oracle 11G (yes, I know it is old but is what we have here) following this guide.
When I'm trying to do:
EXEC DBMS_REPCAT....
0
votes
1
answer
749
views
Oracle JDBC-URL with LDAP to OLE DB connect string - how?
I've got a JDBC-URL like such to connect to an Oracle 12c database:
jdbc:oracle:thin:@ldap://oraldap:389/thisdb,cn=OracleContext,dc=world
As can be seen, connection happens through LDAP.
Now I want ...
-2
votes
1
answer
551
views
Error in creating a DBLINK Oracle to SQL Server
I'am create DBLINK the Oracle(11gR2)(Windows Server 2008) to SQL Server(Windows 10).
I have Oracle Gateway installed.
I created a font of data in ODBC Data Source Administrator and a connection is Ok. ...
0
votes
0
answers
192
views
TNSNAMES.ORA file is missing even after installing ODP.NET from oracle website
I am trying to create a new connection for an Entity Data Model, from Visual Studio 2019 Community Edition. I keep getting error
ora-12154: tns:could not resolve the connect identifier specified.
...
1
vote
1
answer
8k
views
Getting "ORA-28000: the account is locked" while connecting from Python to Oracle
I have Python (3.8.3) and Oracle DB (11g Release 2 server) installed in my local system. Both of the software are working fine individually. I can run programs in python as well as I have tables ...
2
votes
1
answer
4k
views
SQL*Plus syntax doesn't connect via LDAP within SQL Developer
I have a tricky question which I haven't find how to solve it yet. I use LDAP for ORACLE DB connections, on hundreds of DBs and there are no errors when I manually create connections in SQL Developer.
...
-1
votes
2
answers
164
views
How to write a regular expression to replace only the HOST name in the tnsnames.ora using powershell
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ora)))
I want to replace the HOST name with a new value using powershell, Thank you
0
votes
1
answer
420
views
Best Approach - Writing Records to Oracle from Excel with VBA w/ Multiple End Users
I have develop an application in Excel w/ VBA that has a user form that collects data from the end user and inserts that data into a table in Oracle 11g. I have to distribute this file to 10 - 15 ...
0
votes
1
answer
357
views
Set TNS Name admin path while running a component from Java
Currently I m running a component (IBM WTX tool) from Java using the jars provided by IBM. In the WTX component I am connecting to a oracle database using tns connect identifier. While the running the ...
0
votes
2
answers
348
views
ORA-12505 error when connecting to databases on the same machine that listen through the same port
I have a database and it's copy in the same machine called DB1 and DB2.
I am trying to connect to both the databases through SQL Developer. I don't have an Oracle Client installed on my windows.
The ...
1
vote
0
answers
14
views
Legacy system using Oracle 8i - help faking it out
We have a legacy system here that can take analog ekg's over the phone and convert it to a usable format. We don't use it much any more but I cannot phase it out just yet. Problem is on Win10 64bit, ...
0
votes
1
answer
1k
views
SQL Developer missing a library
I'm fairly new to Oracle SQL developer. As I'm trying to make a new connection via TNS, I'm getting this error down below which I've been looking to solve for a while fruitlessly.
Error Message:
...
0
votes
1
answer
445
views
SSRS ODAC Client TNS_Admin Configuration
After installing ODAC client on server where SSRS is running, I'm wanting to move my TNSNames/SQLNET.ora config files to one centralized location. I've moved them to:
D:\apps\oracle_configs
And I'...
0
votes
2
answers
229
views
My application is getting this weird error with TNS but
VB.Net app is getting this error. However when i open SQL Plus from command prompt, I can connect with no problem
ORA-12154: TNS:could not resolve the connect identifier specified
I am not sure what ...
1
vote
1
answer
4k
views
Retrieve the Port to which TOAD for Oracle is connecting to a particular Database
I am using toad for Oracle, neither toad or oracle are my regular tools but inherit a system to give maintenance.
The point is this, Toad connects to all the DB's that I need, but I need to get the ...
0
votes
1
answer
6k
views
ora-12504: tns:listener was not given the service_name in connect_data in windows 10
I'm connecting my application with Oracle database but it gives above error when I trying to login my application.
I'm already tried to different changes in tnsnames.ora file.
Following code is in ...