oracle to postgresql connectivity - oracle

I'm using postgresql 9.1 and oracle 11gR2 64 bit windows.
I'm trying Heterogeneous DB Connection Between Oracle 11gR2 And Postgresql 9.1.
here the info:
I configured by reading these links
http://dbaspot.wordpress.com/2013/05/29/how-to-access-postgresql-from-oracle-database/
http://manojadinesh.blogspot.in/2012/05/heterogeneous-db-connection-between.html
When I tried this command
select * from "testtable"#PG_LINK;
I got an error like
ORA-12154: TNS:could not resolve the connect identifier specified

Related

SAS Enterprise 8.3 oci.dll not found error

I am using Windows 10 machine and have Oracle 12.2.0 installed. When I use ODBC, I can connect successfully to Oracle data-warehouses. But when I try to make an Oracle connection within SAS I get the below error
615 LIBNAME INFO ORACLE PATH='XXXXXXXX' SCHEMA='XX' USER='XXXXXX' PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
615 ! ; run;
ERROR: Unable to load oracle client (oci.dll)
ERROR: Error in the LIBNAME statement.
My path variable has the following in it
C:\app32\client\product\12.2.0\client_1\bin;C:\app\client\product\12.2.0\client_1\bin;
I created a system "ORACLE_HOME" variable which its value is
C:\app\client\product\12.2.0\client_1\bin
Has anyone come across this error and resolved it?

Trying to connect to database, getting error ORA-12154: TNS:could not resolve the connect identifier specified

I am new to oracle, I just installed oracle when I am trying to connect to the database I got this error.ORA-12154: TNS: could not resolve the connect identifier specified.
To connect onn Oracle DB you should configure the file tnsnames.ora wich define DNS to your oracle server.
After configure file, you can test your connection with tnsping DNS_NAMED_SERVER
if you never heard about tns names, you can read more on Oracle Docs https://docs.oracle.com/database/121/NETRF/tnsnames.htm#NETRF260

Oracle GoldenGate dblogin failed with GGSIC : no OCI environment handle created

I'm in trouble with OGG dblogin.
I've installed an Oracle Server 11.2.0 on my windows server 2012, and I attempted to install an Oracle GoldenGate extension.
When using dblogin with ggsci to create a connection , I got this error:
GGSCI<XXXXX>1>dblogin userid xxx xxx
ERROR:OCI Error DPI <status = 3-DPI-003:no OCI environment handle created>.

ORA-01034: ORACLE not available why configuring database for Oracle Database 18c XE on Linux

I completed Oracle PreInstall 18c and Oracle 18c Database installation successfully.
When I run /etc/init.d/oracle-xe-18c configure command I come across with the following error.
BEGIN
dbms_backup_restore.resetCfileSection(dbms_backup_restore.RTYP_DFILE_COPY);
END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
By the way, another Oracle 11XE is installed in the computer. Do you think I have to kill all the ports of 11XE and configure it again or the problem comes from any other place?
You can find other error logs below.
Thank you for your helps.
oracle.sysman.assistants.util.step.StepExecutionException: ORA-01034:
ORACLE not available at oracle.sysman.assistants.dbca.backend.RmanRestoreDatafilesStep.executeImpl(RmanRestoreDatafilesStep.java:205) at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:308) at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:360) at oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:391)
ORA-01034: ORACLE not available , means installation is not successful. please verify the database instances are running by using 'ps -ef | grep pmon'.

ORA-12170: TNS:Connect timeout occurred on CentOS 7

I am configuring a server in CentOS 7 to connect to an Oracle database within the same network. IP ORACLE = 192.167.10.100 IP SERVER = 192.167.15.123
I have installed the Instant Client Package: Basic, SDK and SQL * Plus. Download link
Then set the environment variables:
ORACLE_HOME=/usr/lib/oracle/12.2/client64
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
When entering with the SQL * Plus through the implicit connection string: With the format.
sqlplus username/password#host:port/sid
sqlplus testuser/orcltiger#192.167.10.100:1521/testdb
I get the error: ORA-12170: TNS: the connection timeout occurred
I have been able to connect with the same credentials from a Windows PC with Oracle SQL Developer but from CentOS I get an error:
Someone to help me find the solution, please.

Resources