Posted on 04-04-2019 05:24 AM
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?
Posted on 04-04-2019 05:28 AM
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
Posted on 04-04-2019 05:38 AM
Sorry should have said this was ubuntu. I have tried all the Linux commands in that KB.
Posted on 04-04-2019 06:05 AM
What about the jamf-pro cli
jamf-pro server restart
Posted on 04-04-2019 06:24 AM
Have you tried:
sudo service tomcat8 restart
What version of Tomcat is installed?
Posted on 04-04-2019 06:37 AM
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.
Posted on 04-04-2019 06:39 AM
/usr/local/jss/tomcat/bin/version.sh returns
8.5.38.0
I have always used the jamfproinstaller.run files. Nothing fancy.
Posted on 04-04-2019 02:02 PM
What happen if you restart ubuntu?