Operating System - Linux
1830802 Members
4709 Online
110016 Solutions
New Discussion

HP ASM Installation fails on Proliant ML370 runing RH-8?

 
Maor
Occasional Advisor

HP ASM Installation fails on Proliant ML370 runing RH-8?

I'm using updated Kernel 2.4.20-20.8smp and at the end of the "hpasm activate" proccess im getting an error msg saying that the ASM cant found some links to source and module files and that it cannot identify my system kernel version.
Could someone guide me how to solve this problem please?

Thanks.
System Administrator
8 REPLIES 8
Huc_1
Honored Contributor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

I am sorry , if this in in fact more question then answer, but what are the link to source and modules not found

does not identify your kernel version that is surprising ?

I feel that by giving a little more info you would stand more chances of meaning-full reply.

J-P willing to help

Smile I will feel the difference
Stuart Browne
Honored Contributor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

HPASM packages on Linux are inteligent enough to re-compile the modules it requires if it doesn't have them for the current kernel.

It relies upon having the 'kernel-source' package installed however.

This is your issue. Install the matching kernelsource package from RH, then try it again.
One long-haired git at your service...
Maor
Occasional Advisor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

Stuart,
I've already install the source RPM for my installed kernel (2.4.20-20.8smp) but it seems that its not enoogh.
Here is the err msg that i'm getting when the ASM service is starting up :

# hpasm activate


==============================================================================
NOTE: New snmpd.conf entries were added to the top of /etc/snmp/snmpd.conf
==============================================================================

==============================================================================
NOTE: New cma.conf entries were added to the top of /opt/compaq/cma.conf
==============================================================================
HP HTTP server's passwords were all preserved to their previous setting.

Following environment variables were used to configure snmpd/agents:
CMALOCALHOSTRWCOMMSTR
CMALOCALHOSTROCOMMSTR
CMAMGMTSTATIONIPORDNS
CMAMGMTSTATIONRWCOMMSTR
CMAMGMTSTATIONROIPORDNS
CMAMGMTSTATIONROCOMMSTR
CMADEFTRAPCOMMSTR
CMATRAPDESTINATIONIPORDNS
CMATRAPDESTINATIONCOMMSTR
HPHTTPSERVEROVERWRITE

Starting HP Server Management Drivers and Agents, please wait ...
ls: /lib/modules/2.4.20-20.8smp/build/include/linux/version.h: No such file or directory
ls: /boot/vmlinuz.version.h: No such file or directory

/lib/modules/2.4.20-20.8smp/build/include/linux/version.h does not exist
Please load the appropriate sources to rebuild module.

Thanks for your attention.
maor
System Administrator
Mark Grant
Honored Contributor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

It's looking for the "version.h" include file which pretty much only provides t
he version of Linux you are running.

I don't know where the rpm sources go but it might be that this application need
s a "proper" source tree.

Anyway, "version.h" should exist in your src tree/linux/include/linux. I have g
ot applications to build properly by just linking this file to the place where t
he application is looking for it (for some reason your application is looking fo
r this in the modules directory).

You could try a symbolic link from your src tree/linux/include to /lib/modules/2.4.20-20.8smp/build/include

It might work but it's a bit of a hack
Never preceed any demonstration with anything more predictive than "watch this"
Stuart Browne
Honored Contributor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

On a standard RH installation with the kernel source, there is links like:

[root@linux 2.4.18-14]# ls -ald /lib/modules/2.4.18-14/build
lrwxrwxrwx 1 root root 32 Dec 3 2002 /lib/modules/2.4.18-14/build -> ../../../usr/src/linux-2.4.18-14

So thuis should work fine.

If you've made a custom kernel, you might need to cerate the symbolic link yourself.
One long-haired git at your service...
Maor
Occasional Advisor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

According to the error message i'll really appreciate if someone could explain:

1- What exactly should i install (sourcees / modules) in addition to my customized kernel (2.4.20xx-smp) to allow the hpasm auto rebuild proccess to work fine and match the hpasm to my RH-8 smp kernel?

2- I saw that the hpasm demand that the compat-libstdc++ will be installed on the system for the asm health agents. Which version of the compat-libstdc++ should i nstall in order to fulfill this demand?

Thanks alot to all of you.
Maor.
System Administrator
Stuart Browne
Honored Contributor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

1) After building your kernel, and 'make modules_install', create a symbolic link in /lib/modules// called 'build' pointing back to your kernel source tree's directory (as shown in pervious post).

2) The one that is distributed with RH8, or which ever is the latest eratta. A quick search shows compat-libstdc++-7.3-2.96.110 as being distributed with RH8 (although you might also need the '-devel' rpm too, unsure) with no eratta versions.
One long-haired git at your service...
Maor
Occasional Advisor

Re: HP ASM Installation fails on Proliant ML370 runing RH-8?

Replay to stuart last post:

1- I didn't make the kernel, i've just used a generic RH-8 smp rpm (kernel_2.4.20-20.8-smp.RPM) and install it.
I wand to know what this installation method is missind (modules, files.. etc) for the hp asm functioning and rebuilding procedure?, or maybe i must build the kernel myself and not using a fixed RPM?

2- Thanks for this answer :) .

Maor
System Administrator