Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

VMWare VCD Does not start up, Cannot connect to database (local, Oracle Express)

$
0
0

My VCD server does not start up following an abrupt guest OS shutdown. The VCD is configured as a SUSE-based appliance, with an internal Oracle Express database.

Trying to restart the service manually, yields this error in cell.log (/opt/vmware/vcloud-director/logs/cell.log) :

     Error starting application: Error connecting to the database: jdbc:oracle:thin:@127.0.0.1:1521/xe

I can sign in at the admin console (IP:5480), but not the vcloud director UI.

 

Values from global.properties ( /opt/vmware/vcloud-director/etc/global.properties)

     database.jdbcUrl = jdbc:oracle:thin:@127.0.0.1:1521/xe

     database.username = vcloud

     database.password = <encrypted value>

     database.collation =

 

What has been tried so far :

     - Several restarts of the vmware-vcd service and of network service.

     - Verified (using netstat) that Oracle listener is running at port 1521 on the machine.

     - Restarted the Oracle database using /etc/init.d/oracle-xe restart

     - Ran /opt/vmware/vcloud-director/bin/.configure script. Provided database creds as vcloud/vcloud, vcloud/vmware, vcloud/VCloud.

 

Could not connect to database. Please reenter.

The following database types are supported:

        1. Oracle

        2. Microsoft SQL Server

Enter the database type [default=1]: 1

Enter the host (or IP address) for the database: 127.0.0.1 (also tried with actual host IP)

Enter the database port [default=1521]:

Using default value "1521" for port.

Enter the database service name [default=orcl]: xe

Enter the database username: vcloud

Enter the database password:

Connecting to the database: jdbc:oracle:thin:@127.0.0.1:1521/xe

Could not connect to database. Please reenter.

 

Any help with restoring the VCD would be very much appreciated.


Viewing all articles
Browse latest Browse all 7719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>