Solved

rac command

Posted on 2014-04-10
7
706 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
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
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
ID: 39992754
My bad, ty virdi.
0
 
LVL 76

Assisted Solution

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

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

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.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

770 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