www.mamboteam.com
Debian Linux (on HP)  
Home arrow Forum
Thursday, 11 March 2010
 
 
HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support

gfx* Home Help Search Calendar Login Registergfx
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP System Management  |  HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support « previous next »
Pages: 1 [2] Print
Author Topic: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support  (Read 5643 times)
Patrick
Newbie
*
Offline Offline

Posts: 4


View Profile WWW
HPasm-rpm2deb-sarge.sh on DL380 G5 running Etch
« Reply #15 on: October 10, 2006, 01:41:09 pm »

Wanted to try and get the HPasm working on our new DL380 today and the script works like a charm, gave me a hpasm_7.4.0-56_amd64.deb which seems to install without problems. These appear when I try and run hpasm activate as told after running dpkg. It shows the following:
Code:
NOTE: It has been determined that your existing SNMP software stack will not
work correctly with many of the management agents in this package. In order
to successfully integrate those agents, one of the following prerequisites
must be satisfied:
      * Install an SNMP stack with the hp ProLiant Managment Extension built
        in.  RPMS are available from
        http://h18023.www1.hp.com/support/files/server/us/download/19125.html

  -- OR --

      * Install an SNMP stack with the standard dlmod Extension built in.
        This can be accomplished by building the SNMP stack from the source
        with the --with-dlmod option in the configuration step. Source is
        available from http://www.net-snmp.org/
I've got libsnmp-base, libsnmp9, snmp and snmpd installed so any and all advise at this stage would be truely wonderfull.
Logged
Castor
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #16 on: October 10, 2006, 04:19:34 pm »

Did you install tcl8.3? Did you reboot the server?
Logged
Patrick
Newbie
*
Offline Offline

Posts: 4


View Profile WWW
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #17 on: October 10, 2006, 04:42:35 pm »

Did you install tcl8.3? Did you reboot the server?

Just double checked and tcl is installed and  did reboot, but snmpd doesn't seem to come up, so I've got some searching to do for that one... thanks for the tip, I'll be back to report how things go (I'm off in 20 min so that's for tomorrow anyway).
Logged
Castor
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #18 on: October 10, 2006, 05:06:43 pm »

If the snmpd process doesn't run, take a look on syslog.
My snmpd prints a line into syslog when it starts:

Code:
snmpd[pid]: NET-SNMP version 5.1.2

Logged
Patrick
Newbie
*
Offline Offline

Posts: 4


View Profile WWW
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #19 on: October 12, 2006, 05:15:49 pm »

If the snmpd process doesn't run, take a look on syslog.
My snmpd prints a line into syslog when it starts:

Code:
snmpd[pid]: NET-SNMP version 5.1.2
Succes Cheesy

Thanks for that tip, found the problem pretty quick, reinstalled snmpd and now while booting HPasm parts seem to load...
I say seems because there's no way to check, executing something basis like 'hplog' retruns
Code:
-bash: /sbin/hplog: no such file or directory
I naturally checked and it seems to be there just fine, same goes for hpuid, hpadmcli, etc.
A search on this forum showed someone else reporting a similar error and blaming fakeroot. So I changed the script to not use fakeroot and reinstalled the resulting deb file, apparently this was not the cause though.

Also noticed the message that it cannot build the kernel module correctly, maybe this is the cause of all the problems?
Code:
cmhp: Unknown symbol inter_module_register
cmhp: please compile with -fno-common
« Last Edit: October 12, 2006, 06:55:50 pm by Patrick » Logged
HOK
Newbie
*
Offline Offline

Posts: 4


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #20 on: November 07, 2006, 05:12:59 pm »

Running hpasm 7.4.xx and cmanic on DL380G4 and DL360G4 without problems  on sarge for 6 months. Also scripts over nagios for check of temperature and works fine. But today i installed on DL360G4p with the resolution that it doesn' work correctly. All process fork only one times.

If i call hpasmcli only the welcome output came back and nothing more (like hpasmcli>). But i'm able to get information if i call hpasmcli -s "show ...".

Anyone same problems. Tommorow i will check one more time and look if i found some reason.

Greetz and thx for nice work.
HOK
« Last Edit: December 20, 2006, 08:47:24 pm by HOK » Logged
stoffell
Administrator
Sr. Member
*****
Offline Offline

Posts: 77

Carpe Diem


View Profile WWW
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #21 on: November 14, 2006, 08:05:44 pm »

@HOK ; you could try the v0.0.2 version of the scripts, but the only thing different is the version of the agents they use.

cheers
Logged
HOK
Newbie
*
Offline Offline

Posts: 4


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #22 on: December 20, 2006, 08:45:16 pm »

Hi folks!

Sorry for late reply but i were overseas for a long time and then on holidays. Tomorrow i will try to install the new hpasm with 0.2 script on G4p.

Greetz
HOK
Logged
HOK
Newbie
*
Offline Offline

Posts: 4


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #23 on: December 20, 2006, 09:17:45 pm »

Because of the reason that in Austria is always the same s**t on TV i try now.

The reason was, that the script doesn't work correctly on this system.

In /etc/init.d/hpasm line 9 wasn't comment out.

Code:
#!/bin/bash

# Copyright 2002 hp Information Technologies Group, L.P.
#
# See "man chkconfig" for information on next two lines (Red Hat only)
# chkconfig: 2345 91 1
# description: HP Advanced System Management Drivers and Agents for Linux
#
. /etc/init.d/functions

Once more the file /var/lock/subsys/hpasm was in  /var/lock/hpasm

To comment out the line in /etc/init.d/hpasm and create the file in /var/lock/subsys/hpasm solved the problem.

Greetz
HOK
Logged
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP System Management  |  HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support « previous next »
Pages: 1 [2] Print 
Jump to:  
Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media
Joomla Bridge by JoomlaHacks.com

Apollo design by Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.045 seconds with 21 queries.
 
Top! Top!