ORA-28546: connection initialization failed, probable Net8 admin error
hello all!
so i'm using Heterogeneous services to connect to an SQL server DB from a Oracle DB. When i try with both the SQL server and Oracle DB on the same PC, everything works fine but when i try to access the SQL Server DB from another PC across a network i get the above error. Is the setup different when using a network?
Thnx.
Please see the following if it helps:
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
Similar Messages
-
ORA-28546: Connection initialization failed,probable Net 8 admin error
I am getting this error in calling an external procedure (dll file) from a stored procedure.
This was running fine earlier . It started causing problem after Database restart.
Please suggestcheck to make sure that your extproc_connection_data entry in your tnsnames.ora file is correctly setup for external procedures.
ORA-28546 connection initialization failed, probable Net8 admin error
Cause: A failure occurred during initialization of a network connection from the Oracle database server to a second process: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Net8 administrative setup for database links or external procedure calls. The most frequent specific causes are:
Database link setup for an Oracle-to-Oracle connection instead connects to a Heterogeneous Services agent or an external procedure agent.
Database link setup for a Heterogeneous Services connection instead connects directly to an Oracle database server.
The extproc_connection_data definition in tnsnames.ora connects to an Oracle instance instead of an external procedure agent.
Connect data for a Heterogeneous Services database link, usually defined in tnsnames.ora, does not specify (HS=).
Connect data for an Oracle-to-Oracle database link, usually defined in tnsnames.ora, specifies (HS=).
Action: Check Net8 administration in the following ways:
When using TNSNAMES.ORA or an Oracle Names server, make sure that the connection from the ORACLE server uses the correct service name or SID.
Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID connects to the correct program.
Confirm in TNSNAMES.ORA or the equivalent service definition that service 'extproc_connection_data' does NOT contain (HS=), or that the service definition used by a Heterogeneous Services database link DOES contain (HS=). -
ORA-28547: connection to server failed, probable Net8 admin error
Hi all. I use Oracle 10G. My listener.ora is below
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sened)
(ORACLE_HOME = C:\Oracle\OraHome)
(PROGRAM = extproc)
I have database with name sened
And my tnsnames is below:
SENED =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sened)
When I start Windows, I can enter as sysdba . But when I issue "shutdown immediate", after that I can't connect as sys. And get this error:
ORA-28547: connection to server failed, probable Net8 admin error
And I stop my listener the I start it, it gives error:
SQL> host lsnrctl start
Service "sened" has 1 instance(s).
Instance "sened", status UNKNOWN, has 1 handler(s) for this service...
Why my database's status is UNKNOWN??
Thanks....I get the error
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-06512: at line 51
when I try to run one of my sql scripts. The script tries to make an external procedure call. I am attaching the relevant .ora files.
1.
$ cat tnsnames.ora
2.
# tnsnames.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/tnsnames.ora
3.
# Generated by Oracle configuration tools.
4.
5.
ORCL =
6.
(DESCRIPTION =
7.
(ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
8.
(CONNECT_DATA =
9.
(SERVER = DEDICATED)
10.
(SERVICE_NAME = orcl)
11.
12.
13.
14.
EXTPROC_CONNECTION_DATA =
15.
(DESCRIPTION =
16.
(ADDRESS_LIST =
17.
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
18.
19.
(CONNECT_DATA =
20.
(SID = orcl)
21.
(PRESENTATION = RO)
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
cat listener.ora
37.
# listener.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/listener.ora
38.
# Generated by Oracle configuration tools.
39.
40.
41.
42.
SID_LIST_LISTENER =
43.
(SID_LIST =
44.
(SID_DESC =
45.
(SID_NAME = orcl)
46.
(ORACLE_HOME = /home/oracle/oracle/product/10.2.0/db_2)
47.
(PROGRAM = extproc)
48.
(ENVS = "LD_LIBRARY_PATH=/home/oracle/DSAccord/lib,
49.
ACCORD_SYSTEM_6=/home/oracle/DSAccord/system/,
50.
ACCORD_SETTINGS_6=/home/oracle/DSAccord/accord6.ini,
51.
EXTPROC_DLLS=libaccora10.so.6:libaccosk10.so.6")
52.
53.
54.
55.
56.
LISTENER =
57.
(DESCRIPTION_LIST =
58.
(DESCRIPTION =
59.
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
60.
(ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
61.
62.
63.
64.
65.
66.
67.
cat sqlnet.ora
68.
# sqlnet.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/sqlnet.ora
69.
# Generated by Oracle configuration tools.
70.
71.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) -
10g ORA-28547: connection to server failed, probable Net8 admin error
Hii All
I am trying to install oracle10g release 2 client on windows machine but it gives me error ORA-28547
I have my oracle database resides on Linux machine with IP 192.68.1.202
My ORACLE_SID is oracle please help me out.
Please help
I have tried by setting
SQL_AUTHENTICATION_SERVICES = (NONE)
but it doesn't works with my case please help me out,,
Please its serious problem to me.
Thanking YouORA-28547: connection to server failed, probable Oracle Net admin error
Cause: A failure occurred during initialization of a network connection from a client process to the Oracle server: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Oracle Net administrative setup for database links or external procedure calls. The most frequent specific causes are: -- The connection uses a connect string which refers to a Heterogeneous Services agent instead of an Oracle server. -- The connection uses a connect string which includes an (HS=) specification.
Action: Check Oracle Net administration in the following ways: -- When using TNSNAMES.ORA or an Oracle Names server, make sure that the client connection to the ORACLE server uses the correct service name or SID. -- Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID refers to the correct server. -- Confirm in TNSNAMES.ORA or the equivalent service definition that the connect string does NOT contain (HS=).
Apart from this, have you made sure that there are no issues with the physical network between server and the client? -
ORA-28544: connect to agent failed, probable Net8 administration error
HI WHEN I TRY TO QUERY SQL SERVER DATABASE FROM ORACLE IAM GETTING THE FOLLOWING ERROR
ORA-28544: connect to agent failed, probable Net8 administration error
External procedure agent received SQL or transactional RPC
CAN ANYONE HELP ME ON THISI've got the same error, help!!!
specs:
0. issues
#>cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).
1. Checking ODBC connection
#>cat /etc/unixODBC/odbc.ini
[myodbc01]
Description = my01
Driver = my01
Server = 192.168.0.xxx
Database = mysqldb
USER = oracle
Password = orapasswd
Port =
Socket =
Option =
Stmt =
#>cat /etc/unixODBC/odbcinst.ini
[my01]
Description = MYODBC351
Driver = /usr/lib/unixODBC/libmyodbc3-3.51.06.so
Setup = /usr/lib/unixODBC/libodbcmyS.so.1
FileUsage = 1
CPTimeout =
CPReuse =
#>isql myodbc01 oracle orapasswd
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL> select * from mytable;
| id| bug_id| reporter_id| bugnote_text_id| view_state| date_submitted | last_modified | note_type| note_attr|
| 51| 5 | 2 | 51 | 10 | 2007-06-08 13:06:40| 2007-06-08 13:06:40| 0 | |
| 50| 5 | 6 | 50 | 50 | 2007-06-08 13:05:54| 2007-06-08 13:05:54| 0 | |
| 49| 5 | 5 | 49 | 50 | 2007-06-08 13:01:05| 2007-06-08 13:01:05| 0 | |
| 48| 5 | 6 | 48 | 50 | 2007-06-08 13:00:42| 2007-06-08 13:00:42| 0 | |
| 47| 5 | 5 | 47 | 50 | 2007-06-08 12:59:49| 2007-06-08 12:59:49| 0 | |
| 46| 5 | 3 | 46 | 10 | 2007-06-08 12:58:27| 2007-06-08 12:58:27| 0 | |
| 45| 5 | 2 | 45 | 10 | 2007-06-08 12:46:20| 2007-06-08 12:46:20| 0 | |
| 44| 5 | 6 | 44 | 50 | 2007-06-08 12:45:52| 2007-06-08 12:45:52| 0 | |
| 43| 5 | 2 | 43 | 50 | 2007-06-08 12:44:42| 2007-06-08 12:44:42| 0 | |
| 39| 5 | 5 | 39 | 50 | 2007-06-08 12:37:48| 2007-06-08 12:37:48| 0 | |
| 40| 5 | 6 | 40 | 50 | 2007-06-08 12:41:06| 2007-06-08 12:41:06| 0 | |
| 41| 5 | 5 | 41 | 50 | 2007-06-08 12:41:41| 2007-06-08 12:41:41| 0 | |
| 42| 5 | 6 | 42 | 50 | 2007-06-08 12:43:04| 2007-06-08 12:43:04| 0 | |
SQLRowCount returns 13
13 rows fetched
SQL>
...so, it works
2. Configuring HS
#>hsodbc
Oracle Corporation --- WEDNESDAY JUN 13 2007 13:23:56.886
Heterogeneous Agent Release 10.2.0.3.0 - Production Built with
Driver for ODBC
#>cat /home/oracle/Ora10g/hs/admin/initmantis.ora --SID=mantis
HS_FDS_CONNECT_INFO = myodbc01
HS_FDS_TRACE_LEVEL = ON
HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
set ODBCINI=/etc/unixODBC/odbc.ini
#>cat /home/oracle/Ora10g/network/admin/listener.ora
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=MANTIS)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=mantis)
(ORACLE_HOME=/home/oracle/Ora10g)
(PROGRAM=hsodbc)
CONNECT_TIMEOUT_LISTENER = 5
#>cat /home/oracle/Ora10g/network/admin/tnsnames.ora
mantis =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=mantis))
(HS=OK)
3. Creating 'n testing db link..
#>sqlplus ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Jun 13 13:53:00 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>select banner from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
SQL>create database link mantis_dblink connect to oracle identified by orapasswd using 'mantis';
Database link created.
SQL> select * from mytable@mantis_dblink;
SQL> select * from mytable@mantis_dblink
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 MANTIS_DBLINK -
DRG-11422:linguistic initialization failed+DRG-11432: file error while ac
Hi All,
Please help me in fixing the following error, i searched everywhere but couldn get a solution.
do anyone know where is the knowledge base file loacated (path)?
Please let me know your suggestion in fixing the below error, please...
Error starting at line 1 in command:
begin
ctx_doc.themes('data_index','AAAS3RAAEAAAEEVAAA','data_themes',1,full_themes =>FALSE,num_themes=>20);
end;
Error report:
ORA-20000: Oracle Text error:
DRG-11422: linguistic initialization failed
DRG-00100: internal error, arguments : [52100],[drxa.c],[357],[gxtopen],[1]
DRG-00100: internal error, arguments : [52100],[gxt.c],[186],[gxl err],[7]
DRG-11432: file error while accessing knowledge base
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_DOC", line 210
ORA-06512: at line 2
20000. 00000 - "%s"
*Cause: The stored procedure 'raise_application_error'
was called which causes this error to be generated.
*Action: Correct the problem as described in the error message or contact
the application administrator or DBA for more information.
Thanks in AdvanceHi Raford, Thank You for the reply.
I actually had loaded a knowledge base (examples) and that was working fine, i was able to generate themes and gists also.
After that while loading a thesaurus, i was getting below error, (with ctxload command for loading thesarus)
connecting...
DRG-11510: encountered unrecoverable error on line1
ORA-00931: missing identifier
disconnected
Instead of this, unknowingly i went on compiling thesarus with knowledge base with ctxkbtc command, after this i lost my knowledge base.
I deinstalled and reinstalled the knowledge base also, but still getting the same error.
Error report:
ORA-20000: Oracle Text error:
DRG-11422: linguistic initialization failed
DRG-00100: internal error, arguments : 52100,http://drxa.c,357,gxtopen,[1]
DRG-00100: internal error, arguments : 52100,http://gxt.c,186,gxl err,[7]
DRG-11432: file error while accessing knowledge base
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_DOC", line 210
ORA-06512: at line 2
20000. 00000 - "%s"
*Cause: The stored procedure 'raise_application_error'
was called which causes this error to be generated.
*Action: Correct the problem as described in the error message or contact
the application administrator or DBA for more information.
Any suggestions?
should i try loading a thesaurus and compiling it with knowledge base, so that it may work fine?
Please please give me some suggestion on this, since i have stuck here, cant move further without knowledge base .. -
ORA-01033 Oracle initialization or shutdown in progress error
Hi All,
I am using windows 7 on my 64-bit machine, and I installed oracle database 12c. Everything was installed fine, and i was able to connect to the HR schema. However, the next day when I wanted to connect, I got the ORA-01033 Oracle initialization or shutdown in progress error. What did I do wrong ? and what can I do to fix it ?? Thank you for the help.Sorry but there are NO SHORTCUTS!
I already answered that above and referred you to the docs and an article.
The doc chapters explain the NEW multitenant architecture in detail. The new 12c architecture is SUBSTANTIALLY different from previous architectures. Until you read the docs about it and understand how it has been implemented you will continue to have NOTHING but problems.
I know that may sound like just another RTFM but for 12c it is imperative that you understand the new architecture if you want to avoid problems. There is no way to explain it all in the forums; Oracle takes a good two chapters just to cover the basics.
I also pointed you to an article that shows how to startup the CDB and PDBs manually or write a STARTUP trigger to do it automatically.
Hopefully you are doing all of this in a VM environment as you seemingly implied in one of your other threads?
https://forums.oracle.com/thread/2594464
There are already some VM templates available for 12c
http://www.oracle.com/technetwork/server-storage/vm/database-templates-12c-11gr2-1972804.html -
Creating Open Directory Replica fails with Server Admin Error Value 1127
Hallo,
I have seen a lot of similar threads here and they were helpful up to a certain point, but in the end, they did not solve my problem.
Currently, it comes down to this. The Server Admin Error message ist really meaningless and I could not find a single for the error value on the whole wide web. As such, I switched to the command line versions of the tools involved to geht more meaningful results. It worked. Specifically, creating a replica of an openldap master means using slapconfig.
When executing
slapconfig -createreplica master.ourdomain.com diradmin
as root on the prospective replica machine, I get the following error message:
ssh command failed with status 127
That command is not allowed with the root account via public key authentication.
That makes perfect sense to me, but how is it meant to work then?
Executing slapconfig as admin tells me that this tool is to be executed as root. On the other hand, root login via ssh is not allowed in Mac OS X by default, which seems fine to me. I even changed /etc/sshd_config on the Open Directory Master machine to "PermitRootLogin yes". However, neither reloading ssh using launchctl nor restarting the whole server made this setting operational. Trying to login from command line as root still tells me:
root login is not permitted to this machine via public key authentication.
While this is the current state where I need help urgently, I changed some other things before. I tell about to exclude these issues as possible reason of failure. I got this message for quite a while:
Replica Setup failed : This machine does not have a valid computer name
I was sure, this machine meant the target machine, the open directory master, because the domain had changed there once before I had taken over responsibility as an admin in this environment. And in fact, changeip disguised an issue there. The command proposed by changeip to fix the situation did not seem appropriate because this machine is multihomed with a public and a private IP adress. Proper name resolution is available for both interfaces including reverse lookup. I dont like this setup, but it was the only way to get mail service running smoothly. Running changeip on the machine itself using these arguments
changeip /LDAPv3/127.0.0.1 internalIP internalIP old.ours.com current.ours.com
reported success in updating password server, open directory, both interfaces, hostconfig (which in fact did not change) and samba. It reported an issue with kadmin which is related to Kerberos (we dont use Kerberos yet).
Changing the hostname of the server using changeip did not solve the issue. I then found the hint to check with scutil. This showed that the Hostname was not set on the prospective replica machine. (A question aside: in how many place is the hostname stored? The traditional /etc/hostname has gone, but seems to be replaces with several other configuration files and databases. I cant see this as an advantage). Setting the hostname using scutil worked fine. However, it did not solve the problem either. At least, slapconfig now started to complain about not being able to log in as root instead of failing from the start.
I also checked all log files on bboth machines that might have to do with openldap, as there are /var/log/slapd.log, /var/log/system.log and /Library/Log/slapconfig.log. I also checked the log of th layer on top of openldap which is /Library/Log/DirectoryService.server.log. None of them revealed anything noticeable beside a lot of of entries that I have googled in the last few hours and which all dont seem to be associated with the problem in question.
I will take a break now, but I have to fix this until tomorrow and I hope to get the ultimate hint from you, dear reader.
Thanks and bye, Christian Völkerssh command failed with status 127
That command is not allowed with the root account via public key authentication.
Initial OD replication takes place via 'ssh'. If you have 'sshd' configured on the OD Master to authenticate with public keys then the OD replica will not be able to communicate with the OD Master via 'ssh'. You must configure the OD Master to use 'ssh' with password authentication and root login enabled.
Demote the replica back to standalone. Stop any services that you may have running on the primary network interface. Then stop any services that you may have running on the secondary network interface. In the 'Network' System Prefpane remove the IP number from the secondary interface then deactivate the secondary network interface.
Assign the private IP address and hostname that you wish to use for the replica to the primary network interface. Assign the 'public' IP number to the secondary interface. Check the DNS to see that the IP address and hostname for the primary network interface resolve both forward and reverse for the hostname of the replica that you have chosen. If it does not, fix your DNS before proceeding.
In the 'Sharing' System Prefpane, change the name of the machine to the hostname (server.domain.tld) of the replica that you have chosen. Then use 'changeip -checkhostname' to see if the IP/hostname matches. Fix it if it doesn't.
Then configure the /etc/sshd_config file on the OD master like this:
\# Authentication:
PermitRootLogin yes
PasswordAuthentication yes
PubkeyAuthentication no
and the /etc/ssh_config file on the OD replica like this:
PasswordAuthentication yes
PubkeyAuthentication no
Then from the OD replica as the 'root' user issue:
slapconfig -createreplica <ODMasterIPorFQDN> <diradmin user>
Make sure that the 'diradmin' user's password contains only alpha-numeric characters -no 'option-characters' or symbols, change it first if it does. Once the process completes, reactivate the secondary interface for the 'public' IP and check the configuration of services that will be using that IP, then start your other services. Secure the 'ssh' service on both machines to disable password authentication and 'root' logins. -
EMC initialization failed due to unexpected error
Dear All,
I am worrying like anything since morning. I do not know what happened but my EMC is not opening in Exchnage 2010 Sp2.
ERROR:
unexpected error [0x78D6DC13] while executing command 'Get-LogonUser'
Please suggest us something.
Though exchange working fine, i have to work through EM Shell. :(
Regards, Jay.Hi,
You can try the following solution and check the result:
Simple solution: "C:\Program Files\Microsoft\Exchange Server\V14\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xml" was defect.
Repair it (I copied a working one from another node) and all works fine again.
If you do not need it, delete it and then run >>Disable-CmdletExtensionAgent “Scripting Agent”<<
Hope this helps!
Thanks.
Niko Cheng
TechNet Community Support -
Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error
Dear All,
I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server). When I try to test the dblink connection, I get the following error.
I issued select * from dual@xyz;
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding 2 lines from xyz
28546. 0000 - "connection initialization failed, probable Net8 admin error"
My setup is the following.
1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
3. I use the same listener.ora file for both the db and the gateway.
4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
#(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
mssql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=db.abc.com.tw)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
SID_LIST_mssql =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
(PROGRAM_NAME=/u01/gateway/bin/dg4msql)
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.abc.com.tw)
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
/u01/gateway/dg4msql/admin/initdg4msql.ora
HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
dblink was created using statement below.
CREATE DATABASE LINK "xyz.abc.COM.TW"
CONNECT TO SA IDENTIFIED BY
USING 'dg4msql';
Couple more things, that I have done to check the work above.
[oracle@db admin]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1818ms
rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
[oracle@db admin]$ tnsping dg4msql
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
[oracle@db admin]$ lsnrctl status mssql
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias mssql
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-SEP-2013 10:09:46
Uptime 0 days 0 hr. 44 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
1. When installing the gateway, it asks to run the root.sh script. the root.sh script as for the following.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
is the above answer correct?
Thanks for reading.Dear Klaus,
I did start a new SQL*PLUS session
The output of /u01/gateway/bin/dg4msql is
[oracle@db log]$ /u01/gateway/bin/dg4msql
Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for MSSQL
The output of env is
HOSTNAME=db.abc.com.tw
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=orcl
TMPDIR=/tmp
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
ORACLE_SID=orcl
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=db.abc.com.tw
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
_=/bin/env -
ORA-28546: (oracle to SQL server 2005)
Hi all,
I followed the following below ariticle in dbasupport and dbajournal for about connectivity from Oracle Server 10.1.0.2.0 to SQL Server 2005
http://www.dbasupport.com/oracle/ora10g/connection01.shtml
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
i configured the listener.ora ,tnsnames.or and inityscco2.ora
$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/101/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
LISTENERYSCCAPPS =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.5)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERYSCCAPPS=
(SID_LIST=
(SID_DESC=
(SID_NAME= yscapps)
(ORACLE_HOME = /u01/app/oracle/product/101 )
(PROGRAM=hsodbc)
$lsnrctl status listener
LSNRCTL for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:03:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production
Start Date 15-JUN-2010 14:49:05
Uptime 4 days 23 hr. 14 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/101/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/101/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "yscc02" has 1 instance(s).
Instance "yscc02", status UNKNOWN, has 2 handler(s) for this service...
Service "yscc02.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
Service "yscc02XDB.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
The command completed successfully
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/101/network/a
dmin/tnsnames.ora
# Generated by Oracle configuration tools.
YSCCAPPS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = yscc02)
(HS = OK)
$tnsping ysccapps1
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:04:43
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = yscc02)) (HS = OK))
OK (0 msec)
$ sqlplus new/password@ysccapps1
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 20 14:07:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
$ cat inityscc02.ora
This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = yscc02
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = <full path name of odbc driver manager or driver>
# ODBC specific environment variables
set ODBCINI=<full path name of the odbc initilization file>
and i had created database link like
SQL>create database link ysccapps1
connect to "sa" identified by "passwad"
using 'ysccapps1';
SQL> select * from [email protected];
select 8 from [email protected]
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=y
sccapps.yamama.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=yscc02)))
ORA-02063: preceding 2 lines from YSCCAPPS1
Please assist me . i need to periodically pull data from Oracle server to Sql server
Best RegardsFirst of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
Looking at the provided listener it shows several configurations issues.
Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
This Listener serves 2 SIDs with the same name:
SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) -
Xellerate is in failed state as initialization failed state.
Hi,
I am facing an issue on one of my app server which is on clustered environment. I am getting the follwing error
09/08/18 18:58:06 Error initializing the Oracle JMS Resource provider for Queues: Connection Cache with this Cache Name is Disabled
09/08/18 18:58:10 Error initializing the Oracle JMS Resource provider for Queues: Connection Cache with this Cache Name is Disabled
09/08/18 18:58:10 WARNING: Application.setConfig Application: Xellerate is in failed state as initialization failed.
java.lang.InstantiationException: Error initializing ejb-modules: Resource exception(xlJMSResourceAdapterModule) for MessageDrivenBean MessageHandlerMDB during endpoint activation: setDestinations: javax.jms.InvalidDestinationException: Looking up java:comp/resource/xlJMSResourceProvider/Queues/XLAQQUEUE: javax.naming.NameNotFoundException: No resource named 'xlJMSResourceProvider/Queues/XLAQQUEUE'found
Could somebody help wat i shoud do to get rid of the error.
Thanks in advanceSeems JMS queues are not configured properly. On Which AS are u running OIM?
Pls chk the AS console to see if the queues are deployed correctly -
SQL Server not starting - FallBack certificate initialization failed
I can not start my SqlServer 2008 Express. The problem seemed to start when I changed my "Built In account, Log in as" from Local Service to Local System. If I try to change back to Local Service I get the messagebox with WMI Provider Error, "Cannot find object or property. [0x80092004]".
Getting a bit confused, but read http://support.microsoft.com/kb/900497 mentioned about
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\SuperSocketNetLib, Value name: Certificate, Type: REG_SZ not having a valid value then 2005 would not starte - my value is blank. Changing it to 0 did not work.
How can I import a valid certificate using SQL Server Configuration Manager. And how do you turn off Forced Encryption? Not sure if this would fix it, but couldn't hurt.
======================================
2009-03-08 01:39:06.01 Server Error: 17190, Severity: 16, State: 1.
2009-03-08 01:39:06.01 Server FallBack certificate initialization failed with error code: 1.
2009-03-08 01:39:06.01 Server Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2009-03-08 01:39:06.01 Server Error: 17182, Severity: 16, State: 1.
2009-03-08 01:39:06.01 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2009-03-08 01:39:06.01 Server Error: 17182, Severity: 16, State: 1.
2009-03-08 01:39:06.01 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2009-03-08 01:39:06.01 Server Error: 17826, Severity: 18, State: 3.
2009-03-08 01:39:06.01 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2009-03-08 01:39:06.01 Server Error: 17120, Severity: 16, State: 1.
2009-03-08 01:39:06.01 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
2009-03-08 01:39:06.07 spid14s Clearing tempdb database.
=====================================
Any help would be appreciated.
TheBrendaI know it's probably too late to help with the original poster, but we had this same issue and nothing we tried resolved the problem. Finally, we opened a technical incident with Microsoft and this is the solution that we were provided:
Take backup of below registry key.
HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid This key should ideally have the GUID of the machine without curly braces, so {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} becomes xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Then delete the braces.
Try to reboot and start the SQL service . If service don’t start then Uninstall and reinstall SQL.
The above solution worked on two separate machines exhibiting this problem. -
CPA Cache Connectivity test fails
Hi All,
We are facing the following issues that have to do with the Adapter Engine:
1) In RWB, the Adapter Engine is in error/red status with the following details: Adapter Engine, message: fatal DeleteJob (Default Delete Job) failed.
2) In RWB, the Cache Connectivity Test fails with the following error: Communication with JMS server failed.
3) The CPA Cache refresh gives erros.
Any ideas? There are no Service users locked, SLDCHECK works fine etc.Hi,
It seems to like problem with your JMS Connector.
For this, login into Visual admin -->cluster >services>JMS connector-->runtime (tab)->check the factories / destinations. Please contact with your basis team, they will might be helpful to you. After that restart your server, it will solve your issue.
Regards,
P.Rajesh
Edited by: Rajesh_1113 on Jun 5, 2011 9:01 AM -
Error: linguistic initialization failed CTXSYS.CTX_DDL
Hi,
When I run my application in client side
ocurrs this error:
DBExecSQLCommand SQLExecute S1000 [Oracle][ODBC][Ora]ORA-20000: interMedia Text error: DRG-11422: linguistic initialization failed DRG-00100: internal error, arguments : [52100],[drxs.c],[553],[gxtopen],[1] DRG-11208: ORACLE_HOME is not set ORA-06512: at "CTXSYS.DRUE", line 126 ORA-06512: at "CTXSYS.CTX_DDL", line 1298 ORA-06512: at line 1
I re-build my index with
Ctx_Ddl.Sync_Index ( 'dml_text' );
When I run my program in Server Side this
error not exists.
Can anyone teach me how to fix it in side client ?
Thanks,
Luis Paulo
nullYou can find the answers to most of your questions in the online documentation. Here is a link to a section on ctx_doc.gist:.
http://download-west.oracle.com/docs/cd/B19306_01/text.102/b14218/cdocpkg.htm#i996898
The error message that you got is telling you that the "knowledge base" (thesaurus) has not been installed. It even gives you the path of the file to load. Gist needs the thesaurus in order to work. If you are use 10g Express Edition, it does not come with a thesaurus.
Maybe you are looking for
-
How to create a separate sheet listing specific contents of another?
Here's the context: There's a recording studio complex containing three seperate studios; studio 1, studio 2 and studio 3. I have created a Numbers document with a Main sheet listing ALL of the equipment in the complex. The table in this sheet detail
-
SOAP Adapter with Security Levels - HTTP & HTTPS
We have a successfully working interface scenario where SAP XI is hosting a web service and the partner systems calling it using SOAP Adapter URL http://host:port/XISOAPAdapter/MessageServlet?channel=:service:channel with Security Level HTTP on the S
-
How do I get comments to appear in margins?
I have a word doc with comments that I've opened in Pages. The comments are superimposed on the text, absurdly obscuring the text they are supposed to help edit! How do I get the comments to appear in the margins instead?
-
Hello Gurus, Can any one tell me the table for Invoicing header details and Line item details, Regards, Prasanna
-
My keys are getting stuck. When I touch an app icon or try to type an email or text. Also my home screen is off center. Anyone got any ideas?