Due to the hardening done in systemd RHEL 7.7, the PID file created by Tomcat is not trusted by systemd anymore.
Stop Artifactory by running the command "systemctl stop artifactory.service".
* Ignore any errors that may arise, and allow it to run to disable the auto start by systemd.
Stop any running Artifactory Java process that may still be running. Find it using the command:
$ ps -ef | grep java | grep artifactory | grep tomcat
Rename the existing /etc/opt/jfrog/artifactory/default to the new artifactory.pid file location:
Start Artifactory by running the command:
$ systemctl start artifactory.service
In case that this use case persists it means that we still have a pointer to a different PID location. In this case, please check the artifactory.service that can be found under /etc/systemd/system/artifactory.service and make sure that the PID file is pointing to /var/run like the following:
Restart the Artifactory service to point to the new PID