1
I found a big problem with sharing management of tomcat server.
Eg: There are 2 Linux accounts (ua & ub) both in charge of start/stop certain tomcat server.
ua: Start tomcat server with generating a pid file.
ub: Try to stop the tomcat by shutdown.sh -force
, however it does not work since ub can not kill the process started by ua.
Instead of sharing single Linux account, is there a good way to deal with this situation?
Thank you very much! From your explanation, I get clue of why many service like mysql create a dedicated account when installation. – ShenLei – 2015-02-07T08:13:15.850
I think it can be improved further. Like
sudo service mysql restart
, there is no need to explicitly set uid, but mysql server is run as mysql account. How to achieve that? – ShenLei – 2015-02-07T08:49:45.647