Solved

rac command

Posted on 2014-04-10
7
664 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
7 Comments
 
LVL 23

Accepted Solution

by:
David earned 250 total points
Comment Utility
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
Comment Utility
$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
Comment Utility
Change direcotry command "cd" is missing
Rewrite $GRID_HOME/bin to
cd $GRID_HOME/bin
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 23

Expert Comment

by:David
Comment Utility
My bad, ty virdi.
0
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 250 total points
Comment Utility
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 22

Expert Comment

by:Steve Wales
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Invalid Identifier Error 3 65
Create index on View 27 52
update set column values in oracle 3 42
Encryption Decryption in Oracle 12 59
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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.
This video shows how to recover a database from a user managed backup

771 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

11 Experts available now in Live!

Get 1:1 Help Now