Maintenance

  • Home
  • Log in
  • « Extending a volume in linux
  • TEI Jenkins CI servers: new setup »

Restarting Tomcat on Pear

Posted by mholmes on 17 Oct 2012 in Servers, Documentation

EDIT: These instructions have been superceded. See this.

The Tomcat setup has recently changed with the move of stable apps to Grape, so this is an updated set of instructions. MDH and GN have rights to run the tomcat script; SA probably does too.

  • ssh mholmes@pear.hcmc.uvic.ca
  • cd /etc/init.d
  • sudo ./tomcat stop

At this point, tomcat will seem to have stopped, but it probably hasn't. Confirm by doing this:

  • ps aux | grep tomcat

If you see both tomcat running, you'll have to kill -9 tomcat. Since the process runs as hcmc, and you can't sudo-kill it, do this:

  • su hcmc
  • kill -9 [the process number]

Do ps aux again to check that the process is dead (you should not see tomcat running now). Assuming that worked, then

  • exit (to return to mholmes)
  • sudo ./tomcat start

Wait a couple of minutes, then check that tomcat is back up and that projects are working.

This entry was posted by Martin and filed under Servers, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Responsive CMS