Symptoms
When checking for the status of ubic tomcat, you find the service is not running.
$ ubic status ea-tomcat85
ea-tomcat85 not running
Description
When accessing the server, you find that you're unable to reboot the tomcat service via ubic. Check and verify that /var/run/ea-tomcat85 is present. Without this, ubic will be unable to restart the service.
# stat /var/run/ea-tomcat85
File: ‘/var/run/ea-tomcat85’
Size: 40 Blocks: 0 IO Block: 4096 directory
Device: 13h/19d Inode: 67668649 Links: 2
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 979/ tomcat)
Access: 2020-06-25 01:52:22.513359625 +0100
Modify: 2020-05-25 15:55:15.000000000 +0100
Change: 2020-06-25 01:37:59.669204532 +0100
Birth: -
Workaround
You can either manually create the file with touch and chmod, or use yum to reinstall the package.
# yum reinstall ea-tomcat85
# touch /var/run/ea-tomcat85; chmod 0770 /var/run/ea-tomcat85