SLES 11 How to obtain packages required for Oracle Install

All,

I am utilizing VMware ESXi, 5.1.0 vsphere with SLES 11 SP3 for VMWARE installed.
I require the below RPM packages or more recent version to support a vision installation of Oracle E-Business Suite Release 12 (12.2) for Linux x86-64.
I have used http://download.novell.com/index.jsp and http://download.novell.com/patch/finder/ and could not locate the required RPM’s and could only sind the sysstat RPM.

The following rpms (suffix .x86_64.rpm) packages must be installed from the SLES 11 distribution media on both the application and database tiers:

From the oracle note, below are all of the required RPM’s that I am missing.
SLES 11 Service Pack 2 (11.2) or higher is required. The following rpms (suffix .x86_64.rpm) packages must be installed from the SLES 11 distribution media on both the application and database tiers:
•binutils-2.21.1-0.7.25
•db1-32bit-1.85-225.22
•gcc-4.3-62.198
•gcc-c+±4.3-62.198
•libstdc+±devel-4.3-62.198
•linux32-1.0-475.14
•make-3.81-128.20
•openmotif21-libs-32bit-2.1.30MLI4-0.1.1

Additionally, the following RPMs are required for the database tier (running Oracle Database 11gR2):
•ksh-93u-0.6.1
•libstdc++43-devel-4.3.4_20091019-0.22.17
•libstdc++43-devel-32bit-4.3.4_20091019-0.22.17
•libgcc46-4.6.1_20110701-0.13.9
•sysstat-8.1.5-7.32.1
•libaio-devel-0.3.109-0.1.46
•libaio-devel-32bit-0.3.109-0.1.46

Thanks,

Paul

Did you know that SLES has had an ‘orarun’ package forever that helps with
database installs?

