ORA-28500 and ORA-02063 connecting MySQL to Oracle.

Dear all,

My database is Oracle 11 GR 2 Rac 2 knots and on 64-bit Linux operating system.
Version of my MySQL database is 5.5.17 it's the Linux 32-bit operating system.

I am trying to connect to MySQL database to Oracle database using a database link.

Here is the step by step process that I followed to reach my goal. All my processes are on an Oracle RAC node.

1)
Yum install mysql-connector-odbc
Yum install unixODBC

2)
Edit the file /etc/odbc.ini
[test]
Driver = /usr/lib64/libmyodbc3.so
Description = MySQL ODBC 3.51 Driver DSN
SERVER = 10.0.0.1
PORT = 3306
USER = test
Password = test
Database = test
OPTION = 3
SOCKET =

3)
Edit the /etc/odbcinst.ini file
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so
Setup = /usr/lib64/libodbcmyS.so
FileUsage = 1

(4) test connection
isql - v test test test
Returns:
---------------------------------------
| Connected!
| |
| SQL query |
| help [tablename] |
| quit smoking |
| |
---------------------------------------
SQL >

(5) now, I change the listener.ora file and add the entry. After the entry of my file listener.ora is like this:

LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER))
(ADDRESS = (PROTOCOL = TCP)(HOST=testnode1) (PORT = 1521))
)
)

# line added by Agent
LISTENER_SCAN1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER_SCAN1))
)
)

# line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(= Extproc PROGRAM)
)
(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = test)
(ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
)
)

(6) after these entries, the listener after REBOOT status is as follows:

LSNRCTL > status
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date December 27, 2011 01:19:32
Uptime 0 days 9 h 31 min 12 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file
The listener log file /U01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=testnode1) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service 'test' has 1 instance (s).
Instance of 'test', status UNKNOWN, has 1 operation for this service...
Service 'testdb' is 1 instance (s).
'Testdb1' instance, State LOAN, has 1 operation for this service...
Service 'racdbXDB' has 1 instance (s).
'Testdb1' instance, State LOAN, has 1 operation for this service...
The command completed successfully

(7) then in the tnsnames.ora file, I added the following entry:

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC1521)
)
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)


test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SID = test)
)
(HS = OK)
)

When I test tnsping, it works.

(8) I change the file .bash_profile for Oracle
ORACLE_HOME, ORACLE_BASE were already pointing to the right destination, I added:

LD_LIBRARY_PATH=/usr/local/lib:/U01/app/Oracle/product/11.1.0/Db_1/lib:/U01/app/Oracle/product/11.2.0/dbhome_1/HS/lib:/usr/lib64:/usr/lib
export LD_LIBRARY_PATH

ODBCINI=/etc/ODBC.ini
Export ODBCINI

ODBCINSTINI=/etc/ODBC.ini
export ODBCINSTINI

ODBCSYSINI = / etc
export ODBCSYSINI

(9) then I configured $ORACLE_HOME/hs/admin/inithsodbc.ora
And modified these lines:
HS_FDS_CONNECT_INFO = test
HS_FDS_TRACE_LEVEL = WE
HS_FDS_TRACE_FILE_NAME = odbc_test.log
HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_FDS_SUPPORT_STATISCTICS = FALSE
HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P1
Set = /etc/odbc.ini ODBCINI

(10) then I created a link of database with the following command:
Create a database connection test audience to connect to test identified by test using 'test '.

Also I tried the username and password in the database link with double quotes.

(11) now finally when I try to select records from a mysql table:
Select count (*) from "table"@"test" -I tried with and without double quotes

I get the following error:

ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-02063: preceding the TEST line

How to pass through this error and how do I check the logs for HS?

Your help is needed.

Best regards, Imran

Published by: misterimran on December 27, 2011 13:21

Hello
You had your listener.ora for the DG4ODBC entry-

(ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)

but it should also include the path to the driver manager directory which in your case is/usr/lib64 might then you add this?
The error:

Unable to load the ODBC library symbol: usr/lib64/libmyodbc3.so(SQLSetDescRec)

