command to check on rac status in linux

Posted on 2007-07-21
Last Modified: 2013-12-18
I'm typing below command to check the RAC status on Linux but return me an error, why?
$ crs_stat -t
-bash: crs_stat: command not found
[oracle@devdb01 /home]
Question by:motioneye
    LVL 29

    Expert Comment



    LVL 14

    Expert Comment

    Ensure that ORA_CRS_HOME path is set in your .profile or .bash_profile

    ORA_CRS_HOME=crs home path

    try :


    ./crs_stat -t

    Author Comment

    Hi anand_2000v,
    How do I find and make sure the path is correct?? sorry I'm not knowledgeable with Linux nor Oracle, just 2 weeks with this technology and still learning
    LVL 14

    Accepted Solution

    Ex :
    export PATH
    unset USERNAME
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_HOME=/u01/oracle/product/10.1.0/db_1; export ORACLE_HOME
    ORA_CRS_HOME=/u01/oracle/product/10.1.0/crs; export ORA_CRS_HOME
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    export CLASSPATH

    This above things should be set in the .bash_profile of linux.

    log in a Oracle user .

    vi .bash_profile
    copy and paste the above things and edit the ORACLE_HOME,ORA_CRS_HOME

    ORACLE_HOME = Path where your oracle database software is install
    ORA_CRS_HOME = path where your CRS software is installed

    You will find crs_stat under

     ex :

    In bin folder :

    ls -l crs_stat - will show you the presence

    then issue

    ./crs_stat -t

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now