Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20384

systemctl is not working for zip installation on RHEL 7.7

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.14.0
    • Component/s: None

      Description

       "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

      4. ./installService.sh

      O/P:

      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

      o/p:

      Job for artifactory.service failed because the control process exited with error code. See "systemctl status artifactory.service" and "journalctl -xe" for details.

       Error: 

      Sep 19 12:48:44 kayal-test1-77 artifactoryManage.sh[19912]: ** ERROR: Artifactory Tomcat server did not start. Please check the logs

      Sep 19 12:48:44 kayal-test1-77 systemd[1]: artifactory.service: control process exited, code=exited status=1

      Sep 19 12:48:44 kayal-test1-77 systemd[1]: Failed to start Setup Systemd script for Artifactory in Tomcat Servlet Engine.

      – Subject: Unit artifactory.service has failed

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eldada Eldad Assis
                Reporter:
                swarnenduk Swarnendu Kayal
                Assigned QA:
                Konstantin Shenderov (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: