My Oracle Support Banner

Windows:AHF installation fails with -data_dir -silent option (Doc ID 2671043.1)

Last updated on APRIL 17, 2023

Applies to:

Engineered Systems Utilities - Version 12.1.2.8.3 and later
Information in this document applies to any platform.

Goal

On windows using AHF-Win_v20.1.1 , While installing AHF we get below error . 

 

>installahf.bat -local -ahf_loc "c:\ahf" -javahome "<GI_Home>\jdk" -perlhome "<GI_Home>\perl" -tmp_loc "C:\tmp" -silent
[ERROR] : AHF-00040: Please provide AHF Data Directory Location using option -data_dir

>installahf.bat -local -ahf_loc "c:\ahf" -javahome "<GI_Home>\jdk" -perlhome "<GI_Home>\perl" -tmp_loc "C:\tmp" -silent -data_dir "c:\ahf\oracle.ahf\data"

Usage for installahf

  "installahf [-crshome <CRS Home> | -perlhome <Perl Install Location>] | [-ahf_loc <Install Directory>] | [-javahome < Java Install Location>] | [-deferdiscovery | -local | -silent ]"

  -local            -    Only install on the local node
  -deferdiscovery   -    Discover Oracle trace directories after installation completes
  -ahf_loc          -    Install into the directory supplied
  -crshome          -    CRS Home Location
  -javahome         -    Use this directory for the JRE
  -silent           -    Do not ask any install questions
  -perlhome         -    Use given perl binary for execution of perl programs
  -tmp_loc          -    Temporary location directory for AHF to extract the install archive to (must exist) (Default /tmp)
  -debug            -    Debug AHF Install Script
  -level            -    AHF Instal Debug Level 1-6 (Default 4 with option -debug)
                         [FATAL - 1, ERROR - 2, WARNING - 3, INFO - 4, DEBUG - 5, TRACE - 6]


As we can see above the option " -data_dir" is missing  . 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.