Checking the health of Oracle database

How to make sure that the Oracle database Server is running at any given time. Is there any way I can send the small data pockets to cross check it is up and running. I can always try to connect to Oracle database server and if it fails I know it is not working. I am looking for any other approach from Oracle guru’s.
Oracle 10g R 2 onwards.
Thank you,
Smith

parse alert.log
system state change will be seen there.
*woo                                                                                                                                                                                               

Similar Messages

  • How to check the version of oracle

    Hi,
    Did anyone know the command to check the version of oracle db?
    Thanks
    daron

    also as a normal user (non-dba) if you want to know then during login to the database using sql*plus you get the following.
    SQL*Plus: Release[b] 9.0.1.3.0 - Production on Thu Oct 6 10:43:35 2005
    (c) Copyright 2001 Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - ProductionThe first bold version if the version of the client(Sql*plus) and the second bold version (9.2.0.4) is the database version to which you are connected to .

  • How can I check the version of Oracle in Linux?

    Dear all :
    How can I check the version of Oracle in Linux ?
    Regards
    Terry

    Hi terry;
    How can I check the version of Oracle in Linux ?You mean your db version or something else? If you mean you want to control your version issue is:
    source env file as oramgr
    sqlplus "/as sysdba"
    when u login sqlplus it will give u something as below:
    SQL*Plus: Release 10.2.0.4.0 - Production on
    Regard
    Helios

  • What are the features of Oracle Database Cloning

    What are the features of Oracle Database Cloning

    Do you mean Duplication Database ?
    Please refer to documentation:
    [Creating and Updating Duplicate Databases with RMAN|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Toshiba have any software that I can download that will check the Health of my hard drive

    I have a Dell model 3847 desktop computer with a Model TOSHIBA DT01ACA100 hard drive, does Toshiba have any software that I can download that will check the Health of my Toshiba Hard Drive? If so where can I get the software?

    Fujitsu - DT01ACA100  
    Toshiba bought Fujitsu and uses their tools for their drives. MajorGeeks has one here.
       Fujitsu Windows Diagnostic Tool
    -Jerry

  • Checking the size of Oracle XE Database

    Hi,
    I installed oracle 10g express edition on a Linux machine couple of weeks ago.
    Installation was successful oracle is running fine. Now I am concious about the limitation of 4 GB data size in XE.
    DBConsole is not running, i am working on it. But want to know the existing DB size from sql.
    Kindly let me know the query that can give me the exact size of database.
    I will be very thankful.
    Regards, Imran

    Hi,
    select sum(bytes)/1024/1024 from dba_data_files;
    select sum(bytes)/1024/1024 from dba_SegmentsThe first query would give you total space allocated to your database.
    The second query would give you total space used by database objects.
    Regards

  • Error while checking the status of Oracle Cluster ware

    Hi
    I was trying to install the database using dbca after setting up the grid and database software on LINUX x86-64 RHEL 5.7 machine. The database software version is 11.2.0.3. It throwing the error regarding the connectivity of clusterware. So I checked the status of clusterware.
    -bash-3.2$ ./crsctl stat res -t
    CRS-4535: Cannot communicate with Cluster Ready Services
    CRS-4000: Command Status failed, or completed with errors.
    -bash-3.2$
    But when I ran below one:
    -bash-3.2$ ./crsctl stat res -t -init
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.asm
    1 ONLINE ONLINE sfv9699 Started
    ora.cluster_interconnect.haip
    1 ONLINE ONLINE sfv9699
    ora.crf
    1 ONLINE ONLINE sfv9699
    ora.crsd
    1 ONLINE OFFLINE
    ora.cssd
    1 ONLINE ONLINE sfv9699
    ora.cssdmonitor
    1 ONLINE ONLINE sfv9699
    ora.ctssd
    1 ONLINE ONLINE sfv9699 OBSERVER
    ora.diskmon
    1 OFFLINE OFFLINE
    ora.drivers.acfs
    1 ONLINE ONLINE sfv9699
    ora.evmd
    1 ONLINE INTERMEDIATE sfv9699
    ora.gipcd
    1 ONLINE ONLINE sfv9699
    ora.gpnpd
    1 ONLINE ONLINE sfv9699
    ora.mdnsd
    1 ONLINE ONLINE sfv9699
    So i saw that the crsd having some issue. I checked the alert log and crsd log. Below are the output.
    Alert <server_name>.log
    2012-10-20 15:37:51.408
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:52.968
    [crsd(5188)]CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:52.984
    [crsd(5188)]CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    ]. Details at (:CRSD00111:) in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:53.471
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:53.472
    [ohasd(3694)]CRS-2771:Maximum restart attempts reached for resource 'ora.crsd'; will not restart.
    CRSD.log
    2012-10-20 15:37:52.456: [ CRSMAIN][3563381328] Checking the OCR device
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Sync-up with OCR
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Connecting to the CSS Daemon
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Getting local node number
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [   CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [  OCRASM][3563381328]proprasmo: Error in open/create file in dg [DATA]
    [  OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [  OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.969: [    GIPC][3563381328] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5326]
    2012-10-20 15:37:52.975: [ default][3563381328]clsvactversion:4: Retrieving Active Version from local storage.
    2012-10-20 15:37:52.978: [ CSSCLNT][3563381328]clssgsgrppubdata: group (ocr_SFV9699-cluster) not found
    2012-10-20 15:37:52.978: [  OCRRAW][3563381328]proprio_repairconf: Failed to retrieve the group public data. CSS ret code [20]
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprioo: Failed to auto repair the OCR configuration.
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprinit: Could not open raw device
    2012-10-20 15:37:52.981: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.983: [  OCRAPI][3563381328]a_init:16!: Backend init unsuccessful : [26]
    2012-10-20 15:37:52.984: [  CRSOCR][3563381328] OCR context init failure. Error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [ CRSMAIN][3563381328] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [    CRSD][3563381328][PANIC] CRSD exiting: Could not init OCR, code: 26
    2012-10-20 15:37:52.984: [    CRSD][3563381328] Done.
    =======================
    I see in the above log that saying ASM instance is down and failed to open +DATA .
    But the asm instance up and running
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME STATUS
    +ASM1            STARTED
    And we havent created any disk named DATA before the installation. We have created only below two disks
    SQL> select name,header_status from v$asm_disk;
    NAME HEADER_STATUS
    ASM_DATA MEMBER
    FLASH_RECOVERY MEMBER
    But I am seeing a diskgroup in the v$asm_diskgroup which we havent created.
    SQL> select name,state from v$asm_diskgroup;
    NAME STATE
    DATA MOUNTED
    Ya this is a second time installtion. In the first installtion we created the asmdisk as DATA. But later everything (RAW device ) was formatted and this new disks has been created and installtion again started
    [root@SFV9699 bin]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    Seems like its trying to read the old disk DATA.
    we have done asmscanning too with oracleasm scan disks. but no use.
    Where I can remove the old entry of DATA disk.
    It would be a great if a quick response get.
    Thanks
    SHIYAS M

    The permission looks fine. If it was permission issue then y it is trying to read the DATA disk which I havent created this time at all ( But created in the first installation).
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: *Error in open/create file in dg [DATA]*[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: *Failed to open [+DATA].* Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
    The only disks created are
    [root@SFV9699 dev]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    And these disks are showing part of that group also.. Not quite sure how this happened..
    what abt dropping this group.. will anything work.

  • .oui error in the install of oracle database client in a linux CentOS

    I am installing oracle database client in eqipo linux CentOS, after making all the passages for the creation of the user oracle and its groups beginning the ./runInstaller application and appears to me the following error:
    ./runInstaller: line 66: /install/.oiu: cannot excecute binary file
    as I can solve this
    they can notify me the possible solution to the following e-mail?
    [email protected] or
    [email protected]

    You may want to check these references for CentOS install:
    Installing 10g Release 2 on Centos 4.3 & 4.4
    http://www.dizwell.com/prod/node/50
    http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/toc.htm
    Oracle® Database Installation Guide
    10g Release 2 (10.2) for Linux x86
    Part Number B15660-02
    Installing Oracle 10.2.0.1 on CentOS 5.0 (x86_64)
    http://bderzhavets.blogspot.com/2007/04/installing-oracle-10.html
    Installing 9i (9.2.0.1) Database on Centos 4.5
    Installing 9i (9.2.0.1) Database on Centos 4.5
    installing 10.2.0 on CentOS
    Re: Got "java.lang.NullPointerException" installing 10.2.0 on CentOS
    Link error installing 10gR2 on CentOS 4.4
    Link error installing 10gR2 on CentOS 4.4
    Re: 10g in vmware Centos
    10g in vmware Centos
    ~ Madrid.

  • How to check the datfiles from oracle SQL Developer(enterprise Manager)

    hi,
    Iam using Oracle SQL Developer as enterprise manager in my local pc.I want to check the size of datafiles using this enterprise manager.could u pls help me out..
    Thanks in advance ,
    R.Ratheesh

    What?
    Sql developer is not enterprise manager.
    Size of datafiles? Read the documention, and read the concepts and administration manuals for your release.
    I am not going to provide links, because you have not given your database version number and secondly if you found this forum you can find the docs.
    But I will give you a clue....DBA_DATA_FILES...
    Message was edited by:
    bazzza

  • How can I change the hostname after Oracle Database XE is installed?

    I currently have XE installed and working on my ubuntu machine.
    When I change the hostname of my machine, oracle database no longer connects and says "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor".
    Can anyone tell me how I can change the hostname of my machine and keep oracle database working correctly?
    Thanks

    Stopping, reconfig, starting the instance is one way, although that is somewhat like using petrol to kill ants.
    The database instance pretty much does not care about the hostname setting. But the listener does- the installer finds the hostname and uses that in the setup bits.
    As posted somewhere here, when using the 1521 default listener port, the listener.ora config file can just be moved out of the way. Another potential fix is setting the HOST=0.0.0.0 for the IPv4 "any IP" address setting, or setting it to the correct hostname. Or HOST= can be set to IPv4 address. For IPv6, have to use HOST=<hostname> and it must resolve, can't HOST=... an IPv6 address.
    To move the listener file, stop the listener first. To change a HOST=... setting, also stop the listener first.
      lsnrctl stop
      mv $ORACLE_HOME/network/admin/listener.ora $ORACLE_HOME/network/admin/listener.bk0
      # or
      vi $ORACLE_HOME/network/admin/listener.ora
      # change HOST=<whatever> to the correct value, or 0.0.0.0
      lsnrctl start
      sqlplus /nolog
      conn system
      ... password ... Connected.
      alter system register;
      exit
      # start the lsnr
      lsnrctl start
      # check the status, services
      lsnrctl stat
      lsnrctl serv
    If the host has a wireless (or another NIC) that one does not want to offer up remote connections on, the 0.0.0.0 is not a good way to go either
    Message was edited by: clcarter
    typos

  • Please help, urgent! How to hold the connection to oracle database

    I used java to connect Oracle database using thin driver. But I found out the connection will be closed very soon if I did not make any request of query. I query the database like after 1 mins without doing anything, my application will dead for about 2 mins, then everything become normal again.
    How can I hold the connection or is there any other solution? thank you!

    Duffy is, as usual, correct. If you have a single-user environment, then holding onto a connection is probably okay (not desirable but also not pernicious). However, once you have more than one user, you will want to use a connection pool. Jakarta Commons (jakarta.apache.org) has an open source pool that is reliable.
    But the fact that you are having additional problems makes me believe you are missing a few fundamental concepts, such as transactions. Even if the connection dropped, you should be able to reconnect without issue (granted, with some additional latency). The only time it would pose an issue (above and beyond the ones mentioned above and in previous replies) is if you are not managing your transactions properly.
    In short, take some tutorials on JDBC, DataSource, connection pools and transaction management.
    - Saish

  • Is Oracle Application Express the same of Oracle Database Express Edition (

    Hi,
    perhaps a silly question.
    I've tried to download Oracle Application Express. Before of installing it, I've noticed that looking at the About the Create Application Manual it looks like the Application Builder that I already use with the web-based page for Oracle Database 10g XE (Express Edition). But thus is Oracle Application Express the same of using Application Builder of Oracle Database 10g XE? To me it seems so, but I'd like to be sure of that
    Thanks!

    oracle database XE 10g include APEX installed, version 2.... i don't remember exactly
    Oracle database sinde 11g includes APEX installed too
    Yes, APEX have a tab with application builder, there you create applications, but the version is very old, install Oracle DB XE 11g or upgrade APEX

  • How to check the configurations of a database.

    Hi There,
    I am asked to create a new database but it should be exactly configured as a database which exist allready.please help me how can i check the configuration of the exicting database.
    please help.
    Regards
    Navneet Kaur

    Hi!
    There are two posible ways to do this:
    1. Clone the existing database with RMAN.
    2. Use Database configuration assistant to create a database template from the existing database.
    Hope this helps!

  • How to check the status of Oracle DB?

    I just installed the Oracle Express 10 on LINUX machine. I check the status with
    /ect/init.d/oracle-xe status
    and get followings. How can I tell if the Oracle is running or not?
    [root@s003ap03n-test init.d]# ./oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-JUL-2010 10:18:45
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 19-JUL-2010 09:58:46
    Uptime 0 days 0 hr. 19 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s003ap03n-test.proactiv.de)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=7070))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Connect with SYS or SYSDBA.
    SELECT instance_name, status, host_name
    FROM v$instance;
    Regards
    Asif Kabir
    Total Questions: *6 (6 unresolved)*
    -- Mark your helpful post as correct/helpful and close all the answered threads.

  • How Can I Check the Health of the Time Machine Snapshots?

    Hi. The last time I used Time Machine to restore to a fresh install of Mountain Lion, it had an error, I had to manually copy the folders and files in my home folder as well as XCode and bookmarks for Safari.
    Is there an app that can check if the Time Machine snapshot will work when you need to restore it to a fresh install of Mountain Lion? Could it also check the backup disk for surface errors? My backup drive that uses Time Machine is fine.
    Thank you in advance.
    God bless.

    Unfortunately, you cannot do diagnostics on a Time Capsule. Data on a Time Capsule are not stored directly to the drive. Data are stored in a sparsebundle disk image. If the disk image goes bad, then you can try to copy it to a regular hard drive so you can try repairing the disk image or you erase the Time Capsule.
    You really don't need to check hard drives from time to time. If there are errors on the drive you will know about them before you have time to fix the drive. And, if the errors are fixable usually that doesn't happen using Disk Utility.
    File errors are very rare no matter how often you use a HDD. There is no research to support your hypothesis.
    To protect against hard drive failure (unrelated to file errors) is best avoided by making multiple backups. You cannot have too many backups. Given your concern for your files this will help you a lot more than running diagnostice tests on one hard drive. I would also recommend you not use Time Machine because its reliability is markedly less than most recommended backup utilities such as these. Furthermore, you can clone any drive using Disk Utility's Restore feature.
    Suggested Backup Software
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the drive used for backup. Source means the drive you are backing up.

Maybe you are looking for

  • Array creation in generic method.

    I have next class. public class Data implements Comparable<Data>     private int val;     public Data(int val)         this.val = val;     public int getVal()         return val;    public void setVal(int val)         this.val = val;     @Override   

  • How to change encoding in output txt file

    Hello All, I use Oracle 10g, database characterset is UTF8. I've got a txt file with corresponding UTF8, could I change a characterset of the txt output file for the other one - ANSI, for example? Thanks in advance for your help! Best regards, Tany

  • G550 and internet connection

    i have recently bought a new lenovo G550 notebook and it seems a cool notebook for me with its cheap price. well im new with notebooks and i want to know that how i can connect my notebook into the internet . i have an ADSL connection working with a

  • Aperture video missing red channel on playback

    Aperture video missing red channel on playback.  Also some pictures appear to have missing pixels. Video played with Quicktime doesnt have the missing red channel. When trying to playback video,in aperture, it plays with missing frames, missing pixel

  • Failing to install (APSB12-26)  and (APSB11-29)

    We are trying to install two hotfixes  (APSB12-26)  and (APSB11-29)  on the server. This server does not have Runtime Java and preferably we do not want to install it. When we attempt to install these hotfixes, it is prompting the below error and doc