VMware Cloud Community
burvil
Enthusiast
Enthusiast

Problems removing license keys

I used the wrong method to enter license keys, and I want to remove them and enter them again in the licensing section of the Web Client. I am using the VCSA, and am at version 6, update 1.

I try going through the steps at http://kb.vmware.com/kb/2054008, and get an error when I try step 2:

vcsa-hostname:/opt/vmware/vpostgres/current/bin # ./psql -d VCDB -U vc

Password for user vc:

psql.bin: FATAL: password authentication failed for user "vc"

vcsa-hostname:/opt/vmware/vpostgres/current/bin # pwd

/opt/vmware/vpostgres/current/bin

I am typing in the value in the .cfg file:

vcsa-hostname:/opt/vmware/vpostgres/9.3/bin # grep -i pass /etc/vmware-vpx/embedded_db.cfg:

PGUSER_PASSWORD='value-is-removed'

I get the following when I try without a password:

vcsa-hostname:/opt/vmware/vpostgres/current/bin # ./psql -d VCDB

Password:

psql.bin: fe_sendauth: no password supplied

When I try the same thing and enter the password in PGUSER_PASSWORD, I get:

vcsa-hostname:/opt/vmware/vpostgres/current/bin # ./psql -d VCDB

Password:

psql.bin: FATAL:  password authentication failed for user "root"

Any thoughts on what I’m missing?

0 Kudos
1 Reply
suvrobhattachar
Enthusiast
Enthusiast

Have you tried to follow the steps mentioned in the below link -

VMware KB: Licensing ESXi 6.x and vCenter Server 6.x

0 Kudos