Retarting Tomcat 10.11

lehmanp00
Contributor III

I recently updated to 10.11 and now I cannot figure out how to restart Tomcat. I used to be able to just "sudo /etc/init.d/jamf.tomcat8 restart" that now returns a 0 and doesn't work. I tried a "sudo jamf-pro server restart" too. That says "successful" but actually didn't restart the service! For now I'm just rebooting.

Any ideas?

7 REPLIES 7

Hugonaut
Valued Contributor II

you can always unload & reload tomcat to stop & start as well

to stop tomcat

sudo launchctl unload /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist

to start it back up

sudo launchctl load /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist

heres a knowledgebase article - https://www.jamf.com/jamf-nation/articles/117/starting-and-stopping-tomcat

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

lehmanp00
Contributor III

Sorry should have said this was ubuntu. I have tried all the Linux commands in that KB.

sharriston
Contributor III

What about the jamf-pro cli

jamf-pro server restart

jtrant
Valued Contributor

Have you tried:

sudo service tomcat8 restart

What version of Tomcat is installed?

lehmanp00
Contributor III

After doing some more digging...If I do a /etc/init.d/jamf.tomcat8 status it returns a 'not running'. However the site is up.

lehmanp00
Contributor III

/usr/local/jss/tomcat/bin/version.sh returns

8.5.38.0

I have always used the jamfproinstaller.run files. Nothing fancy.

ICTMuttenz
Contributor

What happen if you restart ubuntu?