VCSA vmware-vpxd Service Won't Restart After Upgrading to 6.0 U2

You navigate to the VMware Web Client and you get this 503 Error:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x7fe4a805cc90] _serverNamespace = / _isRedirect = false _pipeName =/var/run/vmware/vpxd-webserver-pipe)

Cause: (SSL Certificates wouldn’t issue automatically after reboot for service vmware-vpxd

Compounded Problem: (Clearing logs under ~/.* **root**) – Specifically, clearing ~/.pgpass 

(Lesson Learned: NEVER EVER CLEAR FILES UNDER ~/. Except .bash_history on templates creation only!!!)

Fix: Kill all the services running vpxd

1. ps -ef | grep vpxd
2. kill ###
3. Re-add the ~/.pgpass file with the PostGreSQL password
4. vi /et c/vmware-vpx/embedded_db.cfg
5. Copy the password you see between PGUSER_PASSWORD=’password here
6. Put the password back in ~/.pgpass

localhost:5432:VCDB:postgres: password here
localhost:5432:postgres:postgres: password here
localhost:5432:VCDB:vc: password here

7. Check /etc/hosts and make sure config is there. hostname 

8. service vmware-vpxd status (make sure it’s not running)

9. service vmware-vpxd start

hostname:~ # service vmware-vpxd start
vmware-vpxd: VC SSL Certificate does not exist, it will be generated by vpxd
Waiting for the embedded database to start up: success
Executing pre-startup scripts...
vmware-vpxd: Starting vpxd by administrative request.
vmware-vpxd: Waiting for vpxd to start listening for requests on 8089
Waiting for vpxd to initialize: ...success
vmware-vpxd: vpxd has initialized.

hostname:~ # service vmware-vpxd status
vmware-vpxd is running

10. That's it!!!


Popular posts from this blog

How to Configure HP ILO 4 for Active Directory Login

How to Configure BGInfo for Windows Server 2012 R2

How to Fix /storage/core filesystem Out of Disk Space Error on VCSA 6.0U1