931643 wrote:You need to set the ORACLE_HOME path to the Grid Infrastructure home path and not to the database home path.
I installed 11g database with asm. I am unable to enter in to the asmcmd. it throws me the error "perl.exe is not recognized as an internal or external command, operable program or batch file".
I have set Oracle home to c:\oracle\dbhome_1, oracle sid to +ASM
my env: windows server 2008 r 2 installed with oracle 22.214.171.124 db with grid infrastructure(asm)
Also you can use OUI ( Universal Installer) of Grid_home on Windows Menu (start>all program > Grid_home > Oracle Installation Products > Universal Installer) to set your PATH variables
eg: SET PATH=GRID_HOME\bin;DB_HOME\bin..and so on
Edited by: Levi Pereira on Oct 11, 2012 2:33 PM
SET ORACLE_SID=+ASM SET ORACLE_HOME=C:\Oracle\grid_home SET PATH=C:\Oracle\grid_home\bin;C:\Oracle\grid_home\perl\bin;C:\Oracle\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin ### From root of "C:" type: C:\> asmcmd.bat