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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Installation on Ubuntu GNU/Linux 14.04.1 LTS

bobl
1-Newbie

Installation on Ubuntu GNU/Linux 14.04.1 LTS

Hi Guys,
I'm trying to install Thingworx on Ubuntu GNU/Linux 14.04.1 LTS but during start up I get the following errors[1] in "/ThingworxStorage/logs/ApplicationLog.log". Currently, I'm running tomcat with sudo to avoid permission problems.

Version from Tomcat Manager console:


Tomcat version:

Apache Tomcat/7.0.55


Java version:

1.7.0_67-b01


OS Version:

3.13.0-35-generic


OS Architecture

: amd64

JVM Vendor: Oracle Corporation

Regards,

[1] Log snippet:

2014-09-19 13:48:05.954-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 ========================================
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 OS: Linux
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 OS arch: amd64
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 OS version: 3.13.0-35-generic
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Total Processors: 4
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Default encoding: UTF-8
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 JAVA vendor: Oracle Corporation
2014-09-19 13:48:05.955-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 JAVA version: 1.7.0_67
2014-09-19 13:48:05.956-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 JAVA install location: /usr/lib/jvm/java-7-oracle/jre
2014-09-19 13:48:05.956-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 JVM Max Memory: 4551 (MB)
2014-09-19 13:48:05.956-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 ========================================
2014-09-19 13:48:05.956-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 WebApp starting...
2014-09-19 13:48:06.961-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Datastore database...ON
2014-09-19 13:48:07.000-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Datastore database...INITIALIZED
2014-09-19 13:48:07.066-0300 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Managers...INITIALIZED
2014-09-19 13:48:07.144-0300 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Collections...
2014-09-19 13:48:08.089-0300 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Scheduler Engine...
2014-09-19 13:48:08.090-0300 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Entities...
2014-09-19 13:48:08.091-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ModelTags...
2014-09-19 13:48:08.091-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing DataTags...
2014-09-19 13:48:08.091-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Groups...
2014-09-19 13:48:08.091-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Users...
2014-09-19 13:48:08.256-0300 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Unable To Initialize Entity System in Users: null
2014-09-19 13:48:08.382-0300 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Unable To Initialize Entity Administrator in Users: null
2014-09-19 13:48:08.490-0300 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Unable To Initialize Entity SuperUser in Users: null
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Organizations...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Logs...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing DataShapes...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ThingShapes...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ThingPackages...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ThingTemplates...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ApplicationKeys...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing LocalizationTables...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing StateDefinitions...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing StyleDefinitions...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Widgets...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Mashups...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Menus...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing MediaEntities...
2014-09-19 13:48:08.491-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Networks...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ExtensionPackages...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing DirectoryServices...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Resources...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing ScriptFunctionLibraries...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Subsystems...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: localhost-startStop-1 Initializing Things...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: localhost-startStop-1 Cleaning up legacy entities...
2014-09-19 13:48:08.492-0300 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: localhost-startStop-1 Checking default permissions...
2014-09-19 13:48:08.499-0300 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1
2014-09-19 13:48:08.500-0300 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 ***CRITICAL ERROR ON STARTUP: Unable to initialize and start system: null
2014-09-19 13:48:08.500-0300 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: localhost-startStop-1 Web Application STATE is being set to ERROR!

2 REPLIES 2
adam11
5-Regular Member
(To:bobl)

Hi Bob,

I've created a case in the PTC eSupport Portal for this issue. You can view it here: [https://www.ptc.com/appserver/cs/view/case.jsp?n=12173836 | https://www.ptc.com/appserver/cs/view/case.jsp?n=12173836].


Regards,

Adam



dwightwhe
1-Newbie
(To:bobl)

Hi Bob,

we have recently installed Thingworx 5.0 SP2 many times on fresh Ubuntu 14.04.1 VMs (VirtualBox, Parallels, EC2) and the following instructions now work flawlessly for us. I hope they help.

  https://gist.github.com/mmeisinger/fb68f0d7dd02709fd809


I'm not sure if your problem is associated with running Thingworx as root (sudo), in which case I don't have an answer.

Cheers!



Top Tags