Linux – missing files, installing Oracle DB 12c on Oracle Linux 7.2

installationlinuxoracleoracle-12c

when I try to Install the Database I get this error message:

Source location is incomplete. Make sure you have downloaded and extracted all the relevant archives.

I did try this twice with the same error message with the main installation packages on Oracle website and from the support page (latest Patchset)

The files I tried are:

unzip linuxamd64_12102_database_1of2.zip
unzip linuxamd64_12102_database_2of2.zip

and for the patchset:

unzip p21419221_121020_Linux-x86-64_1of10.zip
unzip p21419221_121020_Linux-x86-64_2of10.zip

and when I create the ISO on my Mac

hdiutil makehybrid -o OracleDatabase12cEE.iso database/ -iso -joliet

all seems to be OK

I mount the ISO as a virtual CD/DVD in VMware then mount it in linux

tried to run the installation from the drive and after copying everything locally!
and it's the same error message!

BTW I did run:

# yum install oracle-rdbms-server-12cR1-preinstall -y

# yum update -y

before trying to install!

also I login with ssh from my Mac

also I checked that everyone is the same as this article!

am I missing something?

Best Answer

The following is the excerpt of runInstaller.sh file

# Abort the install, if install/.oui file is not found in the stage area
#
if [ ! -f $CMDDIR/install/.oui ]
then
  echo "Source location is incomplete. Make sure you have downloaded and extracted
all the relevant archives."
        exit 1
fi

#

Which clearly states that if you are missing the .oui file it returns the given message.

Generally, after extracting the downloaded zip files manually we get two directories like database and database(0). The .oui file is hidden so we don't see it using general ls command and File Explorer. You can see it using ls -a command in Linux.

Solution:

Goto the second directory database(0)/install/ and copy the .oui file to the database/install directory.

[oracle@testsrv Desktop]$ cp 'database(0)'/install/.oui database/install