?
Solved

rac command

Posted on 2014-04-10
7
Medium Priority
?
860 Views
Last Modified: 2014-06-10
Why the command not working?

oracle@puccdstaxst01:/appl/oracle/product/v112a/bin[PSP1]:
===>  ps -ef|grep pmon
  oracle  8781870        1   0   Sep 18      - 33:56 asm_pmon_+ASM1
  oracle 11010162        1   0   Sep 18      - 41:25 ora_pmon_PSP1
oracle@puccdstaxst01:/appl/oracle/product/v112a/bin[PSP1]:
===> crs_stat -t
ksh: crs_stat:  not found.
oracle@puccdstaxst01:/appl/oracle/product/v112a/bin[PSP1]:
===>
Also

======================================================
===> crsstat
ksh: crsstat:  not found.
oracle@puccdstaxst01:/appl/oracle/product/v112a/bin[PSP1]:
===>


=========================================================

srvctl status database -d OTPSP
ksh: ===:  not found.
0
Comment
Question by:tonydba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 23

Accepted Solution

by:
David earned 1000 total points
ID: 39992616
Show us your env|sort results, Tony.  First guess is that your $GRID_HOME/bin is missing from your PATH.  And/or, you are not  logged in as GRID.

"Step1: Go to binary directory

#cd $GRID_HOME/bin

Step2: Check CRS is running or not

# $GRID_HOME/bin/crsctl check crs

Step3: check your command

# ./crsctl stat res -t "  from dba-village.com
0
 

Author Comment

by:tonydba
ID: 39992634
$GRID_HOME/bin
ksh: /bin: 0403-006 Execute permission denied.
oracle@puct01:/appl/oracle/product/v112a/bin[PSP1]:
===>
0
 
LVL 15

Expert Comment

by:Devinder Singh Virdi
ID: 39992648
Change direcotry command "cd" is missing
Rewrite $GRID_HOME/bin to
cd $GRID_HOME/bin
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:David
ID: 39992754
My bad, ty virdi.
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 1000 total points
ID: 39992831
The fact that "$GRID_HOME/bin" resolved to "/bin" when they posted the "Execute permission denied" error shows that GRID_HOME isn't set.

So, your PATH isn't correct so it cannot find the crs_stat command.
0
 
LVL 23

Expert Comment

by:Steve Wales
ID: 40124045
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

718 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