Oracle XE silent install on Linux, configure fails using a response file
839742Feb 15 2011 — edited Apr 19 2011I wish to install Oracle XE silently. Initially I'm making sure this will work from the command line before including in an automated install.
I'm following the steps here http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#CIHHJEHF
The first step of Installing with the rpm works fine rpm -ivh /opt/mydirectory/oracle-xe-univ-10.2.0.1-1.0.i386.rpm > /opt/Mincom/XEsilentinstall.log
The problem is configuring the database using a response file fails. I can configure the database manually without any problems.
/etc/init.d/oracle-xe configure < /opt/mydirectory/tools/OracleXE-SilentInstallLinux.iss >> /opt/mydirectory/XEsilentinstall.log
The response file OracleXE-SilentInstallLinux.iss contains the following 4 rows - exactly as per the instructions in the url above
9080
1521
systempwd
systempwd
y
The output that is written to the log file is
Preparing... ##################################################
oracle-xe-univ ##################################################
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:Invalid http port: 9080
Specify the HTTP port that will be used for Oracle Application Express [8080]:Invalid http port: 1521
Specify the HTTP port that will be used for Oracle Application Express [8080]:Invalid http port: systempwd
Specify the HTTP port that will be used for Oracle Application Express [8080]:Invalid http port: systempwd
Specify the HTTP port that will be used for Oracle Application Express [8080]:Invalid http port: y
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Password can't be null. Enter password:
Password can't be null. Enter password:
Password can't be null. Enter password:
The Oracle doco I have read states:
"Oracle Universal Installer treats wrong context, format, or type values within a response file as if no value were specified. In addition, variables which are outside of any section are ignored."
Can anyone provide a better response file please?