Symptoms:
ERROR
Operation Failed
A general system error occurred: Failed to register VRMS.
Operation ID: ########-####-####-####-########33b3
4/6/23, 11:36:55 AM -0400
/var/log/vmware/dr/drconfig.log -
2023-04-06T15:36:37.765Z info drconfig[03266] [SRM@6876 sub=DrConfigConfigurationManager opID=########-####-####-####-########45a8-isReconfigureRequired] ReadVrmsCurrentConfig: Reading VRMS Configuration.
2023-04-06T15:36:37.765Z verbose drconfig[03266] [SRM@6876 sub=Default opID=########-####-####-####-########45a8-isReconfigureRequired] Loading configuration /opt/vmware/hms/conf/hms-configuration.xml
2023-04-06T15:36:55.392Z error drconfig[03265] [SRM@6876 sub=ConfigureVrmsOp opID=########-####-####-####-########d3d5-configure:b637] command:
--> /usr/bin/python /opt/vmware/share/htdocs/service/hms/cgi/hms-dr.py --cmd saveembeddedconf --ls https://vcenter.production.net:443/lookupservice/sdk --lsthumbprint ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:83:C9 --ssoadmin [email protected] --vcip vcenter.production.net --vcport 80 --vcthumbprint ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:83:C9 --servername vcenter --hmshost vcenter.production.com --hmsport 8043 --self-moid vm-4005 --adminmail [email protected] --secmail [email protected] --strict-certs 1
--> stdout:
--> {"error": "Bad exit code: 1"}
-->
--> stderr:
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> psql.bin: FATAL: password authentication failed for user "vrmsdb"
--> Failed to start 'hms-vpostgres' service after 60 attempts! Aborting...
-->
--> Error: value not found
-->
--> Traceback (most recent call last):
--> File "/opt/vmware/share/htdocs/service/hms/cgi/hms-dr.py", line 55, in main
--> cmd.validate()
--> File "/opt/vmware/share/htdocs/service/hms/cgi/commands.py", line 706, in validate
--> embdb.check_schema()
--> File "/opt/vmware/share/htdocs/service/hms/cgi/embdb.py", line 76, in check_schema
--> commands.execute([__TOOL__, '--check', '-y'])
--> File "/opt/vmware/share/htdocs/service/hms/cgi/commands.py", line 325, in execute
--> raise Exception('Bad exit code: %d' % proc.returncode)
--> Exception: Bad exit code: 1
-->
2023-04-06T15:36:55.392Z info drconfig[03265] [SRM@6876 sub=ConfigureVrmsOp opID=########-####-####-####-########d3d5-configure:b637] Exiting ConfigureVrms
2023-04-06T15:36:55.392Z error drconfig[03265] [SRM@6876 sub=ConfigureVrmsOp opID=########-####-####-####-########d3d5-configure:b637] Operation failed
--> (vmodl.fault.SystemError) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> reason = "Failed to register VRMS."
--> msg = ""
--> }
--> [context]zKq7AVECAAQAAFE5JgEMZHJjb25maWcAAE3cHGxpYnZtYWNvcmUuc28AAWa+DGRyLWNvbmZpZ3VyYXRvcgABvDsFASMGEAFFBxAByLQPAe1cDAAdaTEAcoUxAF65QgKHfwBsaWJwdGhyZWFkLnNvLjAAA+81D2xpYmMuc28uNgA=[/context]
--> [backtrace begin] product: VMware vCenter Site Recovery Manager, version: 8.5.0, build: build-19282257, tag: drconfig, cpu: x86_64, os: linux, buildType: release
--> backtrace[03] libvmacore.so[0x001CDC4D]
--> backtrace[04] dr-configurator[0x000CBE66]
--> backtrace[05] dr-configurator[0x00053BBC]
--> backtrace[06] dr-configurator[0x00100623]
--> backtrace[07] dr-configurator[0x00100745]
--> backtrace[08] dr-configurator[0x000FB4C8]
--> backtrace[09] dr-configurator[0x000C5CED]
--> backtrace[10] libvmacore.so[0x0031691D]
--> backtrace[11] libvmacore.so[0x00318572]
--> backtrace[12] libvmacore.so[0x0042B95E]
--> backtrace[13] libpthread.so.0[0x00007F87]
--> backtrace[14] libc.so.6[0x000F35EF]
--> [backtrace end]
2023-04-06T15:36:55.393Z info drconfig[03265] [SRM@6876 sub=ConfigureVrmsOp opID=########-####-####-####-########d3d5-configure:b637] Exiting Start
2023-04-06T15:36:55.393Z verbose drconfig[03266] [SRM@6876 sub=DrConfigConfigurationManager ctxID=e39894ce opID=########-####-####-####-########d3d5-configure:b637] OnError: Configuration task failed
--> (vmodl.fault.SystemError) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> reason = "Failed to register VRMS."
--> msg = ""
--> }
EMB_DB_PASSWORD shows 'unused' instead of a valid password.
EMB_DB_INSTALL_DIR='/opt/vmware/vpostgres/current'
#EMB_DB_TYPE='PostgreSQL'#EMB_DB_SERVER='127.0.0.1'
#EMB_DB_PORT='5432'
EMB_DB_INSTANCE='vrmsdb'
EMB_DB_USER='vrmsdb'
EMB_DB_PASSWORD='unused'
EMB_DB_STORAGE='/var/lib/vrmsdb'
EMB_DB_MAX_CONNECTIONS='150'
Redeploy vSphere Replication appliance