<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Oracle%2FDatabase%2FOracle_11g_SLES_Install</id>
	<title>Oracle/Database/Oracle 11g SLES Install - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Oracle%2FDatabase%2FOracle_11g_SLES_Install"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Oracle/Database/Oracle_11g_SLES_Install&amp;action=history"/>
	<updated>2026-05-08T18:41:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Oracle/Database/Oracle_11g_SLES_Install&amp;diff=1989&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Oracle 11g SLES Install ==  Note: Oracle 11g R1 is not officially supported on SLES 11.  Either use SLES 10 or perform the hack described later on.  === Introduction ===  T...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Oracle/Database/Oracle_11g_SLES_Install&amp;diff=1989&amp;oldid=prev"/>
		<updated>2015-04-15T16:40:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Oracle 11g SLES Install ==  Note: Oracle 11g R1 is not officially supported on SLES 11.  Either use SLES 10 or perform the hack described later on.  === Introduction ===  T...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Oracle 11g SLES Install ==&lt;br /&gt;
&lt;br /&gt;
Note: Oracle 11g R1 is not officially supported on SLES 11.  Either use SLES 10 or perform the hack described later on.&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
This article describes the installation of Oracle Database 11g Release 1 (11.1) on SUSE Linux Enterprise Server 11 (SLES).  The steps are based off a server installation with a minimum of 2G swap, secure Linux disabled, and the following packages installed along with default packages:&lt;br /&gt;
&lt;br /&gt;
*Oracle Server Base&lt;br /&gt;
*C/C++ Compiler and Tools&lt;br /&gt;
&lt;br /&gt;
=== Download Software ===&lt;br /&gt;
&lt;br /&gt;
Download the following software from [http://www.oracle.com/ www.oracle.com]: &lt;br /&gt;
&lt;br /&gt;
Oracle Database 11g Release 1 (11.1) Software&lt;br /&gt;
&lt;br /&gt;
=== Hardware Requirements ===&lt;br /&gt;
&lt;br /&gt;
The system must meet the following minimum hardware requirements:&lt;br /&gt;
&lt;br /&gt;
 Requirement Minimum Value&lt;br /&gt;
 System RAM:				1024 MB&lt;br /&gt;
 Swap space Approx.:			twice the size of RAM&lt;br /&gt;
 Disk space in /tmp:			1024 MB&lt;br /&gt;
 Disk space for software files:		4 GB&lt;br /&gt;
 Disk space for database files:		1.7 GB&lt;br /&gt;
&lt;br /&gt;
=== Hosts File ===&lt;br /&gt;
&lt;br /&gt;
Edit the /etc/hosts file to contain a fully qualified name for the server:&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;IP-address&amp;gt;  &amp;lt;fully-qualified-machine-name&amp;gt;  &amp;lt;machine-name&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
=== Oracle Install prerequisites ===&lt;br /&gt;
&lt;br /&gt;
1. The account for oracle user is disabled. Please enable it by editing the file /etc/passwd&lt;br /&gt;
&lt;br /&gt;
Change the shell for the &amp;quot;oracle&amp;quot; user from &amp;quot;/bin/false&amp;quot; to &amp;quot;/bin/bash&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Set a new password for user “oracle” i.e.&lt;br /&gt;
&lt;br /&gt;
 # /usr/bin/passwd oracle&lt;br /&gt;
&lt;br /&gt;
and specify new password&lt;br /&gt;
&lt;br /&gt;
NOTE: You can use SUSE setup tool YaST to accomplish above tasks.&lt;br /&gt;
&lt;br /&gt;
3. Default Oracle environment set by orarun&lt;br /&gt;
&lt;br /&gt;
Make sure the Oracle home directory ORACLE_HOME variable is set to:&lt;br /&gt;
ORACLE_HOME=$ORACLE_BASE/product/11gR1/db in /etc/profile.d/oracle.sh file&lt;br /&gt;
&lt;br /&gt;
4. Modify following parameters to meet Oracle 11g kernel requirements&lt;br /&gt;
&lt;br /&gt;
Modify the following lines of the /etc/sysconfig/oracle file:&lt;br /&gt;
&lt;br /&gt;
 #IP_LOCAL_PORT_RANGE=&amp;quot;1024 65000&amp;quot; (comment old entry)&lt;br /&gt;
 IP_LOCAL_PORT_RANGE=&amp;quot;9000 65000&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 #WMEM_MAX=262144 (comment old entry)&lt;br /&gt;
 WMEM_MAX=1048586&lt;br /&gt;
 &lt;br /&gt;
 #FILE_MAX_KERNEL=131072 (comment old entry)&lt;br /&gt;
 FILE_MAX_KERNEL=6815744&lt;br /&gt;
 &lt;br /&gt;
 #AIO_MAX_SIZE=262144 (comment old entry)&lt;br /&gt;
 AIO_MAX_SIZE=1048576&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Modify the following lines of the /etc/init.d/oracle file:&lt;br /&gt;
&lt;br /&gt;
 #        test -f /proc/sys/fs/aio-max-size &amp;amp;&amp;amp; echo &amp;quot;  AIO_MAX_SIZE=${AIO_MAX_SIZE:-262144}&amp;quot; (commented old entry)&lt;br /&gt;
 #        test -f /proc/sys/fs/aio-max-size &amp;amp;&amp;amp; echo ${AIO_MAX_SIZE:-262144} &amp;gt; /proc/sys/fs/aio-max-size (commented old entry)&lt;br /&gt;
 #        test -f /proc/sys/fs/aio-max-size || echo (commented old entry)&lt;br /&gt;
 &lt;br /&gt;
         test -f /proc/sys/fs/aio-max-nr &amp;amp;&amp;amp; echo &amp;quot;  AIO_MAX_SIZE=${AIO_MAX_SIZE:-1048576}&amp;quot;&lt;br /&gt;
         test -f /proc/sys/fs/aio-max-nr &amp;amp;&amp;amp; echo ${AIO_MAX_SIZE:-1048576} &amp;gt; /proc/sys/fs/aio-max-nr&lt;br /&gt;
         test -f /proc/sys/fs/aio-max-nr || echo&lt;br /&gt;
&lt;br /&gt;
5. Set the kernel parameters&lt;br /&gt;
&lt;br /&gt;
 # /usr/sbin/rcoracle start&lt;br /&gt;
&lt;br /&gt;
=== Oracle Installation ===&lt;br /&gt;
&lt;br /&gt;
login as oracle user&lt;br /&gt;
&lt;br /&gt;
Run Oracle Universal installer :&lt;br /&gt;
&lt;br /&gt;
 # ./runInstaller&lt;br /&gt;
&lt;br /&gt;
Click on OK for the Permissions error message&lt;br /&gt;
&lt;br /&gt;
Make the Inventory Directory as /opt/oracle/oraInventory instead of /opt/oraInventory as shown in screenshot&lt;br /&gt;
&lt;br /&gt;
NOTE: You can ignore the OUI-18001: The operating system &amp;#039;Linux Version SuSE-11&amp;#039; is not supported.&lt;br /&gt;
&lt;br /&gt;
NOTE: You can select the check boxes for failed prerequisite checks and continue&lt;br /&gt;
&lt;br /&gt;
Once the Database Configuration Assistance completes the db creation&lt;br /&gt;
&lt;br /&gt;
login as root and run the below scripts&lt;br /&gt;
&lt;br /&gt;
 /opt/oracle/oraInventory/orainstRoot.sh&lt;br /&gt;
 /opt/oracle/product/11gR1/db/root.sh&lt;br /&gt;
&lt;br /&gt;
=== Post Installation ===&lt;br /&gt;
&lt;br /&gt;
Edit the /etc/sysconfig/oracle file to set the parameter as:&lt;br /&gt;
  START_ORACLE_DB=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit the /etc/oratab file entry corresponding to your database to &amp;#039;Y&amp;#039;:&lt;br /&gt;
  orcl:/opt/oracle/product/11gR1/db:Y&lt;br /&gt;
&lt;br /&gt;
If you want to start dbconsole services at boot-time, then set Listener (START_ORACLE_DB_LISTENER) and Enterprise Manager parameter (START_ORACLE_DB_EMANAGER) in /etc/sysconfig/oracle to yes.&lt;br /&gt;
&lt;br /&gt;
Check the database using Enterprise Manager web interface https://[IP-address]:1158/em&lt;br /&gt;
  User Name: sys&lt;br /&gt;
  Password:  ******&lt;br /&gt;
  Connect as: sysdba&lt;br /&gt;
&lt;br /&gt;
=== Source ===&lt;br /&gt;
&lt;br /&gt;
See [[https://kb.alhds.com/knowledgebase/entries/index.php?entryID=122 HDS Knowledgebase - Oracle 11g Installation on SUSE Linux Enterprise Server 11 (SLES) (122)]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
START_ORACLE_DB=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
OUI-10035 You do not have permission to write to the inventory location.&lt;br /&gt;
OR&lt;br /&gt;
OUI-10033: The inventory locaiton /opt/oraInventory set by the previous installation session is no longer accessible.  Do you still want to continue by creating a new inventory?  Not that you may lose the products installed in the earlier session.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Checking operating system requirements...&lt;br /&gt;
Expected result: One of enterprise-4,enterprise-5,redhat-4,redhat-5,SuSE-10,asianux-2,asianux-3&lt;br /&gt;
Actual Result: SuSE-11&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Installation guide for SLES 11 and Oracle 11R2:&lt;br /&gt;
* http://ftp.novell.com/partners/oracle/docs/11gR2_sles11_install.pdf&lt;br /&gt;
&lt;br /&gt;
Installation guide for SLES 11 and Oracle 11R1:&lt;br /&gt;
* http://ftp.novell.com/partners/oracle/docs/11gR1_sles10_install.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://forums.oracle.com/forums/thread.jspa?threadID=841634:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-ignoreSysPrereqs&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
oracle@sles10:~&amp;gt;cat /etc/SuSE-release&lt;br /&gt;
&lt;br /&gt;
You can modify /etc/SuSE-release file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSE Linux Enterprise Server 10 (x86_64)&lt;br /&gt;
VERSION = 10&lt;br /&gt;
PATCHLEVEL = 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSE Linux Enterprise Server 9 (x86_64)&lt;br /&gt;
VERSION = 9&lt;br /&gt;
PATCHLEVEL = 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With SUSE 11 and Oracle 11g R1 you would change:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSE Linux Enterprise Server 11 (x86_64)&lt;br /&gt;
VERSION = 11&lt;br /&gt;
PATCHLEVEL = 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSE Linux Enterprise Server 10 (x86_64)&lt;br /&gt;
VERSION = 10&lt;br /&gt;
PATCHLEVEL = 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/etc/oraInst.loc:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 inventory_loc=/opt/oracle/oraInventory&lt;br /&gt;
 inst_group=oinstall&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Packages ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x86:&lt;br /&gt;
Checking operating system package requirements ...&lt;br /&gt;
Checking for make-3.80; found make-3.81-128.20-i586.    Passed&lt;br /&gt;
Checking for binutils-2.16.91.0.5; found binutils-2.19-11.28-i586.      Passed&lt;br /&gt;
Checking for gcc-4.1.0; found gcc-4.3-62.198-i586.      Passed&lt;br /&gt;
Checking for libaio-0.3.104; found libaio-0.3.104-140.22-i586.  Passed&lt;br /&gt;
Checking for libelf-0.8.5; Not found.   Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for compat-libstdc++-5.0.7; Not found. Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libaio-devel-0.3.104; found libaio-devel-0.3.104-140.22-i586.     Passed&lt;br /&gt;
Checking for libgcc-4.1.0; Not found.   Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libstdc++-4.1.0; Not found.        Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libstdc++-devel-4.1.0; found libstdc++-devel-4.3-62.198-i586.     Passed&lt;br /&gt;
Checking for unixODBC-2.2.11; Not found.        Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for unixODBC-devel-2.2.11; Not found.  Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for sysstat-6.0.2; found sysstat-8.1.5-7.8-i586.       Passed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
x64:&lt;br /&gt;
Checking operating system package requirements ...&lt;br /&gt;
Checking for make-3.80; found make-3.81-128.20-x86_64.  Passed&lt;br /&gt;
Checking for binutils-2.16.91.0.5; found binutils-2.19-11.28-x86_64.    Passed&lt;br /&gt;
Checking for gcc-4.1.0; found gcc-4.3-62.198-x86_64.    Passed&lt;br /&gt;
Checking for gcc-c++-4.1.0; found gcc-c++-4.3-62.198-x86_64.    Passed&lt;br /&gt;
Checking for libaio-0.3.104; found libaio-0.3.104-140.22-x86_64.        Passed&lt;br /&gt;
Checking for libaio-32bit-0.3.104; found libaio-32bit-0.3.104-140.22-x86_64.   Passed&lt;br /&gt;
Checking for libelf-0.8.5; Not found.   Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for compat-libstdc++-5.0.7; Not found. Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libaio-devel-0.3.104; found libaio-devel-0.3.104-140.22-x86_64.   Passed&lt;br /&gt;
Checking for libgcc-4.1.0; Not found.   Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libstdc++-4.1.0; Not found.        Failed &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
Checking for libstdc++-devel-4.1.0; found libstdc++-devel-4.3-62.198-x86_64.   Passed&lt;br /&gt;
Checking for sysstat-6.0.2; found sysstat-8.1.5-7.8-x86_64.     Passed&lt;br /&gt;
Checking for glibc-devel-2.4; found glibc-devel-2.9-13.2-x86_64.        Passed&lt;br /&gt;
Checking for glibc-devel-32bit-2.4; found glibc-devel-32bit-2.9-13.2-x86_64.   Passed&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>