Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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
Hi @MK_9706696.
Are you running the installer as Administrator?
What version of Java is installed?
Regards.
--Sharon
Yes I am running it as administrator.
Java version I am using is 1.8.0_271.
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
Also, provide these details :
-Arshad
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.
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