Installing Oracle 11g in Ubuntu 9.0.4.

srikanthrad
srikanthrad used Ask the Experts™
on
How to install Oracle 11g in Ubuntu 9.0.4 64 bit version?
I have downloaded the zip files linux.x64_11gR2_database_1of2 and linux.x64_11gR2_database_2of2 from the Oracle website.
I have unzipped the first zip file which created a directory called database, went inside the directory to find an executable file called runInstaller and when I ran it, it is giving me the error. Please find the error in the Code section.
I don't know whether it is relevant but my JAVA version is:
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode).
Checking Temp space: must be greater than 120 MB.   Actual 70379 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 9306 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-10-24_08-06-31AM. Please wait ...
Invalid source path '../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles' specified for unzip. Unzip command failed. Please check oraparam.ini and specify a valid source path.
: No such file or directory

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
johnsoneSenior Oracle DBA

Commented:
Have you tried unzipping both of the files into the same location before running the installer?  I believe that the 2 files together contain the entire install package.  The install is broken into 2 download pieces, but they both need to be put into the staging area before you can run the installer.

Author

Commented:
When I extracted two folders are being created. So, I merged the folders and then I can proceed a little bit.
There are certain parameters that needs to be fixed it seems like number of semaphores that can be created at a given time I guess. I fixed this one but to fix others i need to run a script I guess.

So, according to Oracle's recommendation I ran this file: /tmp/CVU_11.2.0.1.0_srikanth/runfixup.sh

