TCP connections on Cisco ASA disconnects the database session every 30 Minutes
Right after a firmware upgrade form 8.4.2 to 8.4.7 on our ASA 5540:
the database app that makes a tcp connection with the database loses connection to the database servers on the inside of the firewall
-Nothing changed on the process servers.
-Nothing but firmware version changed on the firewalls.
-Rebooting did not help.
-Connections don't always drop every 30 minutes, but it's still almost exactly at that time, with a 90% chance of it happening. And it reestablishes in about 52 second
-The client is not willingly terminating the connections to the database servers on the inside. The connection is just going away.
I am not seeing any error in the logs in ASA but in our client we see:
Latest from PROD (times are in UTC):
Sun Apr 13 10:22:10 2014 - ERR: Read from the server failed (err[36],sev[78],state[0],line[0],server[],proc[],sql[exec sp_events_insupd :p1,:p2,:p3,:p4,:p5,:p6,:p7,:p8,:p9,:p10,:p11,:p12,:p13,:p14,:p15,:p16,:p17],err_type[client])
Sun Apr 13 11:47:09 2014 - ERR: Read from the server failed (err[36],sev[78],state[0],line[0],server[],proc[],sql[exec sp_events_insupd :p1,:p2,:p3,:p4,:p5,:p6,:p7,:p8,:p9,:p10,:p11,:p12,:p13,:p14,:p15,:p16,:p17],err_type[client])
Similar Messages
-
I have two airport extremes, one acting as a modem and the other operating in bridge mode. The extremes are connected using ethernet, but remain connected even when I disconnect the Cat5a cable (I did this to check that the 100 feet of Cat 5a cable connecting them was working). How do I find out if they are operating wired or wirelessly? I want to know as I assume I will get much better speeds if they are wired.
Hi Bob, many thanks for the prompt response. I think I did what you suggested, but you're the expert so I have sent over a few screenshots. The extreme in question is High Birches Home Office (the rest of the network has been in place and working well for some time). My new home office is going to be in the garden, circa 100 feet from the main house. I have installed armoured Cat5e cable down to the shed that is going to be adjacent to the home office once built and situated the High Birches Home Office Airport Extreme there temporarily. Everything works well, so I was surprised when I unplugged the ethernet, that it still worked. I also tested the ethernet cable by switching off my laptop's wifi and unplugging the cable from the airport extreme and directly into the laptop and that worked ok.
If the screenshots below (I did every Airport utility tab for the High Birches Home Office) don't tell you anything more, then the set-by-step instructions would greatly appreciated so I can ensure I completed the steps correctly.
Many
Thanks, Greg. -
Can limit my users to one connection or even 2 on the database per username
Our end-users access our database via a Jave based form front end after installing JInitiator on the PC
Does anyone know if there Is anyway i can limit my users to one connection or even 2 on the database per username.
Could i also have timeout on each session on idle time in order that when the connection is idle for say 10 minutes the users session is automatically logged off the db.
Any helpp will be appriciated.
DHi,
>>or even 2 on the database per username ...
timeout on each session on idle time in order that when the connection is idle for say
10 minutes ...
Just an example:
C:\>sqlplus system/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:06:50 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SYSTEM@ORACLE10> alter system set resource_limit = true;
System altered.
SYSTEM@ORACLE10> create profile test limit idle_time 10 sessions_per_user 2;
Profile created.
SYSTEM@ORACLE10> alter user legatti profile test;
User altered.
Session 1
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:07:39 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
LEGATTI@ORACLE10>
Session 2
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:07:39 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
LEGATTI@ORACLE10>
Session 3
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:08:24 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
Enter user-name:Cheers -
How to disconnect the database connection using crystal report
Post Author: cp_pramodu
CA Forum: Crystal Reports
Hi All,
We have developed an application using .Net and Crystal Reports 10 for generating Adhoc reports from Business system (db sybase 12). We are using the below mentioned script for opening rpt files.
Try
ReportDocument1.Load(sReportName)
For Each table In ReportDocument1.Database.Tables
' Get the TableLogOnInfo object.
logonInfo = table.LogOnInfo
' Set the server or ODBC data source name, database name,
' user ID, and password.
logonInfo.ConnectionInfo.ServerName = sReportServerName
logonInfo.ConnectionInfo.DatabaseName = DBName
logonInfo.ConnectionInfo.UserID = UserName
logonInfo.ConnectionInfo.Password = Password
' Apply the connection information to the table.
table.ApplyLogOnInfo(logonInfo)
Next
'Me.Cursor = Cursors.WaitCursor
Me.CrystalReportViewer1.ReportSource = ReportDocument1
'Me.Cursor = Cursors.Default
Catch ex As Exception
'Response.Write(ex.Message)
Finally
Me.Cursor = Cursors.Default
'ReportDocument1.Close()
'ReportDocument1.Dispose()
End Try
Each time user opens the report a new connection is established to the database, can we disconnect the connection established from crystal reports, while closing crystal report. At the same time i want to setup an Idle time for these connections. In database level, i will not be able to set idle time in database level, as it affect our electronic channels.
Waiting for a reply.
Thanks & Regards,
Pramodu. C. PHi,
If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
In the documentation I see this:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
"Applications must connect to a RAC instance to enable HA event notification."
In any case, this has the potential to be a bit complicated...
Regards,
Mark -
Connectivity Issues Cisco ASA 5515 in Transparent Mode
Hi,
we´re having problems with one transparent mode setup at one customer site. The ASA is equiped with a CX Module, but we´re not using it, so far in the service policy rules it was enabled and matched all traffic, but in "monitor only" mode. There is a global acl that allows any-any-IP.
Firewall-Info:
- ASA Version 9.1(2)
- Interfaces gi0/0 + gi0/2 without any interface errors
The ASA 5515x is configured as a "bump in the wire". In general our setup is working but with beginning of the installation of the firewall the customer faces following connection issues, without the firewall no problems:
- Connections to SAP-Servers behind the MPLS begin to drop, affected all users
- Incoming monitoring sessions (ping/snmp) from central management are facing ping timeouts, connection timeouts
- http downloads are stopping, Customer: it will stop responding and the download will fail.
In general the customer describes it this way: "We do not have the best connection here so once we connected the firewall all the problems are magnified"
I recognized, that we unconfigured the default inspection during initial setup and reconfigured this entry for the cx module. So the the default inspection with all the settings are not present any more... How important are these settings? One phenomen is, that I´ve seen a large numbers of concurrent connections that increased over time. And we already had that situation, that the firewall reached the max-conn count.
Should I try to reconfigure the default inspection, as it ships from factory? And whats the best way to check for problems? What can be the reason for the dropping connections?
I attached a network plan and the firewall config, hopefully, that somebody has an idea. Of course I can provide additional information...
Best Regards
SebastianHi Vibhor,
thanks for your reply. Does this also affect the traffic, even the setting is set to "Monitor Only" ?
Is it recommend to configure the default-inspection rule as a default setting?
Further Question: I´ve read sth. about, that service policy rules must be "reloaded" to take effect, after they have been changed. Is that right and how do I reload them?
Here is an output from sh asp drop, do I have to care about certain values? This values result from two connected users doing some downloads over a 2Mbit connection.
ciscoasa# show asp drop
Frame drop:
Invalid encapsulation (invalid-encap) 10
First TCP packet not SYN (tcp-not-syn) 114
TCP failed 3 way handshake (tcp-3whs-failed) 3
TCP RST/FIN out of order (tcp-rstfin-ooo) 18
Dst MAC L2 Lookup Failed (dst-l2_lookup-fail) 33
L2 Src/Dst same LAN port (l2_same-lan-port) 260
FP L2 rule drop (l2_acl) 2958
Interface is down (interface-down) 9420
No management IP address configured for TFW (tfw-no-mgmt-ip-config) 117
Dropped pending packets in a closed socket (np-socket-closed) 66
Thanks
Sebastian -
Hi All
Was wondering if there is an easy way to switch between ethernet and wifi connection on Apple TV without having to disconnect the ethernet cable. The reason I ask is that I find it quicker to use my ethernet connection via a Netgear Powerline Home Theatre Set-up to stream Trailers and Movies on the Apple TV, however this is no good when connecting directly to my Mac to stream music or TV shows in iTunes, so revert to the wifi connection that I created on my Time Capsule to do this.
Would be handy if Apple TV had a menu option where you could manually change the connection type depending on what you were doing, as per above scenario.
Cheers
Brettbrettfromseabrook wrote:
Hi All
Was wondering if there is an easy way to switch between ethernet and wifi connection on Apple TV without having to disconnect the ethernet cable.
Unfortunately not. -
hi all,
A urgent issue here, is it possible for me to know whether the database is being used by the other user without opening a databse using Databae Connectivity Tool?
Can anyone know the solution?Duplicate post: http://forums.ni.com/ni/board/message?board.id=170&message.id=511732
-
Disabling Any connect in Cisco ASA's
what is the best way to disable anyconnect in the Cisco ASA's.
ThanksThe quickest way to disable a remote access SSL VPN (the most common type by far when using Anyconnect clients) is to turn off webvpn ("no webvpn") in configure mode.
-
MSSQL, connected, but don't see the database
Hi. I'm trying to connect to MSSQL server (on local machine). There I have a database with a few tables. But when I want to browse connection in JDeveloper (9.0.5.2), I see 4 schemas - dbo, guest, INFORMATION_SCHEMA, system_function_schema. How can I get to my database and my tables? The connection string looks like this:
jdbc:microsoft:sqlserver://localhost:1433 , test connection is successful. Have I put somewhere the database name? I tried to put it to Role field, but nothing happened. Please help me, thanks.The Connecxtion URL for MSSql Server is
jdbc:microsoft:sqlserver://localhost:1433;databaseName=MyDatabase -
SQL Server 2008 R2 - Connection from multiple sources makes the database drop.
Hey,
I have a database being accesses from multiple sources - IIS and WPF application.
Once a user enters the website(which is connected to the database through a Connection String), The WPF application stops its communication with the database, or vise versa.
The problem being solved once I restart the IIS service or the SQL instance service.
Thanks in advanced.
Nir.Hello Nir,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
HT1657 the movie freeze every minute
The HD movie freeze every minute (it is completely downloaded), how can I call for support? Apple will give my money back?
Regards
MaGUsed recovery mode, re installed the Mountain Lion. It ran while am aslep and in morning the OS had updated the existing one and things started to work fine. It only asked for a Java 1.6 re install
-
Database connection is not closing in the database pool
Hi,
i am using tomcat 6.0 and mysql 5.0 database server
and implementing the DBCP in my application
and my context.xml is this
<Resource name="jdbc/racecourse" auth="Container" type="javax.sql.DataSource"
factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
maxActive="200" maxIdle="10" maxWait="1000" removeAbandoned="true" removeAbandonedTimeout="300" logAbandoned="true"
username="betting" password="race" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/betting?autoReconnect=true"
description="race"/>
My problem is the connections in the mysql server are becoming idle instead of closing . due to this i am getting connection error
please help me how to slove this error
try { DataSource ds = null; Context context = new InitialContext(); Context envCtx = (Context) context.lookup("java:comp/env"); ds = (DataSource)envCtx.lookup("jdbc/racecourse"); if (ds != null) { cons = ds.getConnection(); } String query3="select max(meetingdate) from meeting"; Statement st3= cons.createStatement(); ResultSet rs3=st3.executeQuery(query3); String srno45=""; while(rs3.next()) { srno45=rs3.getString(1); } String query="select callcount from callcounter where dateofrace='"+srno45+"'"; Statement stat = cons.createStatement(); ResultSet rs =stat.executeQuery(query); String a=""; int i=1; String cc1="1"; while(rs.next()) { a=rs.getString(1); i=Integer.parseInt(a); //Integer b=new Integer(i); i++; cc1=Integer.toString(i); } session.setAttribute("b123",cc1); String query1="update callcounter set callcount='"+cc1+"' where dateofrace='"+srno45+"'"; Statement stat1 = cons.createStatement(); stat1.executeUpdate(query1); cons.close(); } catch(Exception e) { out.println("saleaction"+e); } finally { try { if (cons != null) cons.close(); } catch (SQLException e3) { System.out.println("saleaction"+e3); } } }i am declaring on the top of the try block
connection cons=null;
try
DataSource ds = null;
Context context = new InitialContext();
Context envCtx = (Context) context.lookup("java:comp/env");
ds = (DataSource)envCtx.lookup("jdbc/racecourse");
if (ds != null)
cons = ds.getConnection();
String query3="select max(meetingdate) from meeting";
Statement st3= cons.createStatement();
ResultSet rs3=st3.executeQuery(query3);
String srno45="";
while(rs3.next())
srno45=rs3.getString(1);
String query="select callcount from callcounter where dateofrace='"+srno45+"'";
Statement stat = cons.createStatement();
ResultSet rs =stat.executeQuery(query);
String a="";
int i=1;
String cc1="1";
while(rs.next())
a=rs.getString(1);
i=Integer.parseInt(a);
//Integer b=new Integer(i);
i++;
cc1=Integer.toString(i);
session.setAttribute("b123",cc1);
String query1="update callcounter set callcount='"+cc1+"' where dateofrace='"+srno45+"'";
Statement stat1 = cons.createStatement();
stat1.executeUpdate(query1);
cons.close();
catch(Exception e)
out.println("saleaction"+e);
finally
try {
if (cons != null)
cons.close();
} catch (SQLException e3)
System.out.println("saleaction"+e3);
} -
Tcp Connection timeout on ASA for vpn traffic
Hello All
I need an answer please.
I wanted to give tcp conenction timeout as unlimited for some IPs coming through VPN.
So, I created an access-list defining the traffic for which I want this tcp timeout.
Then a class map, policy map, entered set timeout to '0'
Applied it under default service-policy, which is applied as global (by default).
My doubt is should I apply the service policy on the interface or the global will work.
Just a silly doubt
Thanks in advance.Hi,
I think it should work just fine if you attach it to the default "policy-map" configuration that you have attached globally on the ASA.
You might want to configure the timeout value as something long rather than setting it as unlimited.
- Jouni -
AnyConnect: No Address Available for SVC Connection on Cisco ASA 5505
Get Error
The secure gateway has rejected the connection attempt. A new connection attempt to the same or another secure gateway is needed, which requires re-authentication. The follow message was received from the secure gateway: No address available for SVC connection.
ip local pool VPN 192.168.250.50-192.168.250.60 mask 255.255.255.0
tunnel-group SSL type remote-access
tunnel-group SSL general-attributes
address-pool VPN
tunnel-group Any-Connect type remote-access
tunnel-group Any-Connect general-attributes
address-pool VPN
I have a VPN pool
I can make a clientless SSL connectionHi,
Maybe you are not falling into that tunnel-group SSL? By default, you will fall into the DefaultWebvpnGroup unless you choose the TG via a dropdown or directly access the group via a groupurl.
Example: When no 'tunnel-group-list' or 'group-url' is configured:
Accessing https:// will take you to DefaultWebvpnGroup.
When 'tunnel-group-list enable' is configured under webvpn, you will get a dropdown of tunnel-groups to choose from [provided you have an alias defined for the group]
When group-url is configured for a particular TG, say https:///test , on accessing that URL, you are taken to that group directly.
So basically, you would need to check which group you are hitting. Running 'debug webvpn 255' should also show you this.
Thanks
Rahul -
How can i find the database session of Configurator request ?
Hello at all.
When a user click on configure button of configurator from application i want trace his session on database.
How can i identify the Sid ?
Many thanks.Search for reg.properties file on server, i think it will give you name of database..
Or
Run configuration again and cancel it once you reach to data details (Not recommended).
Cheers!
Sh!va
Maybe you are looking for
-
New Computer, How do i get my songs on the new one?
I just got a new computer and ive downloaded iTunes onto it, but i dont know how to get my songs onto the iTunes. If i let it update my iPod it will wipe it clean, right? I dont want that. thanks
-
Hi, Is there a special code to execute query based on selecting one of the options by the user in the LOV???? or it is as simple as the following??? Set_Block_Property('PAYMENT_VOUCHER',Default_Where,'payment_method=:PAYMENT_VOUCHER.payment_method');
-
Failed transformation xml-rfc to rfc
Hi, I have to scenario rfc to jdbc sync, SAP MI <-> XI, but when I executed the rfc, i don´t have problem in SXMB-MONI, but returned the dump in MI " Failed transformation xml-rfc to rfc". What happen? Tks.
-
RAID-5 performance of LSI SAS 2008m-8i in C240 M3?
Can anybody speak to the performance of the mezzanine RAID controller option in the C240, particularly in a RAID-5 configuration? I have need to configure a C240 with all 5 PCIe slots consumed with interface cards, so I will need to use the mezzanine
-
Set time automatic does not stay checked
Just as the title says, the check box in the system prefs will not stay checked. I "Lock" the settings and when revisiting the setting after a reboot, it is unchecked and the time is still wrong. What do I need to do?? Thanks