Troubleshoot > Installation and initial configuration

Installation and initial configuration

Problem: HPE ITOC startup fails on the CentOS 6 server. The user cannot access the UI as the authentication/authorization service fails.

Symptom

A message similar to the following appears in the server.log file on service startup.

[ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgevfi9bmopcz4k66x0l|7ac02973,debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false,identityToken -> 1hgevfi9bmopcz4k66x0l|7ac02973, idleConnectionTestPeriod -> 0, initialPoolSize -> 20, jdbcUrl -> jdbc:postgresql://itoc158.qa.opsware.com:5432/itoc, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 250, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 20, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
...
Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Primary software component

CentOS

Possible cause

It reproduces intermittently only when service is started using a native service subsystem such as service itoc start, which also occurs automatically when performing an install as a root user.

Solution

Stop the HPE ITOC service, and restart the service using <install_dir>/scripts/itoc start.

Problem: When running HPE ITOC as a non-root user and the HPE ITOC install uses a JDK that was previously installed as root, you will see warning messages in the server.log file.

Symptom

There are many warning messages in <itoc_install_location>/log/server/server.log*, such as the following:

2015-05-11 12:48:18,826 WARNING [java.util.prefs] (Timer-2) Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.

Primary software component

JDK

Possible cause

The licensing component used by HPE ITOC is trying to access the preference store that triggers this warning. This has no functional effect.

Solution

This warning can be ignored. If the user running HPE ITOC has permissions on the JDK install, then no warning will occur.