VMware Cloud Community
SteveCSchofield
Enthusiast
Enthusiast

Error during vRA 7.0 install. Note the bolded sections.

Downloading installer...
Execution time:00:03.581
Download succeeded.
Installing vCAC Server Custom Setup files on the disk

Executing:"C:\Users\vraserviceAccount\AppData\Local\Temp\VMware\vCAC\\vCAC-Server-Setup.exe" /s /w /V"/qn ADDLOCAL=Database INSTALLDIR=\"C:\Program Files (x86)\VMware\vCAC\\Server\" /Lvoicewarmup! \"C:\Program Files (x86)\VMware\vCAC\InstallLogs\Server-Setup.log""
vCAC Server Custom Setup Installation Succeeded, ExitCode:0

Execution time:00:20.155
Configuring vCAC IaaS core components:

- Database

Executing:"C:\Program Files (x86)\VMware\vCAC\Server\ConfigTool\\vCAC-Config.exe" /S "/P:C:\Users\user1\AppData\Local\Temp\VMware\vCAC\\ConfigToolProperties.vCAC-Server-Database-ConfigTool.xml" "/L:C:\Program Files (x86)\VMware\vCAC\InstallLogs\vCAC-Config.log"
vCAC-Server-Custom-Database-ConfigTool Installation Failed, ExitCode:5500

Error configuring vRealize Automation Server. For more information, refer to vCAC-Config.log after collecting the IaaS logs.
Execution time:00:03.029


Initialized configuration property for feature Database. Node read DATA_PROTECTED.
Initialized configuration property for feature Database. Node read DATABASE_DATA_PATH.
Initialized configuration property for feature Database. Node read DATABASE_LOG_PATH.
Initialized configuration property for feature Database. Node read WINDOWS_AUTHEN_DATABASE_INSTALL_FLAG.
Initialized configuration property for feature Database. Node read DATABASE_INSTALL_SQL_USER.
Initialized configuration property for feature Database. Node read DATABASE_INSTALL_SQL_USER_PASSWORD.
Initialized configuration property for feature Database. Node read PRECREATED_DATABASE_FLAG.
Initialized configuration property for feature Database. Node read CREATE_MSSQL_AZMAN_STORE_FLAG.
Initialized configuration property for feature Database. Node read DATABASE_USE_ENCRYPTION.