indicates the lib64 directory are not accessible.

The entry should look like-

(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = test)
(ENVS = LD_LIBRARY_PATH = usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
)

Spaces may have bene lost at the time of publication, but at least there should be a space in the file as indicated by the .
After the change is made and then stop and start the listener.
If you still have problems, please post again the current versions of the configuration files, the complete errors figure in SQLPLUS to a select statement and the output of a trace debugging with errors.

According to the information you use the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem?

Kind regards
Mike

Tags: Database

Similar Questions

  • Insert and update records to MySQL from Oracle

    Hello

    Our application will be insert/update new records in the Oracle database, but I need to insert/update new records in the MySQL database. Oracle and MySQL tables have the same columns.

    Right now, we intend to create DBLink between Oracle and MySQL. The question is to know how to write code to insert/update new records to MySQL from Oracle. I'm a new guy in this area.

    Please give us some examples of code, thanks!

    With Oracle, you should be able to just write the same thing as usual, except for the include link database when you reference the table for example your SQL

    insert into tablename@mysqldblink...

    updating of the game tablename@mysqldblink...

    Services gateway through the database link (odbc drivers or anything else that is used) must make the most of the necessary conversions for you.

  • How to reconfigure and restart replication of MySQL to Oracle GoldenGate after a DDL operation on the source

    I have properly configured and interpreted the goldengate replication of MySQL 5.1 on Oracle 11g using GG 11 g XE as

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/GoldenGate/11g/GGS_Sect_Config_UX_MSQ_to_UX_ORA.PDF

    Once replication has been successfully started working I added a new column to one of the tables of test TCUSTMER

    ALTER TABLE TCUSTMER ADD COLUMN ADDRESS VARCHAR (64) VALUE DEFAULT NULL;

    And insert another line in the same table.

    INSERT INTO TCUSTMER VALUES ('CLARK', 'CLARK BOATS', 'REDWOOD', 'CA', 'Addresss1 Test');

    As soon as I did that replication was broken.

    2015-04-16 17:42:44 OGG - 00146 VAM VAMRead error returned unexpected result: 600 - VAM customer error report < CAUSED OF FAILURE: cause metadata table changed

    On FAILURE: during the treatment of event table in the journal processor card

    Then I returned the DDL change to original

    ALTER TABLE DROP COLUMN TCUSTMER ADDRESS;

    and I tried to run the replication again

    But it does not start as before.

    What should I do to move forward with the same configuration.

    Hello

    Whenever you make a DDL change in the Source table, you must make the same changes on the side of the target also. Then recreate the definition file, copy it to the side of the target and start the process of GoldenGate.

    1 Add the column on the side of the target.

    2. recreate the definition file and copy it to the side of the target.

    3 re-create the Replicat process in the side of the target and try to start it.

    Hope it works... !!! Other friends of suggestions?

    Kind regards

    Veera

  • ERROR: ORA-01017: name of user and password invalid. connection refused

    Hi all

    I need your help.

    I have installed Oracle Audit Vault Server Release 10.2.3.2 in agent collection and Linux system in Windows system. Adding and start collecting DBAUD went fine however adding AGAIN collector back return errors when executing command avorcldb add_collector as follows

    [oracle@avsrv ~] $

    [oracle@avsrv ~] $ avorcldb add_collector - SrcName orcl nom_agent - avagent01 - colltype REDO - av Lugaopc:1521:orcl

    collector REDO_Collector for orcl source already exists

    the initialization of the REDO Collector

    ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    ERROR: ORA-01017: name of user and password invalid. connection refused

    [oracle@avsrv ~] $

    Here are the contents of the avorcldb.log file

    09/09/13 16:58:44 [INFO] command add_collector treatment

    09/09/13 16:58:44 [INFO] treatment arg - FromName = orcl

    09/09/13 16:58:44 [INFO] treatment arg - nom_agent = avagent01

    09/09/13 16:58:44 [INFO] treatment arg - colltype = REDO

    09/09/13 16:58:44 [INFO] treatment arg - av = Lugaopc:1521:orcl

    09/09/13 16:58:44 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connecting administration AV got using jdbc:oracle:oci:@AVDB

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select s.host |': ' | A1.num_value |': ' | avsys.av A2.char_value $attrvalue a1, a2 avsys.av$ attrvalue, avsys.av$ s source, avsys.av$ attrdef ad1, ad2 avsys.av$ attrdef where source_name =: 1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE. '

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] Return value = Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select to_char (source_id) in the avsys.av$ source where source_name =: 1

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] return value = 1

    09/09/13 16:58:46 [INFO] got the source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] collector REDO_Collector for orcl source already exists

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] initialization REDO Collector

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select the username of avsys.av$ source where source_name =: 1

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] Return value = AVSRCUSR1

    09/09/13 16:58:46 [INFO] as [ADM@AV] SQL execution {? = call avsys.dbms_audit_vault.reset_source_user (?)}

    09/09/13 16:58:46 [INFO] adding user password mask

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using STREAMS_HEARTBEAT value

    09/09/13 16:58:46 [INFO] Return value = STREAMS_HEARTBEAT

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table streams_heartbeat

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table streams_heartbeat (src_dbname varchar2 (4000), job_number number, heartbeat_time timestamp)

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] declare dbs_name varchar2 (4000); start selecting rename in dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;

    09/09/13 16:58:46 [INFO] SQL execution as [USR@SRC] create or replace procedure update_heartbeat IS start update streams_heartbeat set heartbeat_time = (select systimestamp from double); commit; end;

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using CAPTURE_RULES value

    09/09/13 16:58:46 [INFO] Return value = CAPTURE_RULES

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table capture_rules

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table capture_rules (nom_regle varchar2 (50), rule_scope varchar2 (6), rule_type VARCHAR2 (3), obj_name varchar2 (100))

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select Rename global_name

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select db_link in user_db_links where db_link =: 1

    09/09/13 16:58:46 [INFO] Using AVDB bind value. AVSRV

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] the Execute SQL as database link [USR@SRC] drop "AVDB. AVSRV ".

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select the version of v$ instance

    09/09/13 16:58:46 [INFO] Return value = 11.2.0.1.0

    09/09/13 16:58:46 [INFO] creating DB link using AVDB. AVSRV, AVSRCUSR1, {avsrcusr_pwd}, Lugaopc, 1521, orcl

    09/09/13 16:58:46 [INFO] login as srcuser_ora01 to @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=Lugaopc) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    09/09/13 16:58:46 [INFO] output of SQLPlus

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] Package created.

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] Package created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO] execution SQL like [USR@SRC] select distinct name of user_errors, whose name =: 1

    09/09/13 16:58:47 [INFO] bind Using DBMS_SRC_STREAMS_COLLECTOR value

    09/09/13 16:58:47 [INFO] Return value = null

    09/09/13 16:58:47 [ERROR] could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:47 [ERROR] ORA-01017: name of user and password invalid. connection refused

    java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)

    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)

    to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:546)

    to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:162)

    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)

    at java.sql.DriverManager.getConnection(DriverManager.java:525)

    at java.sql.DriverManager.getConnection(DriverManager.java:140)

    to oracle.av.avca.jdbc.JdbcConnection. < init > (JdbcConnection.java:87)

    at oracle.av.orcldb.DAO.initConnection(DAO.java:79)

    to oracle.av.orcldb.DAO. < init > (DAO.java:64)

    at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)

    at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)

    at oracle.av.orcldb.Command.process(Command.java:89)

    at oracle.av.orcldb.Main.process(Main.java:118)

    at oracle.av.orcldb.Main.main(Main.java:132)

    I searched the forum at my best level without clear solution

    Concerning

    Sadik

    avorcldb add_collector - REDO SrcName orcl nom_agent - avagent01 - colltype - av Lugaopc:1521:orcl

    Specify the connection string to the Vault check server not in the source database



  • UNIX_TIMESTAMP and FROM_UNIXTIME from MySQL to ORACLE functions

    Hi all

    I'm migrating some functions and stored procedures in MySQL to ORACLE, and I the next instruction

    Set valuedat = FROM_UNIXTIME (valor + UNIX_TIMESTAMP ('2000-1-01 00:00:00 '));

    Since MySQL.

    Look, I found that:

    UNIX_TIMESTAMP ('2000-1-01 00:00:00 ')

    can be equivalent to the following query:

    SELECT (to_date (January 1, 2000 "," MON-DD-YYYY')-to_date('01-jan-1970','DD-MON-YYYY')) * (86400) as dt FROM dual;

    but testing the numbers is not the same

    Please can someone help me!

    Specifically, I need to know how to build the equivalent in oracle for FROM_UNIXTIME and UNIX_TIMESTAMP functions

    Thank you and best regards!

    CRGM

    Hello

    These are functions that I built to solve the original requirement, thanks for all your comments.

    ************************************************************************************************************************************

    CREATE OR REPLACE FUNCTION FROM_UNIXTIME

    (

    TIMESTAMP_ NUMBER

    ) AS OF DATE OF RETURN

    NUMBER OF SECONDS_PER_DAY: = 86400;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    RETURN REF_DATE + (TIMESTAMP_/SECONDS_PER_DAY);

    END FROM_UNIXTIME;

    **********************************************************************************************************************************

    CREATE OR REPLACE FUNCTION UNIX_TIMESTAMP

    (

    DATE_ IN DATE

    ) RETURN AS NUMBER

    NUMBER OF SECONDS_PER_DAY: = 86400;

    NUMBER OF DIFF_BETWEEN_DATES;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    DIFF_BETWEEN_DATES: = TO_DATE (TO_CHAR (SYS_EXTRACT_UTC (DATE_), MASK), MASK)

    -REF_DATE;

    RETURN DIFF_BETWEEN_DATES * SECONDS_PER_DAY;

    END UNIX_TIMESTAMP;

    ******************************************************************************************************************************

    Concerning

  • dblink oracle to postgres with dg4odbc. ORA-28500: connection between ORACLE and a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC

    My configured for /etc/odbc.ini

    [PostgreSQL]

    Description = Test to Postgres

    Driver = psqlodbc

    Trace = Yes

    Trace file = /tmp/sql.log

    Database = danieldb

    ServerName =

    UserName = SA

    Password = password

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTables = No

    ShowOidColumn = No

    FakeOidIndex = No

    My configured for /etc/odbcinst.ini

    [ODBC]

    CommLog = 1

    Debug = 1

    FileUsage = 1

    Layout common = No

    Trace = 1

    [psqlodbc]

    Description = PostgreSQL ODBC driver

    Driver=/usr/lib64/psqlodbcw.so

    CommLog = 1

    Debug = 0

    FileUsage = 1

    My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora

    HS_FDS_CONNECT_INFO = PostgreSQL

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so

    Set ODBCINI=/etc/odbc.ini

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora

    Listener =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PostgreSQL)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)

    (PROGRAM = dg4odbc)

    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')

    )

    )

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = PostgreSQL)

    )

    (HS = OK)

    )

    I'm trying to created public database link:

    CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';

    When I used tnsping

    [root@oracle-poc admin] # tnsping PostgreSQL

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19

    Copyright (c) 1997, 2011, Oracle.  All rights reserved.

    Use settings files:

    /U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))

    OK (0 msec)

    and finally, I try to use the database link:

    "SQL > select * from tabel2"@orapos ".

    2;

    Select * from 'tabel2"@orapos '.

    *

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-02063: preceding the line of ORAPOS

    What wrong with my setup?

    Thank you and best regards,

    Daniel

    Daniel,

    The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
    Go to the.

    http://www.unixODBC.org/

    Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.

    Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-

    HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so

    Depending on where you install it.

    Kind regards

    Mike

  • connection mysql and oracle ORA-28545: error diagnosed by Net8 when connecting to an agent

    Hi all

    I have Oracle 10.2.0.5 server and MySQL 5.3 on windows environment. all are 64-bit.

    I want to connect to MySQL. I do the following

    Configure Listner.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (= Extproc PROGRAM)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (SID_NAME = ORCL)

    )

    (SID_DESC =

    (SID_NAME = mysql)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (PROGRAM = HSODBC)

    (ENVS = LD_LIBRARY_PATH = C:\oracle\product\10.2.0\db_2\LIB)

    )

    )

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))

    )

    Tnsnames.ora configuration

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )
    MySQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= 10.153.103.5) (PORT = 1521))
    (CONNECT_DATA =
    (SID = mysql)
    )
    (HS = OK)
    )

    create file initodbc.ora in the folder hs

    HS_FDS_CONNECT_INFO = mysql

    HS_FDS_TRACE_LEVEL = OFF

    Restart the listner

    tnsping

    C:\users\administrator > tnsping mysql

    AMT Ping Utility for 64-bit Windows: Version 10.2.0.5.0 - Production 08-NOV-2
    015 13:02:52

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:
    C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.153.103.5)
    (PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS=OK))
    OK (0 msec)

    Create the connection odbc for Unicode

    the test is successful

    now, I create the dblink

    create public mysql database link to connect to cssDBTeam identified by oracle using "mysql";

    then try to select from a table inside the MySQL database

    SQL > select * from appeal@mysql;

    Select * from appeal@mysql

    *

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of MYSQL

    How could I solve this problem?

    Thank you.

    Hello

    I realize that your problem is that 10.2 HSODBC was never focused on the Windows 64-bit platform and was only available on 32-bit Windows.  You can not install the 32-bit on WIndows 64-bit HSODBC.

    Your only option is to install 11.2 DG4ODBC on your platform Windows 64 - bit, or if you have a RDBMS 10.2 installed on another platform, then you could use HSODBC as part of this installation and connect from the RDBMS on Windows 64 - bit using the links in the database.  HSODBC 10.2 software could not be installed as a stand-alone product and was only available as part of an RDBMS install.

    Kind regards

    Mike

  • ORA-28500 and ORA-02063 when querying sql server tables.

    Hello

    I am getting below error when querying (also with oracle reports) talbes of MS SQL 2008 database who have more lines. There is no problem with tables with less number of lines.
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding line from SQLSERVER

    When I asked "select *"Areas"@sqlserver;", it is retriving 195 lines and then the display above error.» This table contains 10716 lines.

    Here are the details of our environment:

    Database Oracle 11 G RAC (2 knots) on RHEL 5 64 Bit, MS SQL 2008

    ODBC. INI
    [oracle@proddb1 ~] $ cat /etc/odbc.ini
    [ODBC data sources]
    MSSQL = MS SQL Server

    [mssql]
    Driver=/opt/Microsoft/SQLNCLI/lib64/libsqlncli-11.0.so.1790.0
    Database = Ksa_Fakieh_SFA
    LogonID = OracleUser
    Password=0r@cle999
    Server = SJSQLV01.fakiehgroup.com
    QuotedId = YES
    AnsiNPW = YES
    [ODBC]
    IANAAppCodePage = 4
    Trace = 0
    UseCursorLib = 0
    UseCursorLib = 0


    INIT FILE:

    [oracle@proddb1 ~] $ cat $ORACLE_HOME/hs/admin/initDG4ODBC.ora
    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA. AR8MSWIN1256
    HS_NLS_NCHAR = UCS2
    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/etc/odbc.ini
    #


    Listener.ora:

    # ###############################################################

    #

    TRACE_FILE_LISTENER_PRODDB1 = fakieh1

    LISTEN_DG4ODBC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1511))(HOST = proddb1.fakiehgroup.com))
    )
    )
    SID_LIST_LISTEN_DG4ODBC =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/oracle/fakieh/db/tech_st/11.1.0) (SID_NAME = DG4ODBC)
    (ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib')
    (PROGRAM = dg4odbc)
    )
    )

    #
    # Definition of RAC database listener
    #

    LISTENER_PRODDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1 - vip.fakiehgroup.com) (PORT = 1521)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1) (PORT = 1521)(IP = FIRST)))
    )
    )

    SID_LIST_LISTENER_PRODDB1 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/oracle/fakieh/db/tech_st/11.1.0)(SID_NAME = fakieh1))
    )

    STARTUP_WAIT_TIME_LISTENER_PRODDB1 = 0
    CONNECT_TIMEOUT_LISTENER_PRODDB1 = 10
    TRACE_LEVEL_LISTENER_PRODDB1 = OFF

    LOG_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    LOG_FILE_LISTENER_PRODDB1 = fakieh1
    TRACE_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    TRACE_FILE_LISTENER_PRODDB1 = fakieh1
    ADMIN_RESTRICTIONS_LISTENER_PRODDB1 = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_PRODDB1 = OFF


    IFile=/U01/Oracle/Fakieh/DB/tech_st/11.1.0/Network/admin/fakieh1_proddb1/listener_ifile.ora


    Thank you
    Mohammed.

    Mohammed,
    Without seeing the tracing information, it is difficult to say why this problem occurs.
    However, could you add the following to the file initDG4ODBC.ora gateway -.

    HS_RPC_FETCH_REBLOCKING = OFF
    HS_FDS_FETCH_ROWS = 1

    and try to select it again again SLQPLUS session and see if the same problem occurs?

    Kind regards
    Mike

  • ORA-01017: name of user and password invalid. connection refused - Database Link

    Hi guys,.

    Could you help me, I have a problem connecting to a different database using the database link:

    * 1. I have added in the database 'customer' DEV2 tnsnanes.ora *.

    DEV =
    + (DESCRIPTION = +
    + (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) +.
    + (CONNECT_DATA = +
    + (SID = DEVDB) +.
    +)+
    +)+

    * 2. I tested my connection using tnsping *.

    Oracle@dev > tnsping dev

    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 10, 2010 14:35:35

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:
    +/opt/Oracle/product/10.2/Db_1/network/admin/SQLNET.ora+


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    Oracle@dev >

    * 3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry *.

    SQL > conn devuser/pwd001@dev
    Connected.

    * 4. I then create a database of link.*

    SQL > Create Database Link dev_Link
    + 2 Connect devuser +.
    + 3 identified by pwd001 +.
    + 4 using "DEV"; +

    Database link created.

    SQL >

    * 5. When I try to connect to the database using the database link, I get an error, but I'm sure that the password and user name are ok.*

    SQL > select * from global_name@dev_link;
    Select * from global_name@dev_link
    *+
    ERROR on line 1:
    ORA-01017: name of user and password invalid. connection refused
    ORA-02063: preceding the line of DEV_LINK


    SQL >


    What could be wrong...?

    Try to connect to the database via SQLPlus target using the tnsnames.ora entry: sqlplus bob@remote.

    If the target db is 11g, then breaking the password may be the matter. Try placiing the password in quotes when you create the database link.

    HTH - Mark D Powell.

  • java.lang.Exception: ORA-01017: name of user and password invalid. connection refused - wait_bottlenecks

    Hello

    I have been using OEM for the monitoring of the database. Recently, I've seen more error on screen

    java.lang.Exception: ORA-01017: name of user and password invalid. connection refused - wait_bottlenecks

    So I reset password with the same value to reopen. I still get this error.


    When I try to sign in with the same password in sqlplus, I get same error also.


    SQL > alter user DBSNMP identified by the values '-';

    Modified user.

    SQL > connect DBSNMP.

    ERROR:

    ORA-01017: name of user and password invalid. connection refused


    I don't know why I'm not able to login with the same password I used to change the statement.


    Thanks for the help in advance.

    Let's not your syntax.

    When you say 'identified by values' you tell Oracle 'this is not the password, but it is a salted and hashed password.

    Do not use 'values '.

    Technically,-is not a password valid, so I'll use it valid to demonstrate:

    In 12.1.0.2, it will not allow you to use '-' because this isn't a valid hash value, so I can't prove that it works, but you get the idea

    SQL> grant create session to foo;                     
    
    Grant succeeded.                                     
    
    SQL> conn foo/aaa$
    Connected.
    SQL> conn / as sysdba
    Connected.
    SQL> drop user foo cascade;                           
    
    User dropped.                                         
    
    SQL> create user foo identified by values 'aaa$';
    create user foo identified by values 'aaa$'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string             
    
    SQL> create user foo identified by aaa$;             
    
    User created.                                         
    
    SQL> alter user foo identified by values 'aaa$';
    alter user foo identified by values 'aaa$'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string             
    
    SQL> alter user foo identified by values '---';
    alter user foo identified by values '---'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string
    
  • ORA-01017: name of user and password invalid. connection refused

    Hello

    After changing the password of a user I couldn't connect the user with the changed password.

    Can any one help in this issue?

    Concerning

    Ngoyi

    ---------------------------------------------

    Please see the script below:

    SQL > alter user Sheriff identified by the values "sh123456";

    Modified user.

    SQL >

    SQL >

    SQL >

    SQL > conn Sheriff/sh123456;

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    WARNING: You are more connected to ORACLE.

    SQL >

    -----------------------------------------------------------------------------

    identified by the values "sh123456";

    Don't set the sh123456 password.  It defines the hash to sh123456.  The password is something else.

    If you want the password to be sh123456, the command would be

    alter user identified by sh123456 Sheriff;

    Hemant K Collette

  • java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    Hello

    I get error java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    When I'm trying to run my Unix server. The same scenario when executing designer works very well... nobody knows what username and password... its looking for?

    Thank you
    Vincent

    It is the odiparams.sh of the unix server is updated and configured.

  • WorkflowCA: [SYS] ORA-01017: name of user and password invalid. connection refused

    Hello

    Please help me, I'm getting below error when I set up the wizard of Configuration Workflow 2.6.4.0.0 - Linux


    Workflow Configuration Assistant 2.6.4.0.0 - Linux
    WFCA version: WorkflowCA.java 26.106 29/06/2005-04:33
    WorkflowCA:
    WorkflowCA: Configuration of current workflow...
    WorkflowCA: Kills Feb 16 21:08:57 GMT + 05:30 2010
    WorkflowCA:
    WorkflowCA: Screen-1024, height-768 screen width-
    WorkflowCA:
    WorkflowCA: Graphical User Interface Mode
    WorkflowCA:
    WorkflowCA:
    WorkflowCA: Start to test the connection, which takes less than 3 minutes.
    WorkflowCA:
    WorkflowCA: Test for SYS account login
    WorkflowCA: [SYS] ORA-01017: name of user and password invalid. connection refused

    WorkflowCA: Unable to connect to jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=abc.d.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PROD)))
    java.lang.Exception: invalid connection
    at oracle.apps.fnd.wf.install.db.WorkflowCA.createJDBCConnection(WorkflowCA.java:4806)
    at oracle.apps.fnd.wf.install.db.WorkflowCA.createSYSConnection(WorkflowCA.java:4902)
    at oracle.apps.fnd.wf.install.db.WorkflowCA.schemaCreation(WorkflowCA.java:1039)
    at oracle.apps.fnd.wf.install.db.WfFrame.actionPerformed(WfFrame.java:2051)
    at oracle.ewt.button.PushButton.processActionEvent (unknown Source)
    at oracle.ewt.lwAWT.LWButton.processActionEvent (unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent (unknown Source)
    at oracle.ewt.button.PushButton.activate (unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseReleased (unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseEvent (unknown Source)
    at java.awt.Component.processEvent(Component.java:5266)
    at java.awt.Container.processEvent(Container.java:1966)
    at oracle.ewt.lwAWT.LWComponent.processEventImpl (unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent (unknown Source)
    at java.awt.Component.dispatchEventImpl(Component.java:3968)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1778)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    WorkflowCA: Kills Feb 16 21:09:19 GMT + 05:30 2010
    WorkflowCA: java.lang.Exception: invalid connection (0)
    WorkflowCA: end...

    The respect of
    Rerry

    Hello

    OH, / as sysdba dba using password file

    How to check is there any file password and where?

    already mentioned in document valid

    $ls - ltr $ORACLE_HOME/dbs/orpw *.

    After the release

    Please check and come back.

    Concerning

  • ORA-02063: preceding line HSLINK

    When I try to connect to ms sql to oracle (in solaries 11.1.0.7) I get the error of connection from ORACLE to a system non-Oracle sent this message: before line of HSLINK

    SQL > SELECT * FROM Banks@hslink;
    SELECT * from Banks@hslink
    *
    ERROR on line 1:
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding line HSLINK

    TNSPING and lsnrctl status agree

    usually, for this kind of error a trace would be very useful. So, I can just guess.
    Please add to your gateway init file:
    HS_FDS_SUPPORT_STATISTICS = FALSE

  • ORA-28545 on mySQL - Oracle database link

    Hi all
    I am trying to establish a connection to the mySQL to oracle database.
    Oracle database is running on the 64-bit windows 2003 and version 10.2.0.4.0 computer.
    My init < dbname > and tnsnames, listner looks like this and I can create links from the database without any problems at all. Also oracle for oracle database links work properly on this machine as well.
    HS_FDS_CONNECT_INFO=BOOKDB
    HS_FDS_TRACE_LEVEL=debug
    
    
    BOOKDB=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    
    SID_LIST_BOOKDB=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=BOOKDB)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    )
    )
    
    
    BOOKDB=
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
        (CONNECT_DATA=(SID=BOOKDB))
        (HS=OK)
      )
    When I try to start the listner and then make the tnsping everything seems fine.
    C:\Documents and Settings\adminkh>lsnrctl start bookdb
    
    LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:01:40
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Starting tnslsnr: please wait...
    
    TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    System parameter file is C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    STATUS of the LISTENER
    ------------------------
    Alias                     bookdb
    Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    Start Date                20-JUL-2010 12:01:42
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "bookdb" has 1 instance(s).
      Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\Documents and Settings\adminkh>tnsping bookdb
    
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:02:16
    
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)) (CONNECT_DATA=(SID=bookdb)) (HS=OK))
    OK (10 msec)
    And then I create the database link and it created no problem.
    create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';
    And then I try to run the small request.
    SQL> select * from admins@booklink;
     
    select * from admins@booklink
     
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from BOOKLINK
    If anyone can help me regarding this error.

    Published by: Mariam on July 20, 2010 04:08

    Published by: Mariam on July 20, 2010 04:09

    There was no HSODBC for Windows 64-bit (take a look in the ORACLE_HOME/bin directory - there is no hsodbc.exe file at all).
    You can use product tracking V11.2 DG4ODBC place. 11.2 DG4ODBC was the first certified on 64-bit Windows lets connect you from your Oracle 10.2.0.4 Database 11.2 DG4ODBC which then connects with the 64-bit ODBC driver to the MySQL database.

    You only need to make sure to install DG4ODBC 11.2 in its own ORACLE_HOME - do not install it in your 10.2.0.4 already existing directory ORACLE_HOME - otherwise you will corrupt the existing installation of 10.2.

    Published by: kgronau on July 20, 2010 14:13

Maybe you are looking for

  • copy / paste does not work in El Capitan

    Since the upgrade to 10.11.6 the functions copy / paste don't work, either by the keyboard shortcuts or the Edit menu.

  • Can I remove the buttons on the toolbar

    I would like to delete the news, finance, flicker, Cup and several other buttons on the toolbar. Can I do this?

  • Pass the continuous problem N200

    Hello I have build a systems that need constantly transmit packets containing only zeros and at certain time interval (for example every 2 seconds) pass a package valid ofdm. "" My problem is that the transmission vi ' niUSRP writing Tx Data "is too

  • The FM volume do not fall below 50%

    I just bought a Sansa Clip + 8 GB. I have not yet updated the firmware, but I find a strange volume, with which I hope someone can help. The volume for music actually heard in the earphones can be filed smooth 100% zero & follows closely the Visual o

  • Error SQL Server 2012

    I have install and when I try to run SQL Server Management Studio I get "Extension Shell isolated by Microsoft Visual Studio, cannot find one or more components.  Please reinstall the application. "This started to happen after I tried to install the