Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » Problem installing Weblogic 12.1.3 in silent mode (Weblogic 12.1.3 generic installer)
Problem installing Weblogic 12.1.3 in silent mode [message #638916] Thu, 25 June 2015 06:22 Go to next message
iso9001
Messages: 3
Registered: June 2015
Junior Member
Hi All,

I am trying to install Weblogic in silent mode for the first time. At first I tried to use the steps mentioned here: http:// www.toadworld.com/platforms/oracle/b/weblog/archive/2015/01/29/mastering-silent-mode-installing-configuring-and-creating-a-weblogic-c luster.aspx

Following is all the code I used for installation:

groupadd -g 666 oinstall
useradd -u 666 -g oinstall -G oinstall oracle
passwd oracle --Passw0rd

mkdir -p /u01/oracle/inventory
mkdir /home/oracle
chown -R oracle:oinstall /u01
chown -R oracle:oinstall /home/oracle
chmod -R 775 /u01

vi /etc/oraInst.loc -- You have to create this file. Content is:
	inventory_loc=/u01/oracle/inventory
	inst_group=oinstall

chown oracle:oinstall /etc/oraInst.loc
chmod 775 /etc/oraInst.loc

su - oracle

vi /home/oracle/Install.rsp -- You have to create this file. Content is:

	[ENGINE]

	#DO NOT CHANGE THIS.
	Response File Version=1.0.0.0.0

	[GENERIC]

	#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
	ORACLE_HOME=/u01/oracle/middleware

	#Set this variable value to the Installation Type selected. e.g. Fusion Middleware Infrastructure, Fusion Middleware Infrastructure With Examples.
	INSTALL_TYPE=WebLogic Server

	#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
	MYORACLESUPPORT_USERNAME=

	#Provide the My Oracle Support Password
	MYORACLESUPPORT_PASSWORD=<SECURE VALUE>

	#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
	DECLINE_SECURITY_UPDATES=true

	#Set this to true if My Oracle Support Password is specified
	SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

	#Provide the Proxy Host
	PROXY_HOST=

	#Provide the Proxy Port
	PROXY_PORT=

	#Provide the Proxy Username
	PROXY_USER=

	#Provide the Proxy Password
	PROXY_PWD=<SECURE VALUE>

	#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]
	COLLECTOR_SUPPORTHUB_URL=

export WL_HOME=/u01/oracle/middleware/wlserver
java -jar wls121300.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile /home/oracle/Install.rsp -logfile /home/oracle/wlsInstall.log



The user oracle has its own directory. I created oraInst.loc and Install.rsp files and response file is located in the home dir along with the installation jar file. All the folders and subfolders I created as target directory (/u01 and rest) belongs to oracle:oinstall. Oracle user is also in sudoers list.

Although I followed each and every step, I am having this error while installing:

Reading response file..
Starting check : CertifiedVersions
sh: 1: /bin/rpm: not found
sh: 1: /bin/rpm: not found
Expected result: One of enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11
Actual Result: (Unknown
Check complete. The overall result of this check is: Failed <<<<

Problem: This Oracle software is not certified on the current operating system.
Recommendation: Make sure you are installing the software on the correct platform.
Warning: Check:CertifiedVersions failed.
Starting check : CheckJDKVersion
Expected result: 1.7.0_15
Actual Result: 1.8.0_45
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Validations are enabled for this session.
Verifying data......
[VALIDATION] [ERROR]:INST-07008: Validation of Oracle Home location failed. User does not have permission to create home/instance location
[VALIDATION] [SUGGESTION]:Make sure that you have the required permission to create the directory
installation Failed. Exiting installation due to data validation failure.
Logs are located here: /tmp/OraInstall2015-06-25_12-22-22PM.


I don't know why this is happening. Can you please help?
Re: Problem installing Weblogic 12.1.3 in silent mode [message #638917 is a reply to message #638916] Thu, 25 June 2015 06:28 Go to previous message
iso9001
Messages: 3
Registered: June 2015
Junior Member
Hi,

I want to add that I also tried silent.xml but it didn't work as well. These are the sample silent.xml files I used:

<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
	<input-fields>
		<data-value value="D:\WLS11g"/>
		<data-value name="WLS_INSTALL_DIR" value="D:\WLS11g\wlserver_10.3"/>
		<data-value name="COMPONENT_PATHS"
			value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples"/>
		<data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" 
		<data-value name="NODEMGR_PORT" value="5559" />
		<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
	</input-fields>
</bea-installer>



<?xml version="1.0" encoding="ISO-8859-1" ?>
<bea-installer>
	<input-fields>
		<data-value name="BEAHOME" value="/u01/oracle/middleware" />
		<data-value name="WLS_INSTALL_DIR" value="/u01/oracle/middleware/wls12.1.3" />
</input-fields>
</bea-installer>



<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
  <input-fields>
  <data-value name="BEAHOME" value="/u01/oracle" />
  <data-value name="WLS_INSTALL_DIR" value="/u01/oracle/weblogic10.3.3" />
  <data-value name="WLW_INSTALL_DIR" value="/u01/oracle/workshop10.3.3" />
  <data-value name="COMPONENT_PATHS" value="WebLogic Server" />
  <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
  <data-value name="NODEMGR_PORT" value="5559" />
  </input-fields>
</bea-installer>


<?xml version="1.0" encoding="UTF-8"?>

<domain-template-descriptor> 

<input-fields> 
   <data-value name="BEAHOME"                   value="/u01/oracle" /> 
   <data-value name="USER_INSTALL_DIR"          value="/u01/oracle/weblogic10.3.3" /> 
   <data-value name="INSTALL_NODE_MANAGER_SERVICE"   value="no" />
   <data-value name="COMPONENT_PATHS" value="WebLogic Server|WebLogic Workshop|WebLogic Integration|WebLogic Portal" />
</input-fields> 
</domain-template-descriptor>


The command I used to run the installer is: java -jar wls121300.jar -mode=silent -silent_xml=/home/me/silent.xml

This command failed saying there is no GUI support. Therefore I used: java -jar wls121300.jar -mode=silent -silent_xml=/home/me/silent.xml -silent and this start the silent installation but failed as well. The error is as follows:

Launcher log file is /tmp/OraInstall2015-06-25_02-25-34PM/launcher2015-06-25_02-25-34PM.log.
Extracting files.........
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2660.499 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8386556 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 450014 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-06-25_02-25-34PM
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Log: /tmp/OraInstall2015-06-25_02-25-34PM/install2015-06-25_02-25-34PM.log
Setting mode to silent
Setting silent_xml to silent.xml
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
Starting check : CertifiedVersions
sh: 1: /bin/rpm: not found
sh: 1: /bin/rpm: not found
Expected result: One of enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11
Actual Result: (Unknown
Check complete. The overall result of this check is: Failed <<<<

Problem: This Oracle software is not certified on the current operating system.
Recommendation: Make sure you are installing the software on the correct platform.
Warning: Check:CertifiedVersions failed.
Starting check : CheckJDKVersion
Expected result: 1.7.0_15
Actual Result: 1.8.0_45
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Validations are enabled for this session.
Verifying data......
[ERROR] Data Insufficient to start Install.
[ERROR] Rule_OHFS_Error
[ERROR] Rule_GetOracleHome_Error
[ERROR] Provide a value for variable ORACLE HOME PATH
[ERROR] Rule_VDiskSpace_Error
[ERROR] Select one and only one Install Type. Any one of the variables SOFTWARE ONLY TYPE,BASIC TYPE or ADVANCED TYPE in Section GENERIC must be set to true.
[ERROR] Rule_VDiskSpace_Error
[ERROR] Rule_CalculateFreeSpace_Error. Aborting Install

Previous Topic: Java is using more than 90 % CUP of client
Next Topic: Weblogic 12.1.3 "context path already in use by the module" error
Goto Forum:
  


Current Time: Fri Aug 07 04:56:03 CDT 2020