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:52Copyright (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
Tags: Database
Similar Questions
-
ORA-28545: error diagnosed by Net8 when connecting to an agent
Hi all
This question was asked several times in this forum and I went to many discussions in this forum, but unfortunately I failed.
I want to connect to MySQL database to oracle. I have the following configurations.
- Oracle database edition company 12 c (12.1.0.2.0) 64 bits on 64-bit Windows server 2012
- I have 5.6.11 MySQL on windows 7 64 bit
- I downloaded the driver site for delivery of oracle ODBC (MySQL Connector/ODBC 5.3.4 MSI for Windows x 86 (64 bit))
- I have install ODBC on my oracle server, a full install which installs the Unicode and Ansi versions.
- I create the connection ODBC for Unicode by going to control panel-> administrator tools-> (64-bit) ODBC Data Sources-> system DSN. I test and the test succeeded.
- I have set up my files Listner.ora, Tnsname.ora and initmysql.ora as below;
Listner.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = c:\app\Administrator\product\12.1.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
)
(SID_DESC =
(SID_NAME = mysql)
(ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
(PROGRAM = dg4odbc)
(ENVS = LD_LIBRARY_PATH = C:\app\Administrator\product\12.1.0\dbhome_1\LIB)
)
)LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ORADEV.hct.org)(PORT = 1521))
)Tnsnames.ora
PDBORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = ORADEV.hct.org)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = pdborcl.hct.org)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ORADEV.hct.org)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.hct.org)
)
)MySQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = N410FS02)(PORT = 1521))
(CONNECT_DATA =
(SID = mysql)
)
(HS = OK)
)initmysql.ora (C:\app\Administrator\product\12.1.0\dbhome_1\hs\admin\)
HS_FDS_CONNECT_INFO = mysql
HS_FDS_TRACE_LEVEL = OFF
then I stop and start the listener, the listener status is less than
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on April 23, 2015 09:16
: 52Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=ORADEV.hct.org) (PORT = 152
(1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 12.1.0.2.0 - Prod
ction
Start date April 23, 2015 09:13:56
Uptime 0 days 0 h 2 min 59 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
C:\app\Administrator\product\12.1.0\dbhome_1\network\a Listener parameter file
dmin\listener.ora
C:\app\Administrator\diag\tnslsnr\ORADEV\listener\aler log listener
t\log. XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ORADEV.hct.org) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
"Mysql" service has 1 instance (s).
"Mysql", status UNKNOWN instance, has 1 operation for this service...
Service 'orcl.hct.org' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
Service 'orclXDB.hct.org' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
Service 'pdborcl.hct.org' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
The command completed successfullytnsping MySQL
AMT Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2
015 09:17:54Copyright (c) 1997, 2014, Oracle. All rights reserved.
Use settings files:
c:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02)
() (PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS = OK))
OK (40 msec)then I open sqlplus and connect to my plug-in database as user sys and create a link from public database for the test scheme that I have created in the MySQL database.
create public database link mysql connect to test identified by test using 'mysql';
then I try the table1 which lies in the scheme of test of MySQL to sqlplus as below
SQL> select * from table1@mysql; select * from table1@mysql * ERROR at line 1: 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 MYSQL
I have tried versions of Ansi and Unicode ODBC, but the same question.
where is the problem in my setup?
Thank you.
You use the wrong host name in the tnsnames.ora.
Take a look at the Oracle listener - it is configured with the address: (ADDRESS = (PROTOCOL = TCP) (HOST = ORADEV.hct.org)(PORT = 1521))
In your tnsnames.ora you specified in the mysql alias: (ADDRESS = (PROTOCOL = TCP) (HOST = N410FS02)(PORT = 1521))
It does not work. Alias configured in the tnsnames.ora AMT must reference an Oracle listener who begins the process of bridge, so in your case at ORADEV.hct.org.
So please correct your tnsnames.ora entry:
MySQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ORADEV.hct.org)(PORT = 1521))
(CONNECT_DATA =
(SID = mysql)
)
(HS = OK)
)
-
Once again - ORA-28545: error diagnosed by Net8 when connecting to an agent
I am trying to connect to a SQL server server 2012
I make the connections ODBC (called MOFIBO2, MOFIBO3, MOFIBO4) and I have a successful connection to then SQL server.
The Oracle database is:
Oracle Database 11 g Release 11.2.0.3.0 - 64 bit Production
I made 3 versions of the initdg4odbc.ora and they all look the same:
# 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 = MOFIBOx (MOFIBO2, MOFIBO3 and MOFIBO4)
HS_FDS_TRACE_LEVEL = off
#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >
My lisener.ora look like this:
listener.ora # Network Configuration file: C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = RESP-ora01)(PORT = 1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
)
(SID_DESC =
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(SID_NAME = RESPTEST)
)
(SID_DESC =
(SID_NAME = MOFIBO2)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
)
(SID_DESC =
(SID_NAME = MOFIBO3)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
)
(SID_DESC =
(SID_NAME = MOFIBO4)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
)
)
ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
And my share of tnsnames.ora mofibo then look like this (I did three variants as different "manual" using different methods):
MOFIBO2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521))
(CONNECT_DATA =
(SID = MOFIBO2)
)
(HS = OK)
)
MOFIBO3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID_NAME = MOFIBO3)
)
(HS = OK)
)
MOFIBO4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MOFIBO4)
)
(HS = OK)
)
When tnsping to all three versions I get this:
C:\users\administrator > tnsping mofibo2
AMT Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on April 24, 2014 12:48:17
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521)) (CONNECT_DATA = (SID = MOFIBO2)))
HS = OK))
OK (10 ms)
C:\users\administrator > tnsping mofibo3
AMT Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on April 24, 2014 12:48:23
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DELTOMBE
(RELATED) (SID_NAME = MOFIBO3)) (HS = OK))
OK (10 ms)
C:\users\administrator > tnsping mofibo4
AMT Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on April 24, 2014 12:48:27
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DELTOMBE
(RELATED) (SERVICE_NAME = MOFIBO4)) (HS = OK))
OK (0 msec)
I created three database link with then in following (user name and password was in the wright case):
create database MOFIBODB2 link to connect to the "username <>' identified by"password <>"with"MOFIBO2 ";
create database MOFIBODB3 link to connect to the "username <>' identified by"password <>"with"MOFIBO3 ";
create database MOFIBODB4 link to connect to the "username <>' identified by"password <>"with"MOFIBO4 ";
When I tried to select from a table (select * from clients @ < DATABASELINKHERE >) I get errors (replace MOFIBO2 with MOFIBO3/4 and the same error occurs):
SQL > select * from customers@MOFIBODB2;
Select * from customers@MOFIBODB2
*
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 MOFIBODB2
What was my mistake?
Hello
In the listener.ora, you have the host as -
(HOST = RESP-ora01)
but in tnsnames.ora entries you have.
(HOST = RESP-ouA02)
The tnsnames.ora host must be the same as the host of the listener.
Unless you have a listener running on the RESP-ouA02 it is not clear why the tnsping returns a result.
Change the host in the tnsnames.ora and let us know what happens.
Kind regards
Mike
-
Linux for SQL Server: ORA-28545: error diagnosed by Net8
Hi guys,.
I am getting confused with the steps to follow for this because the Oracle documentation is less than the normal ("HS_FDS_CONNECT_INFO = dns" is not enough for example) and different Articles/forum messages saying different things.
I am trying to connect to Oracle 11.2.0.3 on Linux (64) to a SQL Server 2008 R2 on x 64 with a database named DBA_Housekeeping. Does anyone have a clear guide to the steps (and where)? Can you see what I'm doing wrong here?
Oracle hostname: gblabl76
SQL Server hostname: UKAHES066
I did all the steps are on the Oracle server. I didn't something on the SQL Server (am I supposed to install a client/drivers there?):
1 created initDBA_Housekeeping.ora in $ORACLE_HOME/hs/admin /.
HS_FDS_CONNECT_INFO = "UKAHES066\\UKAHES066.DBA_Housekeeping" HS_FDS_TRACE_LEVEL = OFF #HS_FDS_SHAREABLE_NAME =
2 added something to the listener.ora on the oracle server & then start the listener (of the said State UNKNOWN):
MSSQL = (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = gblabl76)(PORT = 1523))) SID_LIST_MSSQL = (SID_LIST = (SID_DESC = (SID_NAME = DBA_Housekeeping) (ORACLE_HOME = /oracle/product/11.2.0.3/db_1) (PROGRAM = dg4odbc) ) )
3. Add a tnsnames file entry:
DBA_Housekeeping = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (CONNECT_DATA = (SID = DBA_Housekeeping)) (HS=OK) ) )
4 creates a connection to the SQL Server default for this database instance. Then, I created a link of database in Oracle:
CREATE PUBLIC DATABASE LINK DBA_Housekeeping CONNECT TO "hkadm" IDENTIFIED BY "hkadm" USING 'DBA_Housekeeping';
But when I try to query the database through a db connection I get the error listed. Anyone see where I am going wrong?
Do I need to install the drivers on Windows Server (and requires a reboot?)?
I have to create this DNS thing or matches the string in the hs .ora enough?
Thanks for the tips: s I hope to connect to our SQL instances server so they can be monitored by their SUMMIT.
Mike
Those who seek to connect to Oracle & SQL Server I want to give you the best solution to your problem.
Use a server linked server SQL for Oracle (push rather than pull).
If you do just a server then you could do directly. However, if you plan to use several servers, then you must create a SQL Server repository (it could be the free Express version) that will store the data of all your SQL Server databases and then passes Oracle.
The reason why I did this original post is because I want to store data in our Oracle APEX SQL Server monitoring system. I lost a day trying to trawl through the net for specific instructions for setting up (before Klaus answered me here). It took me less than an hour to select from & insert into an Oracle database in the opposite direction.
1 install the Oracle client on the instance of SQL Server
2. If suppliers (under related servers) does not list Oracle then reboot the server (ideally your new repository SQL Server); If she's already then skip this step.
3. Add an entry for your new DB Oracle TNSNames file
4 create a server associated with the oracle credentials
That's all that is needed for a working solution. Yesterday I had nothing, today, I have a link will:
Many MSSQL isntances-> repository MSSQL-> repository Oracle APEX
Mike
-
I tried to install Windows Vista SP1 since July without success. I stopped trying in October but just tried it once more and I get the error code 8024200d message when it fails to install.
See this previous thread on the problem: http://www.google.com/search?hl=en&safe=off&rls=com.microsoft: en - US & q = + site: social.technet.microsoft.com + 8024200d & ei = hkchS4O6M9HolAfh8viLCg & a = X & oi = forum_cluster & resnum = 1 & ct = more results, & ved = 0CA0QrQIwAA
Unlimited installation and compatibility for Vista SP1 support is available free of charge from April 2008, through June 30, 2009. This support now will cost $59 us $ (or more) per incident.
Good luck!
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
ORA-28545-error when trying to connect to a MSSQL DB
Like many others, I came across problems trying to connect to a MSSQL-DB. I tried various things mentioned in the forum, but nothing helped.
I did the following:
On Windows INFORDBSERVER02 servers where our Oracle11-Installation is hosted, I installed the software bridge in a different location.
During installation, I decided to use the port 1531 for the listener, and then asked me about the connection parameters to our MSSQL Server:
Our database is located on the 'profileserver02' server and the DB is called 'profile', but there was an entrance third (for me unknown) and I gave him the same value
as the name of the server.
The listener has started and there was a listener.ora with the following entries:
LISTENER_PROFILE =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = INFORDBSERVER02.fmbb.local)(PORT = 1531))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1531))
)
)
ADR_BASE_LISTENER_PROFILE = D:\Ora_GW
I then checked the initdg4msql.ora, which had entries
HS_FDS_CONNECT_INFO = [profileserver02] / profileserver02/profile
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_RECOVERY_ACCOUNT = RECOVERY
HS_FDS_RECOVERY_PWD = RECOVERY
On the server where I want to get access, I've added an entry for the tnsnames.ora:
dg4msql.INFORDBSERVER02 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = INFORDBSERVER02.fmbb.local)(PORT = 1531))
(CONNECT_DATA =
(SID = dg4msql)
(GLOBAL_DBNAME = dg4msql.INFORDBSERVER02)
)
(HS = OK)
)
Finally, I created a link DB:
CREATE DATABASE LINK PUBLIC profile02 CONNECT TO "anw' IDENTIFIED BY 'password' USING 'dg4msql.infordbserver02 '.
I tried to access the DB in issueing of position
Select * from dual@profile02
I got the errormessage:
Error: ORA-28545: Von Net8 bei der zu einem Fehler diagnostizierter agent connection
Cannot retrieve the text of the message NETWORK/NCR 65535
ORA-02063: before 2 lines von PROFILE02
SQLState: 99999
ErrorCode: 28545
Position: 19
I changed one line in the listener.ora, namely
HS_FDS_CONNECT_INFO = //profile [profileserver02]
that got rid of this third unknown parameter, but nothing has changed...
I tried to use the listener.ora.sample in the dg4msql directory
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp (PORT = 1531))(HOST=localhost))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = D:\Ora_GW)
(PROGRAM = dg4msql)
)
)
#CONNECT_TIMEOUT_LISTENER = 0
but then the listener has not yet started.
Any tips?
For the first listener that you posted you do not have a section of SID. So he won't be able to lay a bridge. In addition, it would be easier when you use the earpiece of the spawn House door entrance to the gateway process o gateway.
So put a listener.ora file at your home, gateway network\admin with this content:
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp (PORT = 1531))(HOST=localhost))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = D:\Ora_GW)
(PROGRAM = dg4msql)
)
)
Then stop the LISTENER_PROFILE listener, open a DOS window and correctly set the ORACLE_HOME. Change to D:\Ora_GW\bin and start the listener using lsnrctl start.
What I don't understand is your comment:
"
I changed one line in the listener.ora, namely
HS_FDS_CONNECT_INFO = //profile [profileserver02] '.
I assume you are talking about initdg4msql.ora...
So let's just check the link if it works...
If not, please provide a status of Auditor for the listener of the entry door and an exit of tnsping from home using "tnsping dg4msql.INFORDBSERVER02" database Oracle
-Klaus
-
Hello
I have a problem to connect my database
error ora-12545 Connect failed because target host or object does not exist
I checked the forums for similar error
tried all the recommendation as
Check the file hosts, ping server... but nothing
My connection is like that
I have a server of db oracle on a RHEL 5.4
I have a client oracle on an other RHEL 5.4
I tried to connect to the Database via the client, but it does not work
I have configured my connection string (orcl)
tnsping work: tnsping orcl
Still I can't connect to the db Server
Here is something else
When I type sqlplus that comes from the command prompt
username
After the password
and then I had error ora-12545 connect failed because target host or object does not exist
but
When I connect like this: user/pass@orcl
it brings me to the shell prompt without giving error *.
as it connects and disconnects just after
Are there any newspaper I should enable or check?
What should be done to fix this?
Any idea would be appreciated?
Thank youWhat do you see in the strace output file that corresponds to the time when SQL * younger disappear?
You can view the last 100 lines or more of the file?
In addition, you use an AMD processor on this system by chance? The reason why I ask is because of the following My Oracle Support note:
ORA-24550: SQL * Plus Client 32-bit can hang on a Linux X 86 - 64 OS with processor AMD [ID 1120724.1]
However, we have not seen any messages associated with this question in one of your outings, so may not be relevant at all.
-
Choose between MySQL and Oracle - problem with MySQL text columns?
Hello.
New to this forum and Oracle please go easy on me.
I'm selecting data in a MySQL database.
This SQL works very well: -.
Select 'Device_Label' Device"@ed_link «»
where "Device_ID" = 6665;
Here, the MySQL Device_Label column is of type varchar (255).
This SQL fails with the error - ORA-00904: "Device_Tag": invalid identifier
Select 'Device_Tag' Device"@ed_link «»
where "Device_ID" = 6665;
Here, the MySQL Device_Tag column is of type text.
Column Device_Tag certainly exists and is populated.
Is the problem related to the MySQL type text column, and is there a solution?
Thank you.Hello
The ora-997 because of the entry door is not a restriction of the Oracle. You cannot use a table defined as a long in the create table... as select statement..., you would see the problem even if it was a copy of Oracle for Oracle.
If one of the columns of MySQL are translated as a long in Oracle you will hit this problem.
The bypass alone is to avoid columns long or you can try to create a view in MySQL by using the cast function, which converts the columns that translate to long something and then use it in the create statement.Kind regards
Mike -
Creating a DB link between mySQL and Oracle
How can I create a dblink in mySQL to display the data in a table in Oracle 10g?
Thank you
RoaldWhat is the OS of Oracle and MYSQL database?
You can check the following link
http://www.Pythian.com/news/1554/how-to-access-MySQL-from-Oracle-with-ODBC-and-SQL/ -
ORA-28528 errors or incomplete data when access an Informix Server
We have configured a dblink to an Informix server. We use UnixODBC + Informix CSDK on a RHEL 4 x86_64.
After running several queries, we saw 3 different situations:
The result of the query is correct.
B. the result is incomplete. The table can have 24 ranks, but the output indicates that 13. However, Oracle receives 24 ranks, as indicated at the end of the output.
C. data type conversion error.
SQL > select * from 'centros"@test_informix2;
ERROR:
ORA-28528: heterogeneous Services data type conversion error
ORA-02063: preceding the line of TEST_INFORMIX2
-----
dg4odbc to exit when you make a selection with incomplete results as described in situation B
-----
Oracle Corporation - Tuesday 11 August 2009 16:12:02.321
Heterogeneous Agent release
11.1.0.6.0
Oracle Corporation - Tuesday 11 August 2009 16:12:02.321
Version 11.1.0.6.0
Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '4 '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
layout HS_FDS_TRANSACTION_LOG or "HS_TRANSACTION_LOG".
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout by default «AL32UTF8» HS_NLS_NCHAR
parameter HS_FDS_TIMESTAMP_AS_DATE if there is no 'TRUE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HS_FDS_FETCH_ROWS layout without '100 '.
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQ
LStatistics ".
Release of hgosdip, rc = 0
ORACLE_SID is 'test_informix2 '.
Product information:
Port RLS / Upd:6 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.1.0.6.0_0006, Instance: test_informix2
Release of hgogprd, rc = 0
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 31
HOCXU_DRV_NCHAR = 873
HOCXU_DB_CSET = 31
HOCXU_SEM_VER = 102000
Entry hgolofn to 2009/08/11-16: 12:02
HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/local/lib/libodbc.so '.
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLAllocHandle
symbol_peflctx = 0x9893c70d
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindCol
symbol_peflctx = 0x9893c873
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindParameter
symbol_peflctx = 0x9893d2e4
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLCancel
symbol_peflctx = 0x9893ec84
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeParam
symbol_peflctx = 0x98949f10
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDisconnect
symbol_peflctx = 0x9894a5c8
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLEndTran
symbol_peflctx = 0x9894d4d4
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecute
symbol_peflctx = 0x9894f17c
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFetch
symbol_peflctx = 0x9894fd04
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeHandle
symbol_peflctx = 0x98951fc9
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeStmt
symbol_peflctx = 0x98951fec
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetData
symbol_peflctx = 0x989541dc
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetEnvAttr
symbol_peflctx = 0x98957fa8
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetFunctions
symbol_peflctx = 0x989583c4
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLMoreResults
symbol_peflctx = 0x9895ab28
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLNumResultCols
symbol_peflctx = 0x9895bad8
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLParamData
symbol_peflctx = 0x9895bedc
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPutData
symbol_peflctx = 0x9895e908
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLRowCount
symbol_peflctx = 0x9895ee78
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetEnvAttr
symbol_peflctx = 0 x 98961458
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescRec
symbol_peflctx = 0 x 98961230
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColAttribute
symbol_peflctx = 0x9893f4ec
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColumns
symbol_peflctx = 0x989416e4
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLConnect
symbol_peflctx = 0 x 98947014
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeCol
symbol_peflctx = 0x989494f0
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDriverConnect
symbol_peflctx = 0x9894b337
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecDirect
symbol_peflctx = 0x9894e9e2
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLForeignKeys
symbol_peflctx = 0x98950bdc
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetConnectAttr
symbol_peflctx = 0x989524ab
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagField
symbol_peflctx = 0x989567f3
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagRec
symbol_peflctx = 0x989576e5
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetInfo
symbol_peflctx = 0 x 98959083
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetStmtAttr
symbol_peflctx = 0x989593e3
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetTypeInfo
symbol_peflctx = 0x9895a548
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrepare
symbol_peflctx = 0x9895c9c6
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrimaryKeys
symbol_peflctx = 0x9895d13e
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedureColumns
symbol_peflctx = 0x9895d938
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedures
symbol_peflctx = 0x9895e19a
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetConnectAttr
symbol_peflctx = 0x9895f1fc
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetStmtAttr
symbol_peflctx = 0x989634a8
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescField
symbol_peflctx = 0x98960e5a
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLStatistics
symbol_peflctx = 0x98965ed6
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Entry hgolofns to 2009/08/11-16: 12:02
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLTables
symbol_peflctx = 0 x 98967014
hoaerr:0
Exit hgolofns at 2009/08/11-16: 12:02
Release of hgolofn, rc = 0 to 2009/08/11-16: 12:02
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
Release of hgoinit, rc = 0 to 2009/08/11-16: 12:02
Entry hgolgon to 2009/08/11-16: 12:02
Reco:0, name: informix, tflag:0
Entry hgosuec to 2009/08/11-16: 12:02
Release of hgosuec, rc = 0 to 2009/08/11-16: 12:02
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP to 'HS_FDS_TRANSACTION_LOG' returns ""HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returns 'TRUE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULT_SET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using informix as a default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
Entry hgocont to 2009/08/11-16: 12:02
HS_FDS_CONNECT_INFO = "test_informix2".
RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
Entry hgogenconstr to 2009/08/11-16: 12:02
DSN:test_informix2, name: informix
OPTN:
# > connection settings (len = 43) < #.
# DSN = test_informix2;
#! UID = informix;
#! PWD = *.
Release of hgogenconstr, rc = 0 to 2009/08/11-16: 12:02
DriverName:iclis09b.so, DriverVer: 3.50.0000 3.50.U
DBMS name: Informix, DBMS Version: 07.31.0000 UD5
Release of hgocont, rc = 0 to 2009/08/11-16: 12:02
SQLGetInfo Returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
Release of hgolgon, rc = 0 to 2009/08/11-16: 12:02
Entry hgoulcp to 2009/08/11-16: 12:02
Entry hgowlst to 2009/08/11-16: 12:02
Release of hgowlst, rc = 0 to 2009/08/11-16: 12:02
SQLGetInfo returns "for SQL_IDENTIFIER_QUOTE_CHAR.
SQLGetInfo returns N for SQL_COLUMN_ALIAS
Release of hgoulcp, rc = 0 to 2009/08/11-16: 12:02
Entry hgouldt to 2009/08/11-16: 12:02
Release of hgouldt, rc = 0 to 2009/08/11-16: 12:02
Entry hgobegn to 2009/08/11-16: 12:02
tflag:0, original: 1
Hoi:0xbfffe688, ttid (len 21) is...
00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
10: 34 [3.564] 36352E33
tbid (len 10) is...
0: 00030003 00000234 0104... 4.....]
Release of hgobegn, rc = 0 to 2009/08/11-16: 12:02
Entry hgodtab to 2009/08/11-16: 12:02
number: 1
Table: officers
Entry hgopcda to 2009/08/11-16: 12:02
Column:1 (cod_agent): dtype:1 (CHAR), prc / scl:2 / 0, nullbl:0, byte: 2, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
Entry hgopcda to 2009/08/11-16: 12:02
Column:2 (desc_agent): dtype:12 (VARCHAR), prc / scl:50 / 0, nullbl:0, byte: 50, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
The hoada for agents table follows...
hgodtab, line 577: print hoada @ 0x6c0b90
MAX: 2, ACTUAL: 2, BRC:1, WHT = 6
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
CHAR N 2 2 1 0 0 0 0 0 cod_agent
VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
Release of hgodtab, rc = 0 to 2009/08/11-16: 12:02
Entry hgodafr, cursor IDs 0 to 2009/08/11-16: 12:02
Release of hgodafr, rc = 0 to 2009/08/11-16: 12:02
Entry hgotcis to 2009/08/11-16: 12:02
SQLStatistics claims agents
IndexType SQL_TABLE_STAT =: cardinality = 24
New index: 353_1379, type = 3, ASCENDING, SINGLE, cardinality = 24
ordinal position = 1
Call to SQLColumns to informix.agentes
Column 'cod_agent': dtype = 1, colsize = 2, decdig = 0, char_octet_length = 2, len line cumulative avg = 2
Column 'desc_agent': dtype = 12, colsize = 50 decdig = 0, char_octet_length = 50, len line cumulative avg = 39
Release of hgotcis, rc = 0 to 2009/08/11-16: 12:02
Entry hgopars, id of cursor 1 to 2009/08/11-16: 12:02
type: 0
Text SQL hgopars, id = 1, len = 55...
4553 00: 454 C 41205443 63222E31 615F646F [SELECT A1. [' cod_a]
10: 746E6567 31412 6564222E C 22 615F6373 [gent", A1. [' desc_a]
20: 746E6567 52462022 22204D4F 6E656761 [gent' FROM 'agen]
30: 22736574 204131 [your"A1]
Release of hgopars, rc = 0 to 2009/08/11-16: 12:02
Entry hgoopen, id of cursor 1 to 2009/08/11-16: 12:02
hgoopen, line 83: NO hoada to print
Release of hgoopen, rc = 0 to 2009/08/11-16: 12:02
Entry hgodscr, id of cursor 1 to 2009/08/11-16: 12:02
Entry hgopcda to 2009/08/11-16: 12:02
Column:1 (cod_agent): dtype:1 (CHAR), prc / scl:2 / 0, nullbl:0, byte: 2, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
Entry hgopcda to 2009/08/11-16: 12:02
Column:2 (desc_agent): dtype:12 (VARCHAR), prc / scl:50 / 0, nullbl:0, byte: 50, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
hgodscr, line 506: print hoada @ 0x6c08f8
MAX: 2, ACTUAL: 2, BRC:100, WHT = 5
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
CHAR N 2 2 1 0 0 0 0 0 cod_agent
VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
Release of hgodscr, rc = 0 to 2009/08/11-16: 12:02
Entry hgoftch, id of cursor 1 to 2009/08/11-16: 12:02
hgoftch, line 117: print hoada @ 0x6c08f8
MAX: 2, ACTUAL: 2, BRC:100, WHT = 5
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
CHAR N 2 2 1 0 0 0 0 0 cod_agent
VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
SQLBindCol: column 1, cdatatype: 1, bflsz: 3
SQLBindCol: column 2, cdatatype: 1, bflsz: 51
SQLFetch: rank: 1, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 1, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 1, column 2, bflsz: 51, bflar: 16
SQLFetch: rank: 1, column 2, bflsz: 51, bflar: 16
SQLFetch: rank: 2, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 2, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 2, column 2, bflsz: 51, bflar: 26
SQLFetch: rank: 2, column 2, bflsz: 51, bflar: 26
SQLFetch: rank: 3, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 3, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 3, column 2, bflsz: 51, bflar: 33
SQLFetch: rank: 3, column 2, bflsz: 51, bflar: 33
SQLFetch: rank: 4, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 4, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 4, column 2, bflsz: 51, bflar: 35
SQLFetch: rank: 4, column 2, bflsz: 51, bflar: 35
SQLFetch: rank: 5, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 5, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 5, column 2, bflsz: 51, bflar: 6
SQLFetch: rank: 5, column 2, bflsz: 51, bflar: 6
SQLFetch: rank: 6, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 6, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 6, column 2, bflsz: 51, bflar: 5
SQLFetch: rank: 6, column 2, bflsz: 51, bflar: 5
SQLFetch: rank: 7, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 7, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 7, column 2, bflsz: 51, bflar: 27
SQLFetch: rank: 7, column 2, bflsz: 51, bflar: 27
SQLFetch: rank: 8, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 8, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 8, column 2, bflsz: 51, bflar: 26
SQLFetch: rank: 8, column 2, bflsz: 51, bflar: 26
SQLFetch: rank: 9, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 9, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 9, column 2, bflsz: 51, bflar: 34
SQLFetch: rank: 9, column 2, bflsz: 51, bflar: 34
SQLFetch: rank: 10, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 10, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 10, column 2, bflsz: 51, bflar: 32
SQLFetch: rank: 10, column 2, bflsz: 51, bflar: 32
SQLFetch: rank: 11, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 11, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 11, column 2, bflsz: 51, bflar: 31
SQLFetch: rank: 11, column 2, bflsz: 51, bflar: 31
SQLFetch: rank: 12, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 12, column 1, bflsz: 3, bflar: 2
SQLFetch: rank: 12, column 2, bflsz: 51, bflar: 22
SQLFetch: rank: 12, column 2, bflsz: 51, bflar: 22
SQLFetch: rank: 13, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 13, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 13, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 13, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 14, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 14, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 14, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 14, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 15, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 15, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 15, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 15, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 16, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 16, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 16, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 16, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 17, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 17, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 17, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 17, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 18, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 18, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 18, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 18, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 19, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 19, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 19, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 19, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 20, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 20, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 20, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 20, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 21, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 21, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 21, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 21, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 22, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 22, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 22, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 22, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 23, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 23, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 23, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 23, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 24, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 24, column 1, bflsz: 3, bflar: 0
SQLFetch: rank: 24, column 2, bflsz: 51, bflar: 0
SQLFetch: rank: 24, column 2, bflsz: 51, bflar: 0
24 lines read
Release of hgoftch, rc = 0 to 2009/08/11-16: 12:02
Entry hgoftch, id of cursor 1 to 2009/08/11-16: 12:02
hgoftch, line 117: print hoada @ 0x6c08f8
MAX: 2, ACTUAL: 2, BRC:24, WHT = 5
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
CHAR N 2 2 1 0 0 0 0 0 cod_agent
VARCHAR N 16 50 12 0 / 0 0 0 0 desc_agent
0 rows read
Release of hgoftch, rc = 1403 at 2009/08/11-16: 12:02
Entry hgoclse, id of cursor 1 to 2009/08/11-16: 12:04
Release of hgoclse, rc = 0 at 2009/08/11-16: 12:04
Entry hgodafr, id of cursor 1 to 2009/08/11-16: 12:04
Release of hgodafr, rc = 0 at 2009/08/11-16: 12:04
Entry hgocomm at 2009/08/11-16: 12:04
keepinfo:0, tflag:1
00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
10: 34 [3.564] 36352E33
tbid (len 10) is...
0: 00030003 00000234 0104... 4.....]
CMT (0):
Entry hgocpctx at 2009/08/11-16: 12:04
Release of hgocpctx, rc = 0 at 2009/08/11-16: 12:04
Release of hgocomm, rc = 0 at 2009/08/11-16: 12:04
Entry hgolgof at 2009/08/11-16: 12:04
tflag:1
Release of hgolgof, rc = 0 at 2009/08/11-16: 12:04
Entry hgoexit at 2009/08/11-16: 12:04
Release of hgoexit, rc = 0 at 2009/08/11-16: 12:04
Any idea or advice would be really appreciated!
Thank you!The correction of this bug may be backported to any other releases/platforms (already done this before). Contact your support enginer and ask him to request a backport.
BTW, the bug number is 6799360.
Published by: kgronau on August 13, 2009 15:00
-
ORA-12541: error listener TNS:no when remote desktop connection
Dear all,
I installed Oracle 11 GR 2 on your windows desktop. I am able to connect to SQL from the command prompt but also using SQL Developer. However, when I try to connect to this instance from another post after adding the details in TNSNAMES.ora on the desktop remotely, I get the error: "ORA-12541: TNS:no listener.
Can you please guide me if there are all the additional steps required to connect to the database from a remote office.
Best regards
ChandraDid you know your IP host address is?
(HOST = 172.18.28.192) -
Paste here please
ipconfig
Can you change IP to IP localhost host and restart the LISTENER with
lsnrctl stop lsnrctl start
Concerning
Mr. Mahir Quluzade
www.Mahir-quluzade.com -
ORA-01031: error of insufficient privileges when I try to use ALERT_QUE
Hello
I'm working on SYS. ATTENTION. THAT for system alerts. I use ODP in c# to connect to the Oracle database with username = SYSTEM, but when I try to survey or deque any message from SYS. ATTENTION. Que., its gives an error ORA-01031: insufficient privileges. I am not able to understand how to assign SYSDBA privileges to the SYSTEM and access ALERT_QUE to get alerts of system. I write my code below, please take a look and let me know what is wrong with the code. I am able to connect to the database using the SYSTEM, do I have to use username = SYS for access to the content database ALERT_QUE? Please let me know what is the solution.
Con OracleConnection = new OracleConnection (constr.);
Create the queue
Queue OracleAQQueue = new OracleAQQueue ("sys.alert_que", con);
Open connection
con. Open();
BEGIN txn for enqueue
OracleTransaction txn = con. BeginTransaction();
Set the type of message to the queue
queue. MessageType = OracleAQMessageType.Raw;
Prepare the message and payload BRUTE
OracleAQMessage enqMsg = new OracleAQMessage();
Byte [] bytePayload = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
enqMsg.Payload = bytePayload;
Agent [] OracleAQAgent = new OracleAQAgent [1];
Agent [0] = new OracleAQAgent ("SUBSCRIBER1");
enqMsg.Recipients = agent;
enqMsg.SenderId = new OracleAQAgent ("SENDER1");
Prepare for the queue
queue. EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
Message from the queue
queue. Enqueue (enqMsg);
The code throws the exception to the line "queue. Enqueue (enqMsg); "saying: ORA-01031: insufficient privileges
Published by: 916462 on February 27, 2012 03:31You are looking for a connection preferred, which means that you must connect as SYSDBA
Check this doc on how to do it.
http://docs.Oracle.com/CD/B19306_01/win.102/b14307/featConnecting.htm -
I developed a script to process the .tdms file in DIAdem 11.1, now I deploy the script on the same PXI system that created the .tdms file. This system had DIAdem 11.0, but when I try to open (DataFileLoadSel) the file tdms in my script, I get the error message:
"D:\MyFileName.tdms" has a format invalid gall. (Error no. 11)
Tdms files are created by a LabView application.
If I delete the index correspondin .tdms file, I get a little further, it loads the first two of the four groups, using DataFileLoadSel on the first group and DataFileLoadRed on the 2nd group, the third group, another DataFileLoadRed, I get the following error:
Error in
(line: x,: y): Unable to load the 'D:\MyFileName.tdms' file with the charger "TDMS.
Additional information:
Cannot open the file 'D:\MyFileName.tdms '.
Is there a difference between DIAdem 11.0 and 11.1 affecting the .tdms file import, if I can get around it?
Thank you
Eric
Hello eberg,.
Before we get into more detailed error recovery, could you please try to install the format TDMS 2.0 on the computer of DIAdem 11.0 (DIAdem 11.1 and LabVIEW 2009 come with TDMS already installed 2.0 stuff).
Hesitate not to download it here: http://zone.ni.com/devzone/cda/tut/p/id/9995
Once installed, please try to run the Scripts (in DIAdem 11.0) and let us know if that fixes the issue. He could not help to install this, but it's a quick thing to try before dig us more deeply into the question.
Best regards
Otmar
-
ORA-00902 error invalid data type when you use CAST in the PL/SQL Package
I'm getting ORA - 00902 Datatype not valid error when you use cast in getEmpValues (see code below) method in the package I created.
I don't know what is the cause of the error. Any help would be appreciated
CREATE OR REPLACE PACKAGE TEST. TEST_PKG AS
ARRAY TYPE MyTableType IS NUMBER;
TYPE REF_CURSOR IS REF CURSOR;
FUNCTION str2tbl (p_str IN VARCHAR2)
RETURN myTableType;
PROCEDURE getContactValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR);
END TEST_PKG;
CREATE OR REPLACE PACKAGE BODY TEST. TEST_PKG AS
FUNCTION str2tbl (p_str IN VARCHAR2)
RETURN myTableType
AS
l_str LONG default p_str | ',';
l_n NUMBER;
myTableType l_data: = myTabletype();
BEGIN
LOOP
l_n: = INSTR (l_str, ",");
WHEN the OUTPUT (nvl(l_n,0) = 0);
l_data.extend;
l_data (l_data.count): = ltrim (rtrim (substr(l_str,1,l_n-1)));
l_str: = substr (l_str, l_n + 1);
END LOOP;
L_data return;
END;
/*
p_ParameterString is a string of the form 3, 6, 8, 9'
*/
PROCEDURE getEmpValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR)
AS
BEGIN
OPEN FOR P_Cursor1
SELECT *.
FROM EMP
WHERE EMP_ID IN (SELECT *)
OF THE (SELECT CAST (TEST.) (TEST_PKG.str2tbl (p_ParameterString) as myTableType) double)
);
END getEmpValues;
END TEST_PKG;ARRAY TYPE MyTableType IS NUMBER;
This type must be created outside of the package as a SQL type if it must be used in a select statement.
-
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.
When I try to start the listner and then make the tnsping everything seems fine.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) )
And then I create the database link and it created no problem.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 try to run the small request.create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';
If anyone can help me regarding this error.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
Published by: Mariam on July 20, 2010 04:08
Published by: Mariam on July 20, 2010 04:09There 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
-
New iPhone 7, impossible to make purchases on credit.
I just bought the new iPhone 7. I started it as a new phone and just signatories in my iCloud for my photos, pictures, etc. that I just tried to buy an app and it was denied. I have same credit itunes so I know this isn't a card problem. I made sure
-
Adding a second monitor to MBP
I have a MBP end model. I've set up an external monitor. What I see on the screen is the same thing I see on the screen of the monitor MBP. I would like to put in place so that they are two separate screens. In other words, where I'll be able to drag
-
Weird sound issue on the Satellite P25-S507
For awhile, my sound went on and off. Sometimes I'll start my computer up, and the sound does not illuminate. Sometimes I play a movie or a song, and then the sound will be distorted or just turns off. Can someone help me to fix my sound problem?Jcar
-
How to stop java from hijacking my ipad safari
All the time I use Safari to my ipad cannot run without being interrupted by sites like onlineclickads.net, etc. Block java script to run safari without interruptin. Is it possible to stop the thi?
-
Uninstall program unwanted Casino, 121MB
I have a large enough program titled "Lucky Casino Emporer" which is big and does not allow me to uninstall by using the Add/Remove Programs option. How can I manage to uninstall?