[ https://issues.apache.org/jira/browse/RANGER-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh updated RANGER-1272: ---------------------------------------- Fix Version/s: 0.7.0 > 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. > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: RANGER-1272 > URL: https://issues.apache.org/jira/browse/RANGER-1272 > Project: Ranger > Issue Type: Bug > Components: admin > Reporter: Qiang Zhang > Assignee: Qiang Zhang > Labels: patch > Fix For: 0.7.0 > > Attachments: > 0001-RANGER-1272-The-program-does-not-check-the-RANGER_PI.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)