Mouhe
Contributor
Contributor

Error 503 Service Unavailable and SQL Connexion Error

Hi Everybody !

I know that we have many threads on the error 503 for the vCenter but I can not find a solution for my issue.

When I start the vCenter, I have the classic error "503 Service Unavailable...\wmware-vpxd-webserver-pipe)"

When I run the command "service-control --start --all", but all services do not start.

In logs, I have :

2019-01-15T15:24:31.068+01:00 [main  ERROR com.vmware.cis.core.kv.impl.Provider.VCDBProviderFactory  opId=] SQL Error:

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

    at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)

    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)

    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)

    at com.vmware.cis.core.kv.impl.Provider.VCDBProviderFactory.getConnection(VCDBProviderFactory.java:120)

    at com.vmware.cis.core.kv.impl.Provider.VCDBProviderFactory.<init>(VCDBProviderFactory.java:83)

    at com.vmware.cis.core.kv.impl.VCDBKVManagerImpl.init(VCDBKVManagerImpl.java:72)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

  

Login and password in the "vcdb.properties" work well  when i want to login into the database.

The vCenter is on a windows server 2012.

Thanks for your help !

0 Kudos
1 Reply
Mouhe
Contributor
Contributor

UP

0 Kudos