DB2 Setup log file started at: Thu Oct 13 16:53:26 2011 CDT
============================================================
Operating system information: AIX 6.1
ERROR:The value provided for the FILE keyword is not valid. The location specified
"/opt/IBM/db2/V9.1" exists and is not empty. Specify a new or empty location.
DB2 Setup log file finished at: Thu Oct 13 16:53:26 2011 CDT
============================================================
Problem(Abstract)
Installing DB2 in a non-default directory results in a "FILE keyword is not valid" error.
Symptom
Error as seen in the installation.log file:
DB2 Setup log file started at: Tue Jun 16 08:13:26 2010 EDT
============================================================
Operating system information: AIX 5.3
ERROR:The value provided for the FILE keyword is not valid. The location
specified "/opt/db2V91" exists and is not empty. Specify a new or empty location.
DB2 Setup log file finished at: Tue Jun 16 08:13:27 2010 EDT
============================================================
In this scenario the non-default installation directory being used is /opt/db2V91.
Cause
The specified directory is not empty. There may be files or possibly another directory within it.
Resolving the problem
Change directories (cd) to the non-default directory you want to install in. Verify that the directory is empty.
Example:
root@nuat01 /opt/db2V91> ls -latr
total 8
drwxrwxrwx 2 root system 256 Feb 1 07:40 lost+found
drwxr-xr-x 6 bin bin 256 Feb 1 15:54 ..
drwxrwxrwx 3 root system 4096 Feb 5 18:59 .
In this example the directory is not actually empty. The lost+found directory is present.
Resolution:
- Remove lost+found directory
- Install DB2
- Recreate lost+found directory