"systemctl start artifactory.service" is not working for zip installation with Red Hat Enterprise Linux Server release 7.7. But the rpm installation of Artifactory 6.12.2 is working fine with Red Hat Enterprise Linux Server release 7.7.
The steps to reproduce the issue is as below:
Artifactory version: 6.12.2
1. unzip jfrog-artifactory-pro-6.12.2.zip
2. cd artifactory-pro-6.12.2/bin/
3. sudo su
Installing artifactory as a Unix service that will run as user artifactory
Installing artifactory with home /home/swarnenduk/artifactory/artifactory-pro-6.12.2
Creating user artifactory...already exists... DONE
Checking configuration link and files in /etc/opt/jfrog/artifactory...
Moving configuration dir /home/swarnenduk/artifactory/artifactory-pro-6.12.2/etc /home/swarnenduk/artifactory/artifactory-pro-6.12.2/etc.original...creating the link and updating dir... DONE
Creating environment file /etc/opt/jfrog/artifactory/default...creating... DONE
- INFO: Please edit the files in /etc/opt/jfrog/artifactory to set the correct environment
Especially /etc/opt/jfrog/artifactory/default that defines ARTIFACTORY_HOME, JAVA_HOME and JAVA_OPTIONS
Initializing artifactory.service service with systemctl... DONE
Setting file permissions... DONE
- SUCCESS ****************
Installation of Artifactory completed
Please check /etc/opt/jfrog/artifactory, /home/swarnenduk/artifactory/artifactory-pro-6.12.2/tomcat and /home/swarnenduk/artifactory/artifactory-pro-6.12.2 folders
You can activate artifactory with:
> systemctl start artifactory.service
5. systemctl start artifactory.service
Job for artifactory.service failed because the control process exited with error code. See "systemctl status artifactory.service" and "journalctl -xe" for details.
Sep 19 12:48:44 kayal-test1-77 artifactoryManage.sh: ** ERROR: Artifactory Tomcat server did not start. Please check the logs
Sep 19 12:48:44 kayal-test1-77 systemd: artifactory.service: control process exited, code=exited status=1
Sep 19 12:48:44 kayal-test1-77 systemd: Failed to start Setup Systemd script for Artifactory in Tomcat Servlet Engine.
– Subject: Unit artifactory.service has failed