- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sqlplus - It hangs up during exit
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 12:57 AM
03-22-2004 12:57 AM
sqlplus - It hangs up during exit
Has any one seen this? Login to sqlplus is slow (2 - 3 minutes) but OK. But once enter exit, it hangs for at least 10 minutes. We are noticing this issue since few months now. It is causing several problems since some users have scripts running where after exit they are waiting to get to next step. We have HP-UX 10.20 and 11i.
Need help.
THX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 01:56 AM
03-22-2004 01:56 AM
Re: sqlplus - It hangs up during exit
Without a lot more info on revisions . difficult
Try
http://www.oracletuning.com/
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 02:04 AM
03-22-2004 02:04 AM
Re: sqlplus - It hangs up during exit
need more information:
1. Where is the database running
2. Where is sqlplus running
3. What kind of sqls are you running is this session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:28 AM
03-22-2004 03:28 AM
Re: sqlplus - It hangs up during exit
PL/SQL Release 2.3.2.3.0 - Production
HP10.20hostname:/path/home/userid 3 sqlplus usrid/passwd@databasename
SQL*Plus: Release 3.3.2.0.0 - Production on Mon Mar 22 10:35:41 2004
Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
Connected to:
Oracle7 Server Release 7.3.2.3.0 - Production Release
With the distributed, replication and parallel query options
PL/SQL Release 2.3.2.3.0 - Production
SQL>
SQL> exit
Disconnected from Oracle7 Server Release 7.3.2.3.0 - Production Release
With the distributed, replication and parallel query options
PL/SQL Release 2.3.2.3.0 - Production
It used to work fine before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:32 AM
03-22-2004 03:32 AM
Re: sqlplus - It hangs up during exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:47 AM
03-22-2004 03:47 AM
Re: sqlplus - It hangs up during exit
Let's try to isolate the problem.
Can you make the same connection in a SQL for Windows to see if the same occurs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:51 AM
03-22-2004 03:51 AM
Re: sqlplus - It hangs up during exit
It's unix mounted only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:01 AM
03-22-2004 04:01 AM
Re: sqlplus - It hangs up during exit
This is for testing purpose only.
I need to know if you have problem with your UNIX or if it's in your database.
Also, verify if you have some difference in calling sqlplus user/password (without using databasename).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:16 AM
03-22-2004 05:16 AM
Re: sqlplus - It hangs up during exit
Whoah. That is NOT ok. That is totally unacceptable. sub-second it good, 2-3 seconds is annoying but acceptable, anything over 5 seconds means there is a serious problem on the box! Ivestigate! Isolate! What is it doing all that time? Paging its brains outs? Figure out, like tan other reply suggest, whether it is the client, the server or the combo. What is the path taken? Local connectt? tcp? ipc? Oracle MTS making you wait for a slot? Lot's more details needed for answers, but don't bother with the exit prolem untill you understand the entry problem, because there is a serious problem there.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:37 AM
03-22-2004 05:37 AM
Re: sqlplus - It hangs up during exit
set ORACLE_SID=
$ sqlplus userid/passwd
Leave off the "@databasename". This should determine if the problem is with the listener/network or with the database.
BTW....have you considered upgrading your version of Oracle? The version you're on has been desupported for a few years now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:39 AM
03-22-2004 05:39 AM
Re: sqlplus - It hangs up during exit
Why not try
export ORACLE_SID=
sqlplus user/passwword
what the response time for tnsping
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:43 AM
03-22-2004 05:43 AM
Re: sqlplus - It hangs up during exit
Also we had made some changes to our /etc/inetd.conf file, arround the time since we are having this problem, to accomodate the security scan requirements. I am not sure if any of these changes might have caused this.
Following services have been commented out from inetd.conf:
bootpd
chargen
daytime
discard
echo
finger
echo
finger
ident
kerberose services (including klogin and kshell)
ntalk
portmapper
rpc.cmsd
rusers
time
tftp
walld
who
THX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:54 AM
03-22-2004 05:54 AM
Re: sqlplus - It hangs up during exit
if you change hostname with IP@in tnsnames.ora , what is the response time ?
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 03:43 AM
03-23-2004 03:43 AM
Re: sqlplus - It hangs up during exit
sqlplus userid/passwd
This did not make any difference.
Also we use DNS server to resolve our hostname and IP. That doesn't seem any issue. Pinging and nslookup are positive for the server and clients both.
THX for the responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 04:02 AM
03-23-2004 04:02 AM
Re: sqlplus - It hangs up during exit
let's try one more time.
What about your UNIX box, is it performing "normally"?
Do you know when this performance issue started? Do you have other applications running in this database? Are these applications running with a "normal" performance?
Did you check the database to see if it has some contention?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 04:14 AM
03-23-2004 04:14 AM
Re: sqlplus - It hangs up during exit
Are you using shared server connection or dedicated connection?
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 04:48 AM
03-23-2004 04:48 AM
Re: sqlplus - It hangs up during exit
in a previous post you wrote :
"On Oracle server itself, login and logout is fast"
and now : "Tried
sqlplus userid/passwd
This did not make any difference.
"
Did I miss anything ?
Also, Are you using dedicated server (as opposed to MTS), Have you tried to create another listener , different port number, new entry in tnsnames and see the results.
What about tnsping (you haven't said anything about it) ?
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 06:21 AM
03-23-2004 06:21 AM
Re: sqlplus - It hangs up during exit
Jean,
I tried â sqlplus userid/passwdâ on client.
Also what do you mean by tnsping, I am not sure. Can you explain it to me little more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 06:36 AM
03-23-2004 06:36 AM
Re: sqlplus - It hangs up during exit
can you see any errors in errorlog?
If this is a network problem, you could activate tracing.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 06:37 AM
03-23-2004 06:37 AM
Re: sqlplus - It hangs up during exit
I meant alertlog and you could modify sqlnet.ora for tracing.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:18 PM
03-23-2004 10:18 PM
Re: sqlplus - It hangs up during exit
sqlnet.ora has following entry only:
AUTOMATIC_IPC=on
unable to locate init.ora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:27 PM
03-23-2004 10:27 PM
Re: sqlplus - It hangs up during exit
default location is $ORACLE_HOME/dbs
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:36 PM
03-23-2004 10:36 PM
Re: sqlplus - It hangs up during exit
if you don't use oracle names I would suggest you put
NAMES.DIRECTORY_PATH= (TNSNAMES)
in the sqlnet.ora
AUTOMATIC_IPC = OFF <-- interprocess communication variable for local connection requires an entry in tnsnames.ora
For more information on this you can check document id 69725.1 on Oracle Metalink site.
Regards,
Jean-Luc