Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silent Install Weblogic in a Vagrant VM

When executing the command java -jar /opt/TAR/fmw_12.2.1.0_wls.jar -silent -responseFile /opt/TAR/wls.rsp -invPtrLoc /opt/TAR/oraInst.locto download Weblogic, I get the following errors:

[ERROR] Data Insufficient to start Install.
[ERROR] Select one and only one Install Type. Any one of the variables SOFTWARE ONLY TYPE,BASIC TYPE or ADVANCED                                 
[ERROR] Rule_VDiskSpace_Error. Aborting Install

I have passed all the checks including enough swap space and temp space. I have also tried to increase more swap space by doing the following

$ dd if=/dev/zero of=/myswap count=3000 bs=MiB
$ chmod 600 /myswap
$ mkswap /myswap
$ swapon /myswap

My wls.rsp file looks like this

[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
ORACLE_HOME/opt/weblogic/wls12.2.1.2.0
INSTALL_TYPE=WebLogic Server
MYORACLESUPPORT_USERNAME=
MYORACLESUPPORT_PASSWORD=<SECURE VALUE>
DECLINE_SECURITY_UPDATES=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=<SECURE VALUE>
COLLECTOR_SUPPORTHUB_URL=

and oraInst.loc looks like this

inventory_loc=/opt/weblogic/oraInventory
inst_group=weblogic

What can fix those three errors?

like image 417
TGKL Avatar asked Jun 06 '17 15:06

TGKL


People also ask

What are the supported installation modes for WebLogic Server?

There are three installation modes: graphical mode, console mode, or silent mode.

How do I download and install WebLogic?

In the web browser navigate to the Oracle Fusion Middleware Software Downloads: http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html. Click In the Accept License Agreement. Select the Generic Installer. Click Download File.


2 Answers

Your response file has some issues - see fixed

[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
DECLINE_AUTO_UPDATES=true
ORACLE_HOME=/opt/weblogic/wls12.2.1.2.0
INSTALL_TYPE=WebLogic Server
MYORACLESUPPORT_USERNAME=
MYORACLESUPPORT_PASSWORD=
DECLINE_SECURITY_UPDATES=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=
COLLECTOR_SUPPORTHUB_URL=

You need to add a value for DECLINE_AUTO_UPDATES if you set to false, you need to add other parameters

the <SECURE VALUE> is just a template - if you dont set username you dont need password, just leave blank

like image 168
Frederic Henri Avatar answered Oct 08 '22 10:10

Frederic Henri


try to use

-ignoreSysPrereqs

so your command will be

java -jar /opt/TAR/fmw_12.2.1.0_wls.jar -ignoreSysPrereqs -silent -responseFile /opt/TAR/wls.rsp -invPtrLoc /opt/TAR/oraInst.loc

https://oracle-base.com/articles/misc/oui-silent-installations

like image 21
D'Arcy Nader Avatar answered Oct 08 '22 09:10

D'Arcy Nader