emorillo
Contributor
Contributor

My datastore ran out of space, the vcenter froze, I cleared space on the datastore, resumed the vcsa but it was unresponsive.

Restarted vcenter and got the "Waiting for vpxd to initialize failed".

What solved it was running these instructions I found here:

From: http://www.colabug.com/thread-1093735-1-1.html

To get over this, log on to the VCVA using SSH

   Run the command “ /usr/sbin/vpxd_odbcconfig ”

You see output similar to:

VMware vCenter Server Appliance ODBC Configuration

Choose a database to use with VMware vCenter Server

1) oracle

2) embedded

Enter 2 (should the DB be the embedded PostgresSQL

You see output similar to:

   Configuring ODBC for embedded

Operation was successful.

Database already populated with version VirtualCenter Database 5.5

Reinitialize database? (WARNING: WILL DELETE ALL RECORDS) [y(es)|N(O)]: OK, preserving the database. (select No to preserve the database)

Restart vCenter Server now to activate the database changes [y/N]:y

Successfully restarted vCenter Server

This should start the vpxd service

Here's my output:

Starting vmware-vpxd: success

Waiting for vpxd to initialize: ............................................................failed

vcsa:~ # /usr/sbin/vpxd_odbcconfig

WARNING - Use of this command is not supported unless you are doing this

with the consultation of VMware Technical Support or a VMware published

technical article.

VMware vCenter Server Appliance ODBC Configuration

Choose a database to use with VMware vCenter Server

1) oracle

2) embedded

#? 2

Configuring ODBC for embedded

Error: VPXD must be stopped to perform this operation.

Database  configuration has failed.

Would you like to try again or modify the settings manually?

[A]gain/[m]anually : m

vcsa:~ # service vmware-vpxd stop

Stopping tomcat: success

Stopping vmware-vpxd: success

Shutting down ldap-server..done

vcsa:~ # /usr/sbin/vpxd_odbcconfig

WARNING - Use of this command is not supported unless you are doing this

with the consultation of VMware Technical Support or a VMware published

technical article.

VMware vCenter Server Appliance ODBC Configuration

Choose a database to use with VMware vCenter Server

1) oracle

2) embedded

#? 2

Configuring ODBC for embedded

Operation was successful.

   Database already populated with version VirtualCenter Database 5.5

   Reinitialize database? (WARNING: WILL DELETE ALL RECORDS) [y(es)|N(O)]: n

   OK, preserving the database.

Restart vCenter Server now to activate the database changes [y/N]:y

Successfully restarted vCenter Server

vcsa:~ #

Success!!

Reply
0 Kudos