The Management Homepage doesn't make any sense without the Agents, so please follow the Agents Howto first.
http://debian.catsanddogs.com/forum/index.php/topic,4.0.html
install gdbm:
Code:
apt-get install libgdbmg1 libexpat1 iproute
Then download the hpsmh package:
Code:
wget ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpsmh-2.0.0-103.linux.i386.rpm
2.) Installation
Convert the rpm via alien to a tar archive.
i created a directory /usr/src/hpagents and copied the rpm there.
Code:
dcfax02:/# cd /usr/src/hpagents/
dcfax02:/usr/src/hpagents# ls
hpsmh-2.0.0-103.linux.i386.rpm
dcfax02:/usr/src/hpagents#alien -t -c hpsmh-2.0.0-103.linux.i386.rpm
hpsmh-2.0.0.tgz generated
dcfax02:/usr/src/hpagents#tar -xzf hpsmh-2.0.0.tgz
dcfax02:/usr/src/hpagents#
dcfax02:/usr/src/hpagents# ls
hpsmh-2.0.0-103.linux.i386.rpm
dcfax02:/usr/src/hpagents#alien -t -c hpsmh-2.0.0-103.linux.i386.rpm
hpsmh-2.0.0.tgz generated
dcfax02:/usr/src/hpagents#tar -xzf hpsmh-2.0.0.tgz
dcfax02:/usr/src/hpagents#
we need to fool the script a bit.
create the file /etc/UnitedLinux-release
write 1.0 in there.
first we check out the predoinstall.sh.
goto line 4 and change it into:
Code:
osval="UNITED 1.0"
goto line 186 change it to:Code:
if [ ! -f /usr/lib/libz.so.1 ]; then
goto line 228 and change it to:Code:
/usr/sbin/useradd -u 79 -g 79 -s /sbin/nologin -M -d /opt/hp/hpsmh hpsmh > /dev/null 2>&1
now execute predoinst.sh
your output should look like this:
Code:
Detected United Linux 1.0/SuSE SLES8/SuSE SLSS8
The db3 package or binaries are missing!
Please install the compat-2002 RPM package.
Required Packages are missing!
The db3 package or binaries are missing!
Please install the compat-2002 RPM package.
Required Packages are missing!
were missing the /usr/lib/libdb-3.3.so here.
Code:
ln -s /usr/lib/libdb3.so.3.0.2 /usr/lib/libdb-3.3.so
this should do it.execute it again:
Code:
Detected United Linux 1.0/SuSE SLES8/SuSE SLSS8
Creating hpsmh user and group...
now its fine.Creating hpsmh user and group...
before we can copy the files we need some modifications:
open file opt/hp/support/hpsmhd.united1
comment out line 119,120,124,128,170,177,182,201.
change line 161 from:
Code:
startproc -t5 $START_BIN
to:Code:
$START_BIN
lets start copy the files:
Code:
dclx01:/usr/src/hp_agents/hpsmh# cp opt/hp/* /opt/hp/ -R
cp usr/local/hp /usr/local/ -R
cp usr/local/hp /usr/local/ -R
somehow we need to fix the permissions, theres a fixperms script that will be installed later into /etc/init.d/fixperms, but it seems not working.
Code:
chown hpsmh:hpsmh /opt/hp/hpsmh/data/htdocs -R
chown hpsmh:hpsmh /opt/hp/hpsmh/data/isdocs -R
chown root:hpsmh /opt/hp/hpsmh/data/webapp-data/webagent/csginkgo
should do it.chown hpsmh:hpsmh /opt/hp/hpsmh/data/isdocs -R
chown root:hpsmh /opt/hp/hpsmh/data/webapp-data/webagent/csginkgo
now we can execute the doinst.sh:
Code:
dclx01:/usr/src/hp_agents/hpsmh# install/doinst.sh
**********************************************************
* System Management Homepage installed successfully with *
* default configuration values. To change the default *
* configuration values, type the following command at *
* the root prompt: *
* *
* perl /usr/local/hp/hpSMHSetup.pl *
* *
**********************************************************
/opt/hp/support/cs-final.sh: line 186: chkconfig: command not found
Shutting down hpsmhdStarting hpsmhd ]
...
**********************************************************
* System Management Homepage installed successfully with *
* default configuration values. To change the default *
* configuration values, type the following command at *
* the root prompt: *
* *
* perl /usr/local/hp/hpSMHSetup.pl *
* *
**********************************************************
/opt/hp/support/cs-final.sh: line 186: chkconfig: command not found
Shutting down hpsmhdStarting hpsmhd ]
...
that my output the missing chkconfig from the cs-final script aint important, ignore it.
if everything went right you should be able to point your browser on the loginpage:
http://SERVERIP:2301
SO FAR SO GOOD!
you should be able to login and see a list of your devices.
i played a bit around and everything seems working.
Please report me any failures.
Forum 













Author



Logged








