Skip to main content
12-Amethyst
June 22, 2018
Question

Tomcat service fail to auto start after reboot

  • June 22, 2018
  • 2 replies
  • 3791 views

I am testing the latest Thingworx8.3 Linux with Ubuntu18.0.4LTS and Java JDK 1.8.0.192 and Tomcat 8.5.23. And it works fine after installation using the steps of the installation guide. But after I reboot the machine, the tomcat servie would not start automatically. I need to use command 'sudo systemctl start tomcat8.5' to start the service.

Then I use command 'sudo systemctl enable tomcat8.5.service', I got the error below.

'update-rc.d: error: tomcat8.5 Default-Start contains no runlevels, aborting.'

Please advise how to make tomcat and Thingworx start automatically in linux system.

2 replies

5-Regular Member
June 25, 2018
zhuwenxi12-AmethystAuthor
12-Amethyst
June 27, 2018
Thanks for your reply. According to the installation manual step 32, I need to create a file tomcat8.5 into /etc/init.d. That cause the error. /etc/init.d is only for old Ubuntu system before 16.04. After I delete that file, it work fine.