Operating System - Linux
1752431 Members
5996 Online
108788 Solutions
New Discussion юеВ

Re: Install serviceguard rpm failure

 
SOLVED
Go to solution
richeal75
Advisor

Install serviceguard rpm failure

Customer removed serviceguard rpms , and want to re-install it , but it's always failure,
below is detail of installation:

root@erpdb1 rpms]# rpm -i serviceguard-A.11.16.02-0.product.redhat.i386.rpm
Validating the identd configuration...
Warning: ServiceGuard uses the identd daemon, which does not
appear to be running on this node. Please take the proper
steps to configure and run identd before attempting to
have this node re-join the cluster.

Building modules, stage 2.
MODPOST
INSTALL /usr/local/cmcluster/drivers/deadman.ko
FATAL: Error inserting deadman (/lib/modules/2.6.9-34.ELsmp/extra/deadman.ko): Invalid module format
Could not load the deadman driver. This could mean
mean that the driver did not build properly. You will
not be able to run Serviceguard until this problem
is resolved. See the Serviceguard Documentation
on possible resolutions to this problem.
8 REPLIES 8
Vitaly Karasik_1
Honored Contributor
Solution

Re: Install serviceguard rpm failure

I'll suggest to check if SG supports your linux RHLE kernel version. what is your RHEL evrsion/update level?
John Bigg
Esteemed Contributor

Re: Install serviceguard rpm failure

I wonder if you have some old files from the original install on the system. I'd suggest deleting the old files and manually re-building the kernel module.

cd $SGROOT/drivers
rm *o *ko

and then follow the instructions in the README in that directory.

You will need kernel source loaded or at least kernel header files.
Colin Topliss
Esteemed Contributor

Re: Install serviceguard rpm failure

Hi,

What type of system are you installing on? Are you sure you're not trying to install a 32 bit version of the software on a 64 bit system?

For SuSE, I use:
serviceguard-A.11.16.01-0.product.suse.x86_64.rpm
for my 64 bit systems as opposed to
serviceguard-A.11.16.01-0.product.suse.i386.rpm

Colin.
richeal75
Advisor

Re: Install serviceguard rpm failure

Dear ALL,

Thanks for your help !

OS is Redhat Linux AS4.0 Update 3 IA32

Hello John,

Problem still occured after taken your actions.

below is problem details:

[root@erpdb1 rpms]# rpm -i pidentd-3.0.15sg-1.i386.rpm
Building modules, stage 2.
MODPOST
INSTALL /usr/src/pidentd-3.0.15sg/drivers/pidentd.ko

The pidentd driver has been built and
installed for kernel version 2.6.9-34.ELsmp. If you change and rebuild
the kernel you must also rebuild the pidentd driver. This is
because the kernel version and the drivers kernel mod will not
match and thus will not load.

[root@erpdb1 rpms]# service pidentd start
FATAL: Error inserting pidentd(/lib/modules/2.6.9-34.ELsmp/extra/pidentd.ko): Invalid module format


I asked customer to
1. rpm -e pidentd-3.0.15sg-1.i386.rpm
2.
remove folder /usr/src/pidentd-3.0.15sg/ and $SGROOT/drivers/*
3. rpm -i pidentd-3.0.15sg-1.i386.rpm

but problem was persistent.


Ermin Borovac
Honored Contributor

Re: Install serviceguard rpm failure

Any relevant errors in /var/log/messages or /var/log/dmesg?
John Bigg
Esteemed Contributor

Re: Install serviceguard rpm failure

The fact that you have 2 different kernel modules which are built without error but fail to load into the kernel indicates that you have some sort of kernel mismatch problem. The possibilities I can think of are:

1) You updated the kernel but have not updated the kernel source used when building these modules.

2) You have updated the compiler (gcc) and this does not match the version used to build the kernel you are running.

Both of these need to be correct for you to be able to build and load a kernel module.
Ermin Borovac
Honored Contributor

Re: Install serviceguard rpm failure

Also do you have the kernel-smp-devel package installed? i.e.

# rpm -q kernel-smp-devel
richeal75
Advisor

Re: Install serviceguard rpm failure

Dear John,

The problem resolved after changed gcc version to 3.4.

thanks for your strong support !


Dear ALL,

I also appreciate your help !