AHF - Autonomous Health Framework (TFA - ORACHK) (MOSC)

MOSC Banner

sh: test: argument expected

Oracheck does not execute the scritps in the second node of the RAC

 

Error Code:

 

Warning: Permanently added 'rac2,192.168.0.91' (RSA) to the list of known hosts.

sh: test: argument expected

sh: test: argument expected

 

 

*************

 

 

I Have added in both nodes the following line "oracle ALL=(root) NOPASSWD:$HOME/root_orachk.sh" in "/usr/local/etc/sudoers"

 

*******************

 

I have installed the version 4.3 of shell in "/opt/csw/bin/bash" (in both nodes)

 

I have modified the first line of "orachk":

Before " *#!/bin/env bash "

now " #!/bin/env /opt/csw/bin/bash"

 

The value of the varible $SHELL is '/bin/sh'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center