cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Error while installing ThingWorxFoundationH2Trial-9.0.0-x64.exe in windows

MK_9706696
4-Participant

Error while installing ThingWorxFoundationH2Trial-9.0.0-x64.exe in windows

I tired installing the exe but it is throwing the following error :

 

ThingWorx Foundation Trial for H2 Installation in Progress...
Executing C:\opscode\chef\bin\chef-client
Error running C:\opscode\chef\bin\chef-client -z --config "D:/ThingWorx/Thingworxinstall\installer\foundation\knife.rb" -j "D:/ThingWorx/Thingworxinstall\installer\foundation.json" -L "D:/ThingWorx/Thingworxinstall\installer\logs\foundation-20201109174515.log": Program ended with an error exit code
[17:45:35] ThingWorx Foundation Trial for H2: rc=1
[17:45:35] foundation Installation Failed
[17:45:35] Step install via chef script failed :: 1
[17:45:35] Abort Foundation component
[17:45:36] - CCIF Services functions: stop ThingWorx-Foundation

6 REPLIES 6
slangley
23-Emerald II
(To:MK_9706696)

Hi @MK_9706696.

 

Are you running the installer as Administrator?

What version of Java is installed?

 

Regards.

 

--Sharon

MK_9706696
4-Participant
(To:slangley)

Yes I am running it as administrator.

Java version I am using is 1.8.0_271.

slangley
23-Emerald II
(To:MK_9706696)

Hi @MK_9706696.

 

I took another look at the log.  It looks like you have multiple versions of java installed:

 

[18:06:34] - Valid Java executable path: C:/Program Files/Java/jdk1.8.0_271/jre/bin/java.exe...

[18:06:34] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK18~1.0_2\jre...
 

You may need to remove the older versions or update the JAVA_HOME environment variable to indicate the path for the 1.8.0_271 version.  Also, if the Chef client is still installed, you may need to uninstall it before re-running the installer.

 

Regards.

 

--Sharon

Arshad
17-Peridot
(To:slangley)

Also, provide these details :

  • Is this a fresh Installation on a new Instance or a reinstall of ThingWorx after uninstalling previous one.
  • Operating System and version
  • Database version

 

-Arshad

MK_9706696
4-Participant
(To:slangley)

Hi,

I checked for the multiple java version and there was only single java version. I removed chef client and again tried to install ThingWorx but the same error is occurring. Attaching some more logs and screenshots that may help.

slangley
23-Emerald II
(To:slangley)

Hi @MK_9706696.

 

In ThingWorxFoundationH2Trial_install (3).log, I'm still seeing this so please check the paths you see indicated in the log entries:

 

[11:11:29] - Valid Java executable path: C:/Program Files/Java/jdk1.8.0_271/jre/bin/java.exe...

[11:11:29] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK18~1.0_2\jre...

 

In foundation-20201112111328.log, the error is this:

 

2020-11-12T10:13:51+05:30] FATAL: SystemCallError: The RPC server is unavailable. - OpenEventLog

 

From googling this error, it sounds like the Windows Event Log service is not running on your system.  Can you please validate?

 

Also, what version of the o/s are you running?  Is it 64-bit?

 

Regards.

 

--Sharon

 

 

Top Tags