Info : 2016-01-14 03 21 51 133 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe "C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" /t:BuildDB /p:UsePreCreatedDatabase="False" /p:DBServer="SQL1.example.com";DBName="vra" /p:DBUser=""  /p:DBPassword=****** Info : 2016-01-14 03 21 51 180 PM :Microsoft (R) Build Engine version 4.0.30319.33440 Info : 2016-01-14 03 21 51 196 PM :[Microsoft .NET Framework, version 4.0.30319.34014] Info : 2016-01-14 03 21 51 196 PM :Copyright (C) Microsoft Corporation. All rights reserved.
Info : 2016-01-14 03 21 51 196 PM :Build started 1/14/2016 3:21:51 PM.
Info : 2016-01-14 03 21 51 227 PM :Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" on node 1 (BuildDB target(s)).
Info : 2016-01-14 03 21 51 227 PM :BuildDB:
Info : 2016-01-14 03 21 51 243 PM :  ##BuildDB Creating and populating database Info : 2016-01-14 03 21 51 243 PM :  sqlcmd -S db1.example.com  -i CreateDatabase.sql -v DBName="vra" DBDir="\." LogDir="\." -b Info : 2016-01-14 03 21 53 302 PM :  Creating Database 'vra'.
Info : 2016-01-14 03 21 53 302 PM :  Using default SQL database data and log directory Info : 2016-01-14 03 21 53 311 PM :  Setting database compatibility level to SQL 2008.
Info : 2016-01-14 03 21 53 311 PM :  Disabling full text search.
Info : 2016-01-14 03 21 53 311 PM :  Setting database settings.
Info : 2016-01-14 03 21 53 483 PM :  Executed CreateDatabase.sql.
Info : 2016-01-14 03 21 53 498 PM :  sqlcmd -S SQL1.example.com  -d "vra" -i VMPSOpsUser.sql -v ServiceUser="Domain\User" UseWindowsAuthentication="True"
Info : 2016-01-14 03 21 53 687 PM :  Executed VMPSOpsUser.sql.
Info : 2016-01-14 03 21 53 703 PM :Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" (1) is building "C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (2) on node 1 (RunLiquibase target(s)).
Info : 2016-01-14 03 21 53 719 PM :RunLiquibase:
Info : 2016-01-14 03 21 53 719 PM :  "\bin\java.exe"  -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://SQL1.example.com/"vra";ssl=request releaseLocks Info : 2016-01-14 03 21 53 719 PM : The system cannot find the path specified.
Info : 2016-01-14 03 21 53 734 PM :C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml(28,5): error MSB3073: The command ""\bin\java.exe"  -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://SQL1.example.com/"vra";ssl=request releaseLocks" exited with code 3.
Info : 2016-01-14 03 21 53 734 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (RunLiquibase target(s)) -- FAILED.
Info : 2016-01-14 03 21 53 734 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" (BuildDB target(s)) -- FAILED.
Info : 2016-01-14 03 21 53 750 PM :Build FAILED.
Info : 2016-01-14 03 21 53 750 PM :"C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" (BuildDB target) (1) -> Info : 2016-01-14 03 21 53 750 PM :"C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (RunLiquibase target) (2) -> Info : 2016-01-14 03 21 53 750 PM :(RunLiquibase target) -> Info : 2016-01-14 03 21 53 766 PM :  C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml(28,5): error MSB3073: The command ""\bin\java.exe"  -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://SQL1.example.com/"vra";ssl=request releaseLocks" exited with code 3.
Info : 2016-01-14 03 21 53 766 PM :    0 Warning(s)
Info : 2016-01-14 03 21 53 766 PM :    1 Error(s)
Info : 2016-01-14 03 21 53 781 PM :Time Elapsed 00:00:02.53

Reply
0 Kudos
2 Replies
GrantOrchardVMw
Commander
Commander

Thanks for posting that here Steve. First place I would look is at the service account that you've used for the Management Agent. My first attempts at installation used a "standard user" which allowed the service to start and report back to the appliance for the installation, but of course didn't have appropriate permissions to execute any commands. I hadn't realised (although it is sensible) that the agent was initiating the commands in the context of the service account used by the agent, and not using the creds that are provided in the wizard.

Hope that helps!

Grant

Grant http://grantorchard.com
Reply
0 Kudos
AScera
Enthusiast
Enthusiast

Hello Steve,

Info : [UTC:2019-02-05 15:39:42 Local:2019-02-05 10:39:42] :  The system cannot find the path specified.

Info : [UTC:2019-02-05 15:39:42 Local:2019-02-05 10:39:42] :C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml(28,5): error MSB3073: The command ""C:\Program Files\Java\jre1.8.0_202\bin\bin\java.exe"  -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://SQLSERVER.local/"vRADB";ssl=request releaseLocks" exited with code 3.


Basically the problem is in the JAVA_HOME environment variable, If we look closely at the error, the installer looks for Java Binaries in a path that does not exist (in my case).

     1.    Check %JAVA_HOME%\bin\java.exe is available. (in my case it was not available). In the Windows Explorer type %JAVA_HOME%\binpastedImage_2.png

     2.    Check the environment variables. (I had created it after installing JRE, apparently bad) pastedImage_3.png

      3.    We edit the JAVA_HOME environment variable with the value C:\Program Files\Java\jre1.8.0_202  without Backslash (\) (the correct directory depends on the JRE version that you install, in               my case I use the JRE-8u202)

pastedImage_28.png

4.    Verify again from the Windows Explorer
 pastedImage_34.png
5.    And retry.

I hope I've helped. Best Regards. RA.

Reply
0 Kudos