Operating System - Linux
1827870 Members
1082 Online
109969 Solutions
New Discussion

Re: redhat cluster suite installation.

 
SOLVED
Go to solution
avik
Valued Contributor

redhat cluster suite installation.

I am trying to install redhat cluster suite v 4.0 for 64bit intel itanium. The OS is RHEL AS 4. During the cluster installation, its says the below package is required by the cman & dlm kernel. I brought the kernel revision to 2.6.9-22.EL, yet I am getting the same error. Thanks in anticipation.

[root@dbnode1 RPMS]# rpm -ivh *.rpm
error: Failed dependencies:
/lib/modules/2.6.9-22.EL is needed by cman-kernel-2.6.9-39.5.ia64
/lib/modules/2.6.9-22.EL is needed by dlm-kernel-2.6.9-37.7.ia64
[root@dbnode1 RPMS]# uname -a
Linux dbnode1 2.6.9-22.EL #1 SMP Mon Sep 11 16:48:38 AST 2006 ia64 ia64 ia64 GNU/Linux
[root@dbnode1 RPMS]# uname -r
2.6.9-22.EL
[root@dbnode1 RPMS]#
6 REPLIES 6
Ivan Ferreira
Honored Contributor
Solution

Re: redhat cluster suite installation.

Did you build the 2.9.9-22.EL kernel from the source?

Probably, you do have installed the kernel but is not in the rpm database, that's why it complains about it.

What is the output of?

rpm -qa |grep kernel

If the directory /lib/modules/2.6.9-22.EL do exits (and it should because of the output of uname -r), but in the output of rpm -qa you don't see the package, then you can install the packages using:

rpm -Uvh *.rpm --nodeps
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
avik
Valued Contributor

Re: redhat cluster suite installation.

hey again,

[root@dbnode2 linux]# rpm -qa | grep kernel
kernel-devel-2.6.9-11.EL
kernel-utils-2.4-13.1.66
kernel-2.6.9-11.EL
[root@dbnode2 linux]# cd /lib/modules
[root@dbnode2 modules]# ls
2.6.9-11.EL 2.6.9-22.EL kabi-4.0-0
[root@dbnode2 modules]# ls -lrt
total 24
drwxr-xr-x 2 root root 4096 May 21 2005 kabi-4.0-0
drwxr-xr-x 3 root root 4096 Aug 19 16:35 2.6.9-11.EL
drwxr-xr-x 3 root root 4096 Sep 10 16:55 2.6.9-22.EL
[root@dbnode2 modules]#


avik
Valued Contributor

Re: redhat cluster suite installation.

hi, are you suggesting to execute the below command for the cluster packages ?

rpm -Uvh *.rpm --nodeps

what does the --nodeps mean ?
Vitaly Karasik_1
Honored Contributor

Re: redhat cluster suite installation.

So for now you run -11 or -22 kernel?
for your running kernel you should have appropriate kernel-devel package.

As for "--nodeps" option, it asks RPM don't check for dependencies. I don't think this will help in you case.
avik
Valued Contributor

Re: redhat cluster suite installation.

I am soo sorry, that output was collected from the second node. Here is the output from the machine in question.


[root@dbnode1 RPMS]# rpm -qa | grep kernel
kernel-2.6.9-42.0.2.EL
kernel-2.6.9-42.EL
kernel-module-ntfs-2.6.9-22.EL-2.1.20-0.rr.10.0
kernel-utils-2.4-13.1.83
kernel-devel-2.6.9-42.0.2.EL
kernel-module-ntfs-2.6.9-22.ELsmp-2.1.20-0.rr.10.0
kernel-devel-2.6.9-11.EL
kernel-devel-2.6.9-42.EL
kernel-2.6.9-11.EL
[root@dbnode1 RPMS]# cd /lib/modules
[root@dbnode1 modules]# ls -lrt
total 48
drwxr-xr-x 2 root root 4096 Aug 18 01:07 kabi-4.0-0
drwxr-xr-x 3 root root 4096 Aug 19 14:42 2.6.9-11.EL
drwxr-xr-x 3 root root 4096 Sep 6 12:48 2.6.9-42.EL
drwxr-xr-x 3 root root 4096 Sep 6 12:48 2.6.9-22.ELsmp
drwxr-xr-x 3 root root 4096 Sep 6 14:19 2.6.9-42.0.2.EL
drwxr-xr-x 3 root root 4096 Sep 11 16:55 2.6.9-22.EL
[root@dbnode1 modules]#
Ivan Ferreira
Honored Contributor

Re: redhat cluster suite installation.

You can safely run:

rpm -Uvh *.rpm --nodeps

In this way, you will install the packages wihtout checking dependencies, as you do have the files needed but the package is not in the database.

Just ensure that all other dependencies are meet. Normally, all dependencies needed are displayed in the rpm command, so --nodeps should be safe.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?