Server Management - Systems Insight Manager
1753786 Members
7596 Online
108799 Solutions
New Discussion

Problems installing SIM on RHEL6 with hpsmdb

 
Ken Miller_3
Advisor

Problems installing SIM on RHEL6 with hpsmdb

Hi,

 

I'm following the installation instructions and when I get to 'mxinitconfig -l ' the process takes a LONG time on the Database step but succeeds reporting it unconfigured.  I can tell it's waiting on hpsmdb to start which it won't because an initdb hasn't yet occurred.

 

I then proceed to 'mxinitconfig -a' and it too pauses a LONG time on the Database Initialization and eventually reports Failed  and the logs just show waiting to start hpsmdb.  Output is below.  I discern that it must need to be initialized, so I run /etc/init.d/hpsmdb initdb and then re-run mxinitconfig -l & mxinitconfig -a .  It doesn't take as long and appears to be working, but in the end I get the same results.  It produces only the initconfig.log ending with 'Configuration failed to complete due to the following exception:
    Connection to the repository server failed'  and  PgSQL_Config.log which doesn't appear to have errors:

 

[root@lettermgt1 logs]# cat PgSQL_Config.log
Starting postgresql (hpsmdb)
Sat Nov  5 18:26:42 GMT 2011 - hpsmdb is started.

 

================ Run Postconfigure ===============
Sat Nov  5 18:26:42 GMT 2011 begin postconfigure hpsmdb
hpsmdb INIT script set by user.
Try to stop PostgreSQL (hpsmdb) first.
Stopping hpsmdb service: [  OK  ]
Try to start PostgreSQL (hpsmdb) for usage.
Starting hpsmdb service: [  OK  ]
Sat Nov  5 18:27:01 GMT 2011 - hpsmdb is started.

Sat Nov  5 18:27:01 GMT 2011 end postconfigure hpsmdb


================ Run Postconfigure ===============
Sat Nov  5 18:28:04 GMT 2011 begin postconfigure hpsmdb
hpsmdb INIT script set by user.
Try to stop PostgreSQL (hpsmdb) first.
Stopping hpsmdb service: [  OK  ]
Try to start PostgreSQL (hpsmdb) for usage.
Starting hpsmdb service: [  OK  ]
Sat Nov  5 18:28:23 GMT 2011 - hpsmdb is started.

Sat Nov  5 18:28:23 GMT 2011 end postconfigure hpsmdb


================ Run Postinstall ================
Sat Nov  5 18:28:23 GMT 2011 begin postinstall hpsmdb
Try to stop PostgreSQL first, maybe it's not started yet.
Stopping hpsmdb service: [  OK  ]
Try to start hpsmdb for configuration
Starting hpsmdb service: [  OK  ]
Sat Nov  5 18:28:45 GMT 2011 - hpsmdb is started.

Sat Nov  5 18:28:45 GMT 2011 end postinstall PgSQL
[root@lettermgt1 logs]#

 

So, any idea why this installation won't complete on RHEL6? 

 

Thanks in advance,

 

                     == k+ ==

 

Initial output of mxinitconfig following ./SIM_6.3_Z7550_00078.bin with no errors):

[root@lettermgt1 ~]# /opt/mx/bin/mxinitconfig -l
Listing current status of server components (15):
  1. Check Kernel Parameters ..OK
Status    : Unconfigured
  2. Node Security File ..OK
Status    : Configured
  3. Server Property File ..OK
Status    : Unconfigured
  4. Server Authentication Keys ..OK
Status    : Unconfigured
  5. SSH Keys ..OK
Status    : Unconfigured
  6. Status Property File ..OK
Status    : Unconfigured
  7. Task Results Output Cleanup ..OK
Status    : Unconfigured
  8. Database Configuration ..OK
Status    : Unconfigured
  9. Database Content ..OK
Status    : Unconfigured
  10. Web Server ..OK
Status    : Unconfigured
  11. Setup Property File ..OK
Status    : Unconfigured
  12. JBoss Setup ..OK
Status    : Unconfigured
  13. Agent Configuration ..OK
Status    : Unconfigured
  14. Management Services ..OK
Status    : Unconfigured
  15. Initialization and Database Population ..OK
Status    : Unconfigured
Completed all tasks successfully.

Details can be found in the log files at: /var/opt/mx/logs
[root@lettermgt1 ~]# /opt/mx/bin/mxinitconfig -a
Checking Requisites (15):
  1. Check Kernel Parameters ..OK
  2. Node Security File ..OK
  3. Server Property File ..OK
  4. Server Authentication Keys ..OK
  5. SSH Keys ..OK
  6. Status Property File ..OK
  7. Task Results Output Cleanup ..OK
  8. Database Configuration ..OK
  9. Database Content ..OK
  10. Web Server ..OK
  11. Setup Property File ..OK
  12. JBoss Setup ..OK
  13. Agent Configuration ..OK
  14. Management Services ..OK
  15. Initialization and Database Population ..OK
Requisite scan completed successfully.

Configuring Server Components (15):
  1. Check Kernel Parameters ..Done
  2. Node Security File ..Done
  3. Server Property File ..Done
  4. Server Authentication Keys ..Done
  5. SSH Keys ..Done
  6. Status Property File ..Done
  7. Task Results Output Cleanup ..Done
  8. 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:
    Cannot start database.
To diagnose PostgreSQL problems, please read PostgreSQL log file:
/var/log/pgsql or /var/log/messages
If the log file is empty or nonexisting, please see your PostgreSQL administrator.
[root@lettermgt1 ~]#

1 REPLY 1
Ken Miller_3
Advisor

Re: Problems installing SIM on RHEL6 with hpsmdb

Hi,

 

Actually figured it out myself.  Turns out I had a non-default location specified in /etc/sysconfig/hpsmdb/hpsmdb and that was not being honored until late in the game.  Removing this solved the problem.

 

Sorry for the noise.

 

Regards,

 

                == k+ ==