But, it is giving me the following:
Response file being used is :./fixup.response
Enable file being used is :./fixup.enable
Log file location: ./orarun.log
[: 845: true: unexpected operator
[: 860: unexpected operator
[: 879: unexpected operator
[: 900: unexpected operator
[: 1049: true: unexpected operator
[: 1055: unexpected operator
[: 1071: unexpected operator
[: 1081: unexpected operator
[: 1112: unexpected operator
[: 1140: unexpected operator
[: 1186: unexpected operator
[: 1217: unexpected operator
[: 1221: unexpected operator
[: 1224: unexpected operator
[: 1280: unexpected operator
[: 1339: unexpected operator
[: 1423: unexpected operator
[: 1448: unexpected operator
[: 1462: unexpected operator

Please suggest.
Top Expert 2008
Commented:
Normally in Linux (see Oracle pdf concerning installation on Ulix/Linux):

http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html?_template=/ocom/technology/content/print


Required package versions (or later):
"      binutils-2.15.92.0.2-10.EL4
"      compat-db-4.1.25-9
"      control-center-2.8.0-12
"      gcc-3.4.3-9.EL4
"      gcc-c++-3.4.3-9.EL4
"      glibc-2.3.4-2
"      glibc-common-2.3.4-2
"      gnome-libs-1.4.1.2.90-44.1
"      libstdc++-3.4.3-9.EL4
"      libstdc++-devel-3.4.3-9.EL4
"      make-3.80-5
"      pdksh-5.2.14-30
"      sysstat-5.0.5-1
"      xscreensaver-4.18-5.rhel4.2
"      libaio-0.3.96
"      openmotif21-2.1.30-11.RHEL4.2  (Required only to install Oracle demos.  Installation of Oracle demos is not covered by this guide.)

Configuring the Linux Kernel Parameters
The Linux kernel is a wonderful thing. Unlike most other *NIX systems, Linux allows modification of most kernel parameters while the system is up and running. There's no need to reboot the system after making kernel parameter changes. Oracle Database 10g Release 2 requires the kernel parameter settings shown below. The values given are minimums, so if your system uses a larger value, don't change it.
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
If you're following along and have just installed Linux, the kernel parameters will all be at their default values and you can just cut and paste the following commands while logged in as root.
cat >> /etc/sysctl.conf <<EOF
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
EOF
/sbin/sysctl -p

Ex:
# cat >> /etc/sysctl.conf <<EOF
> kernel.shmall = 2097152
> kernel.shmmax = 536870912
> kernel.shmmni = 4096
> kernel.sem = 250 32000 100 128
> fs.file-max = 65536
> net.ipv4.ip_local_port_range = 1024 65000
> EOF
# /sbin/sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144
Run the following commands as root to verify your settings:
/sbin/sysctl -a | grep shm
/sbin/sysctl -a | grep sem
/sbin/sysctl -a | grep file-max
/sbin/sysctl -a | grep ip_local_port_range
/sbin/sysctl -a | grep rmem_default
/sbin/sysctl -a | grep rmem_max
/sbin/sysctl -a | grep wmem_default
/sbin/sysctl -a | grep wmem_max

Ex:
# /sbin/sysctl -a | grep shm
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shm-use-bigpages = 0
# /sbin/sysctl -a | grep sem
kernel.sem = 250 32000 100 128
# /sbin/sysctl -a | grep file-max
fs.file-max = 65536
# /sbin/sysctl -a | grep ip_local_port_range
net.ipv4.ip_local_port_range = 1024 65000
# /sbin/sysctl -a | grep rmem_default
net.core.rmem_default = 262144
# /sbin/sysctl -a | grep rmem_max
net.core.rmem_max = 262144
# /sbin/sysctl -a | grep wmem_default
net.core.wmem_default = 262144
# /sbin/sysctl -a | grep wmem_max
net.core.wmem_max = 262144
For Novell SUSE Linux releases, use the following to ensure that the system reads the /etc/sysctl.conf file at boot time:
/sbin/chkconfig boot.sysctl on
Setting Shell Limits for the oracle User
Oracle recommends setting limits on the number of processes and open files each Linux account may use. To make these changes, cut and paste the following commands as root:
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF

cat >> /etc/pam.d/login <<EOF
session required /lib/security/pam_limits.so
EOF
For RHEL4, use the following:
cat >> /etc/profile <<EOF
if [ \$USER = "oracle" ]; then
 if [ \$SHELL = "/bin/ksh" ]; then
 ulimit -p 16384
 ulimit -n 65536
 else
 ulimit -u 16384 -n 65536
 fi
 umask 022
fi
EOF

cat >> /etc/csh.login <<EOF
if ( \$USER == "oracle" ) then
 limit maxproc 16384
 limit descriptors 65536
 umask 022
endif
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Top Expert 2008

Commented:
About JDK read this:

http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html#03_02

Which JDBC drivers support which versions of Javasoft's JDK?
"      pre-8i OCI and THIN Drivers - JDK 1.0.x and JDK 1.1.x
"      8.1.5 OCI and THIN Drivers - JDK 1.0.x and JDK 1.1.x
"      8.1.6SDK THIN Driver - JDK 1.1.x and JDK 1.2.x (aka Java2)
"      8.1.6SDK OCI Driver - Only JDK 1.1.x
"      8.1.6 OCI and THIN Driver - JDK 1.1.x and JDK 1.2.x
"      8.1.7 OCI and THIN Driver - JDK 1.1.x and JDK 1.2.x
"      9.0.1 OCI and THIN Driver - JDK 1.1.x, JDK 1.2.x and JDK 1.3.x
"      9.2.0 OCI and THIN Driver - JDK 1.1.x, JDK 1.2.x, JDK 1.3.x, and JDK 1.4.x
"      10.1.0 OCI and THIN Driver - JDK 1.2.x, JDK 1.3.x, and JDK 1.4.x
"      10.2.0 OCI and THIN Driver - JDK 1.2.x, JDK 1.3.x, JDK 1.4.x, and JDK 5.0.x
"      11.1.0 OCI and THIN Driver - JDK 1.5.x and JDK 1.6.x
Please note that JDK 1.4 is not supported by the 11.1.0 drivers.
The Server Thin Driver and Server Internal Driver support the same version of Java as is supported by the Oracle Server VM.
"      Oracle 8i supports J2SE 1.1
"      Oracle 9i R1 supports J2SE 1.2
"      Oracle 91 R2 supports J2SE 1.3
"      Oracle 10g supports J2SE 1.4
"      Oracle 11 supports JSE 5

Author

Commented:
@schwertner:
I have configured the Kernel and the security parameters for my system.
However,  regarding the packages.
Required package versions (or later):
"      binutils-2.15.92.0.2-10.EL4
"      compat-db-4.1.25-9
"      control-center-2.8.0-12
"      gcc-3.4.3-9.EL4
"      gcc-c++-3.4.3-9.EL4
"      glibc-2.3.4-2
"      glibc-common-2.3.4-2
"      gnome-libs-1.4.1.2.90-44.1
"      libstdc++-3.4.3-9.EL4
"      libstdc++-devel-3.4.3-9.EL4
"      make-3.80-5
"      pdksh-5.2.14-30
"      sysstat-5.0.5-1
"      xscreensaver-4.18-5.rhel4.2
"      libaio-0.3.96
"      openmotif21-2.1.30-11.RHEL4.2  (Required only to install Oracle demos.  Installation of Oracle demos is not covered by this guide.)

Oracle interface is saying they are missing, but they are present.

For eg:
root@srikanth-laptop:~# gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@srikanth-laptop:~# which make
/usr/bin/make
root@srikanth-laptop:~# make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

What do I do now?
Top Expert 2008

Commented:
I suspect a mess of 32 bits and 64 bits software.
You have to check:
1. What machine you have (32 or 64 bits)
2. What OS
3. To find appropriate Oracle kit (32 bits can be installed on 64 bit OS, but not vice versa)

Also I will suggest to make a search about installation procedures.
Top Expert 2008

Commented:
Good luck!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial