Operating System - Linux
1752513 Members
5648 Online
108788 Solutions
New Discussion юеВ

Re: HP SIM on Linux Proliant 380 problem with installation

 
SOLVED
Go to solution
stillwaters
Occasional Contributor

HP SIM on Linux Proliant 380 problem with installation

Dear Experts

We are facing some issues with SIM installation on Redhat Linux AS Release 4. Below are the details of server etc.

Any help on the matter would be great!


Server Information: -

O.S.: -Red Hat Enterprise Linux AS release 4 (Nahant)

Kernel version: -

Linux GCPLINGGN3SPS04 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

Processor: - 3600 MHz

Desc: "Compaq Computer Corporation Smart Array 64xx"

HPSIM: - SIM 5.1

RAM-1GB

Unable to install HPSIM 5.1 version.

At the time of installion following error occurred: -


[root@GCPLINGGN3SPS04 bin]# service postgresql restart
Stopping postgresql service: [FAILED]
Initializing database: [FAILED]
Starting postgresql service: [FAILED]






[root@GCPLINGGN3SPS04 bin]# mxinitconfig -a
Checking Requisites (14):
1. Check Kernel Parameters ..OK
2. Server Property File ..OK
3. Server Authentication Keys ..OK
4. SSH Keys ..OK
5. Status Property File ..OK
6. Task Results Output Cleanup ..OK
7. Database Configuration ..OK
8. Database Content ..OK
9. Web Server ..OK
10. Setup Property File ..OK
11. JBoss Setup ..OK
12. Agent Configuration ..OK
13. Management Services ..OK
14. Initialization and Database Population ..OK
Requisite scan completed successfully.

Configuring Server Components (14):
1. Check Kernel Parameters ..Done
2. Server Property File ..Done
3. Server Authentication Keys ..Done
4. SSH Keys ..Done
5. Status Property File ..Done
6. Task Results Output Cleanup ..Done
7. Database Configuration ...Failed
Completed with error.

Details can be found in the log files at: /var/opt/mx/logs
Configuration failed to complete due to the following exception:
Connection to the repository server failed.
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: HP SIM on Linux Proliant 380 problem with installation

Shalom,

postgres failed due to one of the following possible causes(not complete).

1) File permission where the database is, root should not own the files.
2) Incompatbile kernel for the HP Sim version you are running.
3) unsupported version of postgres or postgres simply not installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Colin Topliss
Esteemed Contributor
Solution

Re: HP SIM on Linux Proliant 380 problem with installation

Aha. Welcome to my private nightmare...

1). How did you install this? Did you follow the installation guide (this covers using the 64bit version of postgres - SIM ships with 32 bit versions only, and won't work without using the workaround).
2). Even under 32bit O/S, their install uses /etc/issue to work out the O/S version! Not clever if you've put in your own /etc/issue!
3) Once you install using the workaround, you'll need to check your postgres configuration - by default mine didn't allow TCP connections.

Check postgresql.conf - it needs:
tcpip_socket = true

and I think you'll find that pg_hba.conf needs:
local insight_v1_0 mxadmin md5
host insight_v1_0 mxadmin 127.0.0.1 255.255.255.255 md5

The document I used for the workaround info for 64bit postgres was 418811-002 (HP Systems Insight Manager 5.1 Installation and Configuration Guide for Linux).

The extra postgres info is missing from the docs - I've flagged this with HP.

Regards

Colin.
stillwaters
Occasional Contributor

Re: HP SIM on Linux Proliant 380 problem with installation

Colin ,

I have gone through the document and still cant find the workaround ...:(

Is this the workaround you are talking about ?

a. Installing the 64 bit database if the Operating system installed is 64 bit (the OS is the 64 bit)

From the document
"Note: If you are installing the CMS on a supported 64-bit operating system, you must install the 64-bit version of PostgreSQL supplied with your operating system, even if you plan to use an Oracle database"

Is this the workaround ?



Gary L
Super Advisor

Re: HP SIM on Linux Proliant 380 problem with installation

Hi

I think, the problems cause by the OS version. HP SIM 5.1 support version include Rehhat ES or AS 3 update 7 or 4 update 3. your current version is AS 4, right?
You could choose low version of SIM, like 4.2 etc. or you need upgrade your OS version to As 4 update 3 or higher.
Colin Topliss
Esteemed Contributor

Re: HP SIM on Linux Proliant 380 problem with installation

Hi,

Sorry for the delay in replying - was at the HP conference in Berlin....

OK - from your output above, I can see that you are running 64bit. That means that the installation of SIM will fail if you try and do it the automated way (because the RPMS shipped with SIM5.1 are all 32 bit - and under SuSE that means that the libraries are not installed where you think they might be - I think thats the same for RH).

What I did was follow the instructions for installing the 64 bit Postgres RPMS supplied with your distribution (basically install the Postgres RPMS that came with your RH installation media). You want to get to a point where you can successfully start up postgres.

Now, the bit that is missing from the instructions is the modification to the Postgres config files that I included in the earlier post. You MUST add these, or else you will get the same connection error as you posted above.

I seem to recall that the mxinitconfig stops/starts postgres - but what I suggest you try is the following:

1) Remove the 32 bit postgres RPMS if you installed them.
2) Install the 64 bit postgres RPMS from your RH media.
3) Make sure Postgres starts successfully.
4) Shut down Postgres
5) Modify the Postgres config files as described.
6) Start Postgres to ensure it has no errors
7) Run your mxinitconfig

Then you should find that it all goes through OK.

Regards

Colin.
stillwaters
Occasional Contributor

Re: HP SIM on Linux Proliant 380 problem with installation

Thanks a ton Colin !