Most, if not all, of the packages you are seeking are found on the main
SLES DVD (#1, not #2). If you set that up as a software repository then
you can install all of them; in my case it’s usually nothing more than the
following command to have the box ready for Oracle’s DB:

Code:

sudo zypper in orarun

To add the SLES media as a software repository you can use Yast:
[color=blue]

sudo yast[/color]
Software: Software Repositories
Add: Local ISO (or another location, but it’s often easiest to put the ISO
on the server and then point to it). Next/Finish until complete.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Thanks for the input.

I tried the orarun command but it got the below:

          MyGuestVM:/mnt/iso # sudo zypper in orarun
          Loading repository data...
          Reading installed packages...
          Resolving package dependencies...
         The following NEW packages are going to be installed:   gcc libaio-devel orarun sysstat
         4 new packages to install.
         Overall download size: 222.0 KiB. After the operation, additional 777.0 KiB will be used.
         Continue? [y/n/?] (y): y
         Retrieving package gcc-4.3-62.198.x86_64 (1/4), 5.0 KiB (0 B unpacked)
         Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0xBWhDkj: Mounting media failed (mount: no medium found on /dev/sr0)

So, I tried to prevent this I found another forum and then deactivated the DVD Repository:
In YaST => Software => Software Repositories,uncheck the Checkbox “Enabled” on the Repository “openSUSE-DVD”.
http://forums.opensuse.org/showthread.php/407627-Yast-want-the-DVD-in-the-drive-to-install-uninstall
MYHOST2:/mnt/iso # sudo zypper in orarun
Loading repository data…
Reading installed packages…
‘orarun’ not found in package names. Trying capabilities.
No provider of ‘orarun’ found.
Resolving package dependencies…
Nothing to do.

I tried the below command and reran the orarun with the same results:

mount -o loop SLES-11-SP3-for-VMware-DVD-x86_64-GM-DVD1.iso /mnt/iso

Thanks for taking the time to help me out.

Paul

Mounting the iso at /mnt/iso isn’t going to achieve anything with regards allowing zypper to install packages from it.

Go to YaST > Software > Software Repositories and add SLES-11-SP3-for-VMware-DVD-x86_64-GM-DVD1.iso as a repo as ab described in his post. Then if you run

$ zypper lr -u

You should see the iso listed as a repo and be able to install orarun.

That you’re not able to install the package without adding the iso as a repo suggests the machine isn’t registered. If you register the machine you should get the Pool repo set up, which contains all the packages on the DVD, and the Updates repo.

[QUOTE=mikewillis;21667]Mounting the iso at /mnt/iso isn’t going to achieve anything with regards allowing zypper to install packages from it.

Go to YaST > Software > Software Repositories and add SLES-11-SP3-for-VMware-DVD-x86_64-GM-DVD1.iso as a repo as ab described in his post. Then if you run

$ zypper lr -u

You should see the iso listed as a repo and be able to install orarun.

That you’re not able to install the package without adding the iso as a repo suggests the machine isn’t registered. If you register the machine you should get the Pool repo set up, which contains all the packages on the DVD, and the Updates repo.[/QUOTE]

Platinium2:~ # zypper lr -u

| Alias | Name | Enabled | Refresh | URI

–±-----------------------------------------------------------±-----------------------------------------------------------±--------±--------±-----------------------
1 | SUSE-Linux-Enterprise-Server-11-SP3-for-VMware 11.3.3-1.68 | SUSE-Linux-Enterprise-Server-11-SP3-for-VMware 11.3.3-1.68 | No | No | cd:///?devices=/dev/sr0
Platinium2:~ # sudo zypper in orarun
System management is locked by the application with pid 15693 (/usr/lib/YaST2/bin/y2base).
Close this application before trying again.

I was able to get orarun to install 4 required packages. Thank you very musch.

Now I still need 6 other required packages for the application installation.
How can I use orarun to find and download from SUSE missing / required packages?

Paul

Platinium2:~ # sudo zypper in orarun
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW packages are going to be installed:
gcc libaio-devel orarun sysstat

4 new packages to install.
Overall download size: 222.0 KiB. After the operation, additional 777.0 KiB
will be used.
Continue? [y/n/?] (y): y
Retrieving package gcc-4.3-62.198.x86_64 (1/4), 5.0 KiB (0 B unpacked)
Retrieving package libaio-devel-0.3.109-0.1.46.x86_64 (2/4), 12.0 KiB (64.0 KiB unpacked)
Retrieving package sysstat-8.1.5-7.45.24.x86_64 (3/4), 176.0 KiB (639.0 KiB unpacked)
Retrieving package orarun-1.9-172.20.21.54.x86_64 (4/4), 29.0 KiB (74.0 KiB unpacked)
Installing: gcc-4.3-62.198 [done]
Installing: libaio-devel-0.3.109-0.1.46 [done]
Installing: sysstat-8.1.5-7.45.24 [done]
Installing: orarun-1.9-172.20.21.54 [done]
Additional rpm output:
Updating etc/sysconfig/oracle…

 Show message history

Reply, Reply All or Forward | More

[QUOTE=pwollenburg;21670]Platinium2:~ # zypper lr -u

| Alias | Name | Enabled | Refresh | URI

–±-----------------------------------------------------------±-----------------------------------------------------------±--------±--------±-----------------------
1 | SUSE-Linux-Enterprise-Server-11-SP3-for-VMware 11.3.3-1.68 | SUSE-Linux-Enterprise-Server-11-SP3-for-VMware 11.3.3-1.68 | No | No | cd:///?devices=/dev/sr0
Platinium2:~ # sudo zypper in orarun
System management is locked by the application with pid 15693 (/usr/lib/YaST2/bin/y2base).
Close this application before trying again.
[/QUOTE]
That shows you only have one repo configured and it’s disabled, which makes it impossible to install anything with zypper, and that when you ran zypper it existed saying it was blocked by another process but then you say…

Which is confusing because you can’t have done that with the system in the state you indicate and you make no mention of having changed anything in between that. I can only assume that although you make no mention of having done so, you successfully added the iso as a repo at some point. (It would have been better to have registered the machine instead because that will also get you updates. I’m assuming you care about getting updates :wink: )

You don’t. orarun is a package with has dependencies that cause zypper to install other packages as well. You seem to indicate that four other packages got installed along with orarun. The other packages you need are probably already installed. You can check with

$ rpm -qa | grep -i part_of_name_of_package

e.g.

$ rpm -qa | grep -i libstdc++

will list all packages that are installed that have libstdc++ in their name. Similarly

$ zypper packages | grep -i libstdc++

will list all packages with libstdc++ in their names that are available in the repos you have configured. One of the columns indicates if the package is installed.

You can also query on the full package name

$ rpm -qi libstdc++-devel 

If there is a package called libstdc+±devel installed you’ll get information about it, if there isn’t you’ll be told the package isn’t installed.
or

$ zypper info libstdc++-devel 

will tell you if there is a package called libstdc+±devel available in the repos you have configured and whether or not it installed.

For future reference, when posting the output of commands it helps with readability to wrap it in CODE tags. Look for the # button on the toolbar when composing post.

Thanks for all of your help. I ended up having to go through VMWARE to obtain the required RPM.
The orarun command did find 2 packages in my mounted ISO software.

Paul