LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2016, 03:09 PM   #16
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0

Ok thanks nicholas

Quote:
# rpm -qa | grep oracleasm | grep 2.1.4
oracleasm-support-2.1.4-1.el4
I am trying to install at-least 2 days , but getting error.
 
Old 02-05-2016, 03:27 PM   #17
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,362

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
Just run "rpm -Uv *.rpm". The "upgrade" option will upgrade packages that are already installed and simply install the rest.
 
Old 02-05-2016, 03:32 PM   #18
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Hi nicholos;

Still i am getting error

Quote:
# rpm -Uv *.rpm
warning: oracleasm-2.6.9-89.EL-2.0.5-1.el4.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
error: Failed dependencies:
kernel-hugemem = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELhugemem-2.0.5-1.el4.i686
kernel-smp = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELsmp-2.0.5-1.el4.i686
kernel-xenU = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELxenU-2.0.5-1.el4.i686
Suggested resolutions:
/var/spool/up2datekernel-hugemem-2.6.9-89.EL.i686.rpm
/var/spool/up2datekernel-smp-2.6.9-89.EL.i686.rpm
/var/spool/up2datekernel-xenU-2.6.9-89.EL.i686.rpm
 
Old 02-05-2016, 03:41 PM   #19
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,362

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
You'll either need to download and install the needed signatures from Oracle, or, if you want to install without the signature verification, include the "--nosignature" option. For the missing dependencies, you'll have to download the recommended packages and put them in the same directory as the others you're installing/upgrading.

I presume that you don't have yum installed (not installed by default in RHEL 4). It would handle the dependencies automatically.
 
1 members found this post helpful.
Old 02-05-2016, 03:54 PM   #20
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
You misspelled "oraclesasm".
Fixed original.

Last edited by Habitual; 02-05-2016 at 03:56 PM.
 
Old 02-05-2016, 03:59 PM   #21
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
yum was included after rhel4.5
also not even redhat is supporting 4.8
the extended support is only for rhel 4.9

Quote:
warning: oracleasm-2.6.9-89.EL-2.0.5-1.el4.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
error: Failed dependencies:
kernel-hugemem = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELhugemem-2.0.5-1.el4.i686
kernel-smp = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELsmp-2.0.5-1.el4.i686
kernel-xenU = 2.6.9-89.EL is needed by oracleasm-2.6.9-89.ELxenU-2.0.5-1.el4.i686
Suggested resolutions:
install the 3 dependencies first
but 4.8 has not received any security updates for a long time and should not be used
 
Old 02-05-2016, 04:40 PM   #22
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Is YUM only way to install dependencies ?

or any other way ?
 
Old 02-05-2016, 04:54 PM   #23
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Joy Stick View Post
Is YUM only way to install dependencies ?

or any other way ?
Yes, manually.
 
Old 02-05-2016, 06:10 PM   #24
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,362

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
Manually, indeed! You download those dependencies, try the install again, find that those dependencies have other dependencies, download those, try again, repeat until you have a set that works. That's why yum (and up2date, in a supported RHEL system of that era) are much the preferred methods of doing updates.
 
1 members found this post helpful.
Old 02-05-2016, 09:09 PM   #25
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Hi Joy Stick...

Here is the Oracle page where many of the files can be downloaded and installed manually. Pay careful attention to the different kernel versions.

Regards...
 
Old 02-05-2016, 11:34 PM   #26
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,301
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
I manage Oracle and ASM/Grid on a number of RHEL servers.

I don't think I will break any new ground here, however RHEL 4 AS is no longer supported, unless you are paying for support. You better upgrade.

First, why are you installing/upgrading ASMLib? Typically its when I upgrade to a new kernel.

What are the current packages that you have on your system?

Code:
rpm -qi oracleasm
This will tell you.

Make sure what you download then matches the architecture of your kernel (x32 or x86_64) and what was listed from the command above.

From what you posted, it looks like x32.

http://www.oracle.com/technetwork/se...easm_rhel4_x86

Also the directions say you will also need the following packages: oracleasmlib and oracleasm-support

I typically place all of my mine under /tmp/oracleasm and then run

Code:
rpm -ivh oracleasmlib oracleasm-support
Hopefully, you get the picture.

I also save the old rpms incase something goes wrong.

Then either I or the DBA will run the following commands under /etc/init.d

Code:
./oracleasm listdisks 

./oracleasm status
 
1 members found this post helpful.
Old 02-06-2016, 12:02 AM   #27
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
I manage Oracle and ASM/Grid on a number of RHEL servers.

Its good,

I downloaded from here

http://www.oracle.com/technetwork/se...l4-092650.html

PHP Code:
Drivers for kernel 2.6.9-89.EL
oracleasm
-2.6.9-89.ELxenU-2.0.5-1.el4.i686.rpm
oracleasm
-2.6.9-89.ELsmp-2.0.5-1.el4.i686.rpm 
oracleasm
-2.6.9-89.ELhugemem-2.0.5-1.el4.i686.rpm 
oracleasm
-2.6.9-89.EL-debuginfo-2.0.5-1.el4.i686.rpm 
oracleasm
-2.6.9-89.EL-2.0.5-1.el4.i686.rpm
Library 
and Tools
oracleasm
-support-2.1.7-1.el4.i386.rpm 
oracleasmlib
-2.0.4-1.el4.i386.rpm 

Do we need following rpms really required ?

PHP Code:
oracleasm-2.6.9-89.ELxenU-2.0.5-1.el4.i686.rpm
oracleasm
-2.6.9-89.ELsmp-2.0.5-1.el4.i686.rpm 
oracleasm
-2.6.9-89.ELhugemem-2.0.5-1.el4.i686.rpm 
oracleasm
-2.6.9-89.EL-debuginfo-2.0.5-1.el4.i686.rpm 
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rpms will not install or uninstall jginger Linux - Newbie 2 10-13-2004 01:53 PM
mandrake 9.2 won't uninstall rpms storyteller Linux - Software 4 12-11-2003 02:48 PM
RH9 Rpms' uninstall to tgz install... (glib) bkeating Linux - Software 2 10-25-2003 01:18 AM
Cannot uninstall RPMs - (RedHat) Ed Mack Linux - Software 5 01-04-2003 09:34 PM
how to uninstall rpms gonus Linux - Newbie 3 06-14-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration