hgraesslin1
asked on
Windows 7 Connection Problems
Hi,
we have Timeout Problems on Windows 7, either sometimes browsing on network shares, but really reproducable using sqlplus (Oracle Client).
If we connect to a Database in the command window using sqlplus several times, the first two connects
issuing "sqlplus username/passwort@db" work find, the third takes up to 30 seconds to connect.
On XP or Vista we do not see such a behaviour, sqlplus connects always fast and fine.
The Problem is a Win7 Problem and occurs in 32bit Env and 64 bit Env.
Does anybody has an Idea ?
we have Timeout Problems on Windows 7, either sometimes browsing on network shares, but really reproducable using sqlplus (Oracle Client).
If we connect to a Database in the command window using sqlplus several times, the first two connects
issuing "sqlplus username/passwort@db" work find, the third takes up to 30 seconds to connect.
On XP or Vista we do not see such a behaviour, sqlplus connects always fast and fine.
The Problem is a Win7 Problem and occurs in 32bit Env and 64 bit Env.
Does anybody has an Idea ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
its available for technet and MSDN subscribers right now. Not that it's the fix, but worth a shot. Have you contacted Oracle for support on the matter yet?
ASKER
Installed SP1 for Win7, same effect.
I did not contact Oracle yet...
I did not contact Oracle yet...
ASKER
The Behaviour is still the same, we also get trouble sometimes opening files on a fileshare (windows) which takes very long, but always sometimes. Only this test making a sqlplus connection several times is reproducable. Sometimes the First connect takes about 20 seconds, somtimes the fifth connect takes about 20 seconds, all the other connects are connected in less than 100ms
Any new Ideas ?
Any new Ideas ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good Hint, checked it and set it to the second option (Enable File sharing for devices that use 40- or 56 bit encryption)
Setting this on the client and rebooting win7 has no effect. Timeouts occur when connecting to the oracle
database via sqlplus after the third or the forth connect. Well not really Timeouts occur the connection to the database
is about 1 minute, compared to milliseconds.
The Oracle Database is virtualized on a ESXi and runs under CentOS.
Maybe here are my settings in the sqlnet.ora on the client side :
And the tnsnames.ora entry :
To start searching in an other direction. But !!! The Problem only occurs on Win7, under Vista or XP when we use the same Oracle Client (instantclient) we do not have connection timeouts after the third or forth connect.
Regards
Hansjörg
Setting this on the client and rebooting win7 has no effect. Timeouts occur when connecting to the oracle
database via sqlplus after the third or the forth connect. Well not really Timeouts occur the connection to the database
is about 1 minute, compared to milliseconds.
The Oracle Database is virtualized on a ESXi and runs under CentOS.
Maybe here are my settings in the sqlnet.ora on the client side :
AUTOMATIC_IPC = OFF
NAMES.DEFAULT_DOMAIN = world
NAME.DEFAULT_ZONE = world
# The following parameters were set by TOAD
NAMES.DIRECTORY_PATH=(LDAP, TNSNAMES, HOSTNAME)
SQLNET.AUTHENTICATION_SERVICES=(NTS)
SQLNET.EXPIRE_TIME=0
TRACE_FILELEN_CLIENT=100
TRACE_FILENO_CLIENT=3
TRACE_LEVEL_CLIENT=OFF
TRACE_TIMESTAMP_CLIENT=ON
TRACE_UNIQUE_CLIENT=ON
USE_DEDICATED_SERVER=OFF
And the tnsnames.ora entry :
XXXX.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.71)(PORT = 1521))
)
(CONNECT_DATA = (SID = YYYYY)
)
)
To start searching in an other direction. But !!! The Problem only occurs on Win7, under Vista or XP when we use the same Oracle Client (instantclient) we do not have connection timeouts after the third or forth connect.
Regards
Hansjörg
ASKER
well discoverd something else.
The Problem is not connecting to the database, the Problem is starting sqlplus, even when not directly connecting to the database
The Problem is not connecting to the database, the Problem is starting sqlplus, even when not directly connecting to the database
sqlplus /nolog
has the same efffekt assqlplus /nolog connect.sql
connect.sql
connect user/pass@db
connect user/pass@db1
ASKER
forget last comment, sqlplus /nolog is fast, problem only occurs when connecting.
Sorry
Sorry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry Merete, hints about instantclient do not help... but
maybe a firewall problem ... we installed a new firewall...
We use an Zywall USG200
maybe a firewall problem ... we installed a new firewall...
We use an Zywall USG200
I'm the one who should say sorry for offering googles, no need to apologise hgraesslin1 :P
Hope it's the firewall. Often is that simple.
That'd be sweet
Hope it's the firewall. Often is that simple.
That'd be sweet
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
problem is solved.
ASKER
thanks to all.
Excellent to hear . Thank you Hansjoerg
kind regards
Merete
kind regards
Merete
ASKER
- on the win7 clients we ran all updates coming from the standard windows update
- yesterday I downloaded the latest instanclient (sqlplus 64bit) and got the same problems
Is SP1 for 7 already downloadable on msn ?