Operational Defect Database

BugZero updated this defect 50 days ago.

VMware | 86502

Failed to register VRMS 8.5 after upgrading - Failed to start 'hms-vpostgres' service

Last update date:

3/30/2024

Affected products:

vSphere Replication

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

1. Unable to reconfigure VRMS post upgrade 2. hms-vpostgres service fails to start 2021-12-02 014.145 WARN com.mchange.v2.resourcepool.BasicResourcePool [C3P0PooledConnectionPoolManager[identityToken->z8kfltalxht64lh9k2oe|3301500b]-HelperThread-#17] (..log.slf4j.Slf4jMLog$Slf4jMLogger$WarnLogger) [] | com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@7b787436 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Cause

Due to incorrect hostname in the /etc/hosts file.

Resolution

NOTE: A normal snapshot must be taken before performing the steps mentioned here. SSH to the vSphere Replication appliance and run the commands below. 1. chmod 777 /var/log/vmware/vrmsdb/postgresql.log2. /opt/vmware/hms/bin/hms-configtool -cmd upgrade -configfile /opt/vmware/hms/conf/hms-configuration.xmlRunning this command will print the message below - 2021-12-02 14:22:53.679 INFO com.vmware.hms.configtool.App [main] (..hms.configtool.App) [] | HMS Configuration Tool 8.52021-12-02 14:22:53.711 INFO com.vmware.hms.configtool.App [main] (..hms.configtool.App) [] | FIPS mode: false2021-12-02 14:22:53.714 INFO com.vmware.hms.configtool.App [main] (..hms.configtool.App) [] | COMMAND: upgrade, CONFIG FILE: /opt/vmware/hms/conf/hms-configuration.xml2021-12-02 14:22:53.722 ERROR com.vmware.hms.configtool.App [main] (..hms.configtool.App) [] | Error while configuring HMS, exit code DATABASE_ERRORcom.vmware.hms.configtool.ConfigToolException: Unable to configure HMS: /tmp/hmsrpminfo (No such file or directory) at com.vmware.hms.configtool.App.setExitCode(App.java:353) ~[hms-configtool.jar:?] at com.vmware.hms.configtool.App.processXmlConfigFile(App.java:330) [hms-configtool.jar:?] at com.vmware.hms.configtool.App.go(App.java:242) [hms-configtool.jar:?] at com.vmware.hms.configtool.App.main(App.java:222) [hms-configtool.jar:?]Caused by: java.io.FileNotFoundException: /tmp/hmsrpminfo (No such file or directory) at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_301] at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:1.8.0_301] at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.8.0_301] at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:2387) ~[commons-io-2.10.0.jar:2.10.0] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:2505) ~[commons-io-2.10.0.jar:2.10.0] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:2488) ~[commons-io-2.10.0.jar:2.10.0] at com.vmware.hms.configtool.UpgradeProcessor.getPreviousHmsVersion(UpgradeProcessor.java:739) ~[hms-configtool.jar:?] at com.vmware.hms.configtool.UpgradeProcessor.upgrade(UpgradeProcessor.java:347) ~[hms-configtool.jar:?] at com.vmware.hms.configtool.Command$7.exec(Command.java:186) ~[hms-configtool.jar:?] at com.vmware.hms.configtool.App.processXmlConfigFile(App.java:314) ~[hms-configtool.jar:?] ... 2 moreUnable to configure HMS: /tmp/hmsrpminfo (No such file or directory)3. Reboot the appliance and reconfigure it.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...