Operational Defect Database

BugZero updated this defect 57 days ago.

VMware | 87251

Failed to start VMware Postgres database server after upgrading vSphere Replication appliance

Last update date:

3/23/2024

Affected products:

vSphere Replication

Affected releases:

8.58.x

Fixed releases:

No fixed releases provided.

Description:

Symptoms

1. After upgrading vSphere Replication appliance, the vSphere Replication Management (VRM) service appears to be stopped in VAMI, and the /opt/vmware/hms/logs/hms-configtool.log file in the appliance contains java.net.ConnectException: Connection refused error messages. 2. Unable to reconfigure the replication after upgrade.3. When restarting the vSphere replication VM we can see this error while the VM is booting:Failed to start VMware Postgres database server

Cause

This issue is observed when the embedded DB schema upgrade fails because the vPostgreSQL service was not fully started.

Resolution

1. SSH to the VR appliance2. Login as admin and su as root 3. Run the command - chmod 777 /var/log/vmware/vrmsdb/postgresql.log4. Run this command to upgrade the DB Schema - /opt/vmware/hms/bin/hms-configtool -cmd upgrade -configfile /opt/vmware/hms/conf/hms-configuration.xml (Ignore the error)5. Reboot the appliance 6. Reconfigure the Appliance.

Related Information

VMware vSphere Replication 8.5 Release NoteThe vSphere Replication Management service does not start after the upgrade After you upgrade vSphere Replication, the vSphere Replication Management (VRM) service appears as stopped in the VAMI, and the /opt/vmware/hms/logs/hms-configtool.log file in the virtual appliance contains java.net.ConnectException: Connection refused error messages. This problem is observed if the upgrade procedure of the embedded DB schema fails because the vPostgreSQL service was not fully started. Workaround: In the virtual appliance console, log in as the root user.Run the following command: $ /opt/vmware/hms/bin/hms-configtool -cmd upgrade -configfile /opt/vmware/hms/conf/hms-configuration.xml The DB schema upgrade starts. Wait for the DB upgrade procedure to complete.In the vSphere Replication VAMI, navigate to the Configuration tab, and complete the SSO registration of the appliance.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...