Storage Management (ASM ACFS DNFS ODM) (MOSC)

MOSC Banner

execute asmcmd from shell script in AIX

edited Nov 27, 2012 9:46AM in Storage Management (ASM ACFS DNFS ODM) (MOSC) 7 commentsAnswered
 hello everyone I am trying tu write a script which will send me an email everytime my asm filesystems pass a certain umbral

so far it works fine if i run the script directly like this ./asm.sh

but if i try to execute the script through the crontab i get the following error

Your "cron" job executed on sicpro01 on Sun Nov 18 13:27:00 CST 2012
/fsbackup/shell/asm.sh


produced the following output:

The Oracle base for ORACLE_HOME=/u01/app/grid/product/11.2.0/grid is /u01/app/grid
/fsbackup/shell/asm.sh[28]: asmcmd:  not found.
/fsbackup/shell/asm.sh[33]: asmcmd:  not found.

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