ERROR: cannot execute CREATE TABLE in a read-only transaction
Cannot execute create table in a read-only transaction. Caused by: org.springframework.beans.factory.beancreationexception: Error creating bean with name 'ssoserveradapter' defined in servletcontext resource [WEB-INF/tomcat-ls.xml]: Cannot create inner bean'######'
UTC ########.### # FATAL: could not connect to the primary server: could not connect to server: No route to host
Is the server running on host "#.#.#.#" and accepting
TCP/IP connections on port 5432?
UTC ########.### # root root LOG: could not send data to client: Broken pipe
Fail to update SSL certificates with errors similar to the following:
operation failed: Unable to update com.vmware.rbd extension thumbprint in VCDB
"An error occurred while invoking external command : 'Error while updating the certificate for VC extension com.vmware.vim.eam'"
7.x, 8.x
Generate a file-based backup. See Manually Back up vCenter Server by Using the vCenter Server Management Interface
Log into the appliance as root
.
Manually promote the database with the command:
sudo -u vpostgres /opt/vmware/vpostgres/current/bin/pg_ctl promote -D /storage/db/vpostgres
Restart all the services:
service-control --stop --all
service-control --start --all
If that fails to resolve the issue, move the following standby files:
cd /storage/db/vpostgres
mv standby.conf /tmp
mv standby.signal /tmp
Restart the vCenter Services:
service-control --stop --all
service-control --start --all