Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1272

The program doesn't check the RANGER_PID_DIR_PATH variables corresponding to the path in ranger-admin-services.sh file. The "echo $VALUE_OF_PID > ${pidf}" failed when the path doesn't exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • admin
    • Patch

    Description

      The following error occurred when the "ranger-admin start" command was run.
      Starting Apache Ranger Admin Service
      /usr/bin/ranger-admin: line 73: /var/run/ranger/rangeradmin.pid: No such file or directory
      chown: cannot access '/var/run/ranger/rangeradmin.pid': No such file or directory
      chmod: cannot access '/var/run/ranger/rangeradmin.pid': No such file or directory
      cat: /var/run/ranger/rangeradmin.pid: No such file or directory
      Apache Ranger Admin Service with pid has started.

      The program doesn't check the RANGER_PID_DIR_PATH variables corresponding to the path in ranger-admin-services.sh file. The "echo $VALUE_OF_PID > ${pidf}" failed when the path doesn't exist.

      Reproducible Steps in ubuntu 16.04 system´╝Ü
      1. Configure install.properties. Using mysql database to save audit information.
      2. Using 'sudo ./setup.sh' command to install ranger-admin under program directory.
      3. Using 'sudo ranger-admin start' command to start security admin when the second step return success.

      Attachments

        Activity

          People

            zhangqiang2 Qiang Zhang
            zhangqiang2 Qiang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: