Random Connection Failure to Oracle from Packages
I have a project with 18 packages in it that connect to an Oracle database to extract data from over 150 Oracle tables. Sometimes the project completes okay; sometimes it doesn't.
The 18 packages have two to four data flow steps executed one at a time, with each step extracting data from four to eight Oracle tables simultaneously and depositing the rows into SQL Server tables.
When it errors, it is always the same: "ORA-12170: TNS:Connect timeout occurred". The error could be in package 12 one night and in package 18 another night. Sometimes the project runs successfully through all 18 packages for two or three
nights.
Our network and Oracle people say that when it times out, they notice that Oracle sends a "connection okay" message, but there is no response from the SQL Server side. Then it continues to try to send the "connection okay" for about 30
seconds, upon which it times out.
Has anyone seen this problem before?
Greg
The Attunity driver is a completely different thing. I would suggest contacting them and see if there is any diagnostic data they can provide.
Also see:
http://www.attunity.com/forums/microsoft-ssis-oracle-connector/time-out-error-1576.html
PS. The error "ORA-12170" is actually coming from the driver. So it is not technically an SSIS issue, but something else.
Similar Messages
-
I'm having strange random connection failures. Are there ineffieciency in my config?
I've been having strange, random connection failures and I'm trying to eliminate possible causes.
What happens is while I'm browsing on the net over wifi, a link will at random not connect to the site, but instead fault to the ISP error page. It happens with highly reliable sites like google, or ebay, or whatever. If I direct connect to the cable modem, the problem site is immediately available.
I'm sitting <6 feet from a 871W router (with antenna). There's one router in my building and others are at my neighbors.
Below is the conf file. Just to imagine how rediculious this problem is, here's a screen shot from a web page. This shows a web page I visited, and after clicking on a link (an embedded youtube video), the error showed up within the page itself.
Why would only some URLs fail to connect? Is there inefficiencies in my config?
Building configuration...
Current configuration : 4750 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname TooterTurtle
boot-start-marker
boot-end-marker
logging buffered 51200 warnings
no logging console
aaa new-model
aaa authentication login default local
aaa authorization exec default local
aaa session-id common
clock timezone NewYork -5
clock summer-time NewYork date Apr 6 2003 2:00 Oct 26 2003 2:00
dot11 syslog
dot11 ssid TooterTurtle
vlan 2
authentication open
authentication key-management wpa
guest-mode
wpa-psk ascii 0 [my wifi password]
no ip source-route
no ip gratuitous-arps
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.10.1 192.168.10.10
ip dhcp excluded-address 10.0.0.1 10.0.0.10
ip dhcp pool vlan1
import all
network 192.168.10.0 255.255.255.0
dns-server 192.168.10.1
default-router 192.168.10.1
domain-name Ethernet
ip dhcp pool vlan2
import all
network 10.0.0.0 255.255.255.0
domain-name WiFi
dns-server 10.0.0.1
default-router 10.0.0.1
ip dhcp pool MrWizard
host 192.168.10.100 255.255.255.0
hardware-address 0011.0917.66fa
client-name MrWizard
ip dhcp pool MasterShake
host 192.168.10.101 255.255.255.0
hardware-address 0022.681c.fbcc
client-name mastershake
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
no ip bootp server
ip domain name mydomain.com
ip ddns update method ccp_ddns1
HTTP
add [zone edit account and url]
remove [zone edit account and url]
username admin privilege 15 secret 5 [encrypted secret]
archive
log config
hidekeys
no ip ftp passive
ip ssh version 1
bridge irb
interface FastEthernet0
description AdminInterface
interface FastEthernet1
description MrWizard
interface FastEthernet2
description Belkin
interface FastEthernet3
interface FastEthernet4
description ComcastCableModem
ip address dhcp
ip verify unicast source reachable-via rx allow-default 100
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
speed auto
full-duplex
interface Dot11Radio0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
encryption vlan 1 mode ciphers tkip
encryption vlan 2 mode ciphers tkip
ssid TooterTurtle
speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
station-role root
interface Dot11Radio0.1
description TootersWiFi
encapsulation dot1Q 2
no cdp enable
bridge-group 2
bridge-group 2 subscriber-loop-control
bridge-group 2 spanning-disabled
bridge-group 2 block-unknown-source
no bridge-group 2 source-learning
no bridge-group 2 unicast-flooding
interface Vlan1
description EthernetOnly
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
bridge-group 1
interface Vlan2
description WiFiOnly
no ip address
bridge-group 2
interface BVI1
description EthernetOnly
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly
interface BVI2
description WiFiOnly
ip address 10.0.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet4
ip http server
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip dns server
ip nat inside source list 101 interface FastEthernet4 overload
ip nat inside source list 102 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.10.100 80 interface FastEthernet4 80
ip access-list extended vlan1
deny ip 10.0.0.0 0.0.0.255 any
permit ip any any
access-list 100 permit udp any any eq bootpc
access-list 101 permit ip 192.168.10.0 0.0.0.255 any
access-list 102 permit ip 10.0.0.0 0.0.0.255 any
no cdp run
control-plane
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip
line con 0
no modem enable
line aux 0
line vty 0 4
transport input telnet ssh
transport output telnet ssh
scheduler max-task-time 5000
endI removed the ip router 0 0 to no great effect, which I consider to be a win.
I'm guessing that since overload is what--I understand--translates the one outside to the many inside IPs, that the suggestion to have only one overload configured means I should combine the two ip ranges into one.
I deleted 10.0.0.0 network. Changed the bridge references to 1 and vlan references to 1. Now wifi and ethernet should all be using the same internal network? That's the idea, right? Any more fat?
[EDITED]
dot11 syslog
dot11 ssid TooterTurtle
vlan 1
authentication open
authentication key-management wpa
guest-mode
wpa-psk ascii 0 [my passphrase]
no ip source-route
no ip gratuitous-arps
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.10.1 192.168.10.10
ip dhcp pool vlan1
import all
network 192.168.10.0 255.255.255.0
dns-server 192.168.10.1
default-router 192.168.10.1
domain-name Ethernet
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
no ip bootp server
ip domain name [my url]
ip ddns update method ccp_ddns1
HTTP
add http:...[zoneedit]
remove http:[zoneedit]
no ip ftp passive
ip ssh version 1
bridge irb
interface FastEthernet0
description AdminInterface
interface FastEthernet1
description MrWizard
interface FastEthernet2
description Belkin
interface FastEthernet3
interface FastEthernet4
description ComcastCableModem
ip address dhcp
ip verify unicast source reachable-via rx allow-default 100
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
speed auto
full-duplex
interface Dot11Radio0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
encryption vlan 1 mode ciphers tkip
ssid TooterTurtle
speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
station-role root
interface Dot11Radio0.1
description TootersWiFi
encapsulation dot1Q 2
no cdp enable
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 spanning-disabled
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
interface Vlan1
description EthernetOnly
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
bridge-group 1
interface BVI1
description EthernetOnly
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip dns server
ip nat inside source list 101 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.10.100 80 interface FastEthernet4 80
ip access-list extended vlan1
permit ip any any
access-list 100 permit udp any any eq bootpc
access-list 101 permit ip 192.168.10.0 0.0.0.255 any
no cdp run
control-plane
bridge 1 protocol ieee
bridge 1 route ip -
Connection to a oracle from a Pocket PC via ODBC
Hi,
i'm trying to connect my pocket PC while on the craddle to an oracle database, i would like to now the best way to do it with ODBC (i have Oracle Lite 9i on the pocket PC). I cannot see how getting the .dsn to get the ODBC properties of my database.
Another question is why i cannot call SQLGetDiagRec with the Oracle 9i Lite ODBC driver. Is this method is not implemented in Oracle 9i Lite ?
thanks for any answers.
Arnaud.Can you connect to the database from the Pocket PC via any method (i.e. any client tools)? If so, I can probably guess at the appropriate DSN parameters. If not, you may need to ask this question on the Oracle Lite forum.
Justin -
Connection String for Oracle from Visual Studio 2012
I have oracle Connection credentials which is to be connected to Oracle 9i.
I have Visual Studio 2012... i m trying to connect to the oracle host.. it gives the following error. "ora-12514 tns listener was not given the service_name"
1. I have installed 32 Bit Oracle Developer Tools for Visual Studio.
2. I m using Windows 7 OS 32 Bit
Please advice
HaiMaybe this one helps.
https://community.oracle.com/message/2310374
or possibly ask them here.
https://www.oracle.com/communities/index.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Error connecting to Oracle from when running SSIS Package on Windows 64-bit
Hi.
I have an SSIS (SQL Server Integration Services) Package that reads a view on Oracle and loads data into table in SQL Server 2005. This is on a Windows 2008 Server (64-bit). SQL Server 2005 with SP3. Oracle Client 11g (32 bit & 64 bit) Runtime Version installed on server. The server has been rebooted since installing OracleClient.
I get the following error when run as a SQLAgent job 64 Bit (Execution type SQL Server Integration Services Package)...
Started: 9:29:24 AM
Error: 2010-01-04 09:29:25.37
Code: 0xC0202009
Source: SADM_CURR_Address_and_Cell_Phone-Oracle Connection manager "Oracle/PeopleSoft"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040154.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
End Error
Error: 2010-01-04 09:29:25.37
Code: 0xC020801C
Source: DFT-Oracle to SS2005 OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Oracle/PeopleSoft" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
End Error
Error: 2010-01-04 09:29:25.37
Code: 0xC0047017
Source: DFT-Oracle to SS2005 DTS.Pipeline
Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2010-01-04 09:29:25.37
Code: 0xC004700C
Source: DFT-Oracle to SS2005 DTS.Pipeline
Description: One or more component failed validation.
End Error
Error: 2010-01-04 09:29:25.37
Code: 0xC0024107
Source: DFT-Oracle to SS2005
Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 9:29:24 AM
Finished: 9:29:25 AM
Elapsed: 1.108 seconds
When I execute this same exact package as a SQLAgent job 32-bit (type Operating System CmdExec) it runs successfully. When I run the package using the Execute Package Utility, it runs successfully. When I am editting the package in BIDS I can connect to Oracle. For both 64 and 32 bit, I use a dtsconfig file which specifies the Oracle connection string and password.
Someone mentioned on another forum that maybe there is no Oracle ODBC driver for 64-bit Windows. I would assume that the OracleClient 64-bit would include that.
I hope I have included all info needed. Please let me know if you may have a resolution to this problem.
Thanks.
JohnI was trying to transfer data from oracle to sql server 2008 on a daily basis.
I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
Here's the environment info:
1. Oracle Client 10g
2. SQL Server 2008
3. Windows Server 2008
Appreciate your help. Please save me.
Thanks, -
Failure in ORACLE POOL connection
Hi friends,
I have worked as a developer, My platform front-end is .net and back end is oracle, this product live chat, My problem is I have receive a problem from server that’s is, mysql POOL connection is automatically cut from the connection, I have try to fix that bug but unexpectedly I cannot fix that, Anybody say some suggestion about that.
Thanks in advance for your help.
Regards,
Gilbertsavier.
Live chat By miootYou missed the following
1. Oracle Version
2. OS
3. Error Number
4. Error Message
Please Fill the above details.
Regards, -
Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts...
Rp1. in physical connections part can i use the same work schema
2. Can i use same contexts created or do i need to create everything as new and then try?
Thanks,
Rp.
Hi,
As you mentioned that you just upgraded the database, so the data is same and schema is same you can connect with the same work schema.
Yes, you can use the same contexts , but need to do Reverse Engineering for your new database.
And about data server, i think you also have no need to create new data server, if hostname,sid and port etc are same as these were with R11(consult with your DBAs regarding it) -
ERROR while connecting to Netezza Database from oracle 10g via dblink.
Gurus,
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Manik wrote:
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
If this does not work, then Oracle HSO will also not work.
Once you have confirmed that this is working, then configure the HSO service for Oracle.
If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing. -
Error Connecting to TFS 2013 from Oracle PL/SQL using MSSCCI
Hi,
previously we were able to connect to TFS 2008 through MSSCCI.
we have MSSCCI 2013 provider, Teamexplorer 2013 andVersion Control Interface installed.
While trying to connect to TFS 2013 from ORacle PL/SQL Developer 10.5 through MSSCCI ; there is an error coming up when we enter the server url ... it is allowing us only until <tfs home url> without collection...
"The request failed with the error message
<head><title>Document moved></title></head>
<body><h1>Object Model</h1>This document may be found<aHREF=/<Collectionname>/Services/v1.0/ServerStatus.asmx>">http://<tfshome
url>/<Collectionname>/Services/v1.0/ServerStatus.asmx> But the plugin picks it up automatically.. Am i correct?
How to resolve the above error?
Thank you
SuHi Su,
Thanks for your post.
How do you manually build your PL/SQL/Oracle projects?
TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
then create build definition using this customized build process template.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
hi,how can i resolve this problem?
i use personal oracle with a tcp/ip connection and if i run a
report(developed with report builder oracle) i receive a
compiler error .if i run this same form on the server,the form
has no problem.
the only different is a client's call with tns (the listner is
start up)
thank and sorry for my bad englishHi, how are you?
I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
Thanks.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
No, you shouldn't have to to.
If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
null -
Connect to SQL Server from Oracle
Does Oracle offer any connectivity to NON-Oracle databases such as SQL Server from within the Oracle database itself, similar to a database link ?
Yes, it's called Heterogeneous Connectivity. Basically how it works is you set up an ODBC data source on the Oracle server
and need to modify the tnsnames.ora and listener.ora files. Once you get it set up it works exactly like a dblink. You should be
able to find information on it in the Oracle manuals or from Metalink. There's also a Heterogenous Connectivity forum on OTN. If
you can't find anything let me know and I can send you some documents on how to set it up. I think the hardest part for you might
be finding a SQL Server ODBC driver for HP-UX. -
Connecting ms sql server from oracle using db link
Hi,
Source : Oracle 11g on linux
destination : ms sql server 2005
i need to create the db link from oracle to ms sql server to view the tables , is it posibble without configuring the gateways( as looks like it is licenced product)
Please let me know any alternative to achive this
Thanks
PGRThere are 2 gateway - the commercial Database Gateway for Ms SQl Server which requires a license and the Database Gateway for ODBC which is for free. The license for DG4ODBC is included in your database license. You only need to install a suitable ODBC driver on your Linux box (for example use the MS SQl Server ODBC driver for Linux - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install
[Article ID 561033.1]
- Klaus -
Connecting to SQL Server from Solaris using Perl & Oracle.
Hey All,
Using the DBI.pm provided by the default Perl package that comes integrated with Oracle server, I am being able to connect to the Oracle database through Perl.
But is there a way I can connect to SQL Server through Perl using any package provided by Oracle like ODBC or something else (on Solaris)
I am using following version of Oracle server on Solaris 10
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
TIA
ParagThe problem is I cannot install any third party package but I found something. Have a look at this:
bash-3.00$ pwd
/opt/oracle/product/10.2.0.4.0/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/Win32
bash-3.00$ ls -l
total 10
-rwxr-xr-x 1 oracle dba 4532 Jul 7 2004 DBIODBC.pm
bash-3.00$
Will explore more and keep you all posted.
Cheers,
Parag -
Regarding the tns-12541 error in connecting to sql server from oracle
i need to create a database link from oracle on windows box to sql server.I configured everything but when i am trying to tnsping the sqlserver
it throws me an TNS12541 no listener error.
The listner status is up and the listener workslittle confusion here, are you trying to tnsping sql server? tnsping is an Oracle utulity.
To acces sql server from Oracle you may use Transparent Gateway for Microsoft SQL - http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/ch3.htm#sthref66 and Heterogeneous Connectivity - http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/intro.htm#sthref33
Best regards. -
Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver
i have some trouble with connecting MS SQL SERVER from ODI.
I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
could not load JDBS driver class..
thanksAfter more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
Hope this helps other people...
Thanks to those of you who offered suggestions and things to check...much appreciated.
Robyn
Maybe you are looking for
-
Mavericks Upgrade - App Store problems
Hello, Since upgrading to Mavericks, I am having a strange issue regarding Mac Appstore. It functions bizzarely. Even after clicking "update all" or "update" for iLife apps, the app store keeps on asking about the apple ID & password again and again,
-
User Profile Services - Sync Connection disappearing after a few days - "Moss MA not found"
Hi, This may sound like a common problem but i can't seem to find a solution. I recently installed a SharePoint 2010 farm. The farm is currently SP1, Aug12 CU. I created the user profile service application without any problems and created a connecti
-
Error trying to configure gateway, no
Running Siebel gateway configuration. Redhat Linux 86-64, Oracle db 11g R2. Upon adding all responses in the gui to perform the config, the following error: +"Siebel configuration wizard failed with error. Please see the log files for details."+ I am
-
Related activities and new webdynpro abap
Hi, Experts, I have to include an webdynpro abap as a link in the related activities (MSS). All the custo is doing (areas, services, etc), but i don't know how to recover the correct pernr for the employee in the abap source code. Do anyone know it?
-
I use to be able to begin a new multi-track session and select arm for record. Now, when I would open a new multi-track, the "R" was grayed out. I can add a new track to record into, but if I save and close the session to come back to later, I can no