Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

sqlplus Hang Tips

Oracle Tips by Burleson Consulting

Question: OS is Redhat AS 2, with Oracle 9iR2 freshly installed. Hard drives with RAID.

Sometimes (twice a week), it becomes impossible to log in with sqlplus, the command sqlplus user/password hangs (freezes) on the server, same thing from a client machine.

We have the following message in listener.log, just before sqlplus hangs :

"Plus d' ?oute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(KEY=EXTPROC)))"

(no more listening on ...)

It happens >3 times a week, on the incriminated machine only, never on the other
machine

Exact hardware configuration is :

Hewlett Packard ProLiant ML350 G3
Processor : 1 x Intel Xeon 2,80 GHz ; 533 MHz
RAM : 1,5 Go
ATI Rage XL, 64 Mo
Controller : 1 x HP Smart Array 642
2 x HP Ultra3 BIOS - 64 Bit SCSI UW 3 (Dual Channel) (integrated)
1 x NIC Ethernet Full Duplex Gigabit 7760 (integrated)
3 x HD 34 Go with RAID 5 for total storage amount of 68 Go

The problem is solved when we restart oracle, but reappears from time to time.

We have exactly the same configuration on another machine,  except raid and hardware, and we don't have the problem at all.

What could be the cause? 

Answer:  The answer to this specific problem was that the database was in archivelog but not configured for automatic archiving when the redo log were filled.

The solution was to set automatic archiving (
log_archive_start = true)
and set a destination (
log_archive_dest=mydir).

This is just one reason for sqlplus hangs.  There are many other reasons as to why sqlplus could hang.

You would be getting into SQL*Plus or connecting.

In which case you could try this:

oracle> sqlplus /nolog

If this gets you to the SQL> prompt, try connecting:

SQL> connect system/manager@mysid

If it hangs at connect time, check your alert log. Perhaps you have exceeded a parameter such as "processes".

Another possibility is that RedHat might not support your motherboard.  Be sure your OS is supported on your board

If you have checked the alert log, but nothing out of the normal shows up and are using UNIX try checking the OS session (
ps -ef|grep ora)

It's likely waiting to acquire a resource.

Oracle can "hang" for many reasons. In addition to the alert log, you need to check server-side logs (/etc/syslog, /var/adm/syslog), and check the listener log files as well as the bdump, cdump and pfile directories for trace files.

Try to bypass all the settings as for the connection string

SQLPLUS sys/sysadm@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (PORT=1521)
(NODE=yourServerName))) (CONNECT_DATA=(SID=yourSid) (SERVER=DEDICATED))) as sysdba


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.