----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56528/#review165091 -----------------------------------------------------------
Ship it! Ship It! - Colm O hEigeartaigh On Feb. 10, 2017, 4:23 a.m., Qiang Zhang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56528/ > ----------------------------------------------------------- > > (Updated Feb. 10, 2017, 4:23 a.m.) > > > Review request for ranger, Alok Lal, Don Bosco Durai, Colm O hEigeartaigh, > Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy. > > > Bugs: RANGER-1372 > https://issues.apache.org/jira/browse/RANGER-1372 > > > Repository: ranger > > > Description > ------- > > There are following errors when I used 'sudo ranger-usersync start' command > to run the Ranger UserSync Process in ubuntu 16.04. > Starting Apache Ranger Usersync Service > /usr/bin/ranger-usersync: line 78: /var/run/ranger/usersync.pid: No such file > or directory > chown: cannot access '/var/run/ranger/usersync.pid': No such file or directory > chmod: cannot access '/var/run/ranger/usersync.pid': No such file or directory > cat: /var/run/ranger/usersync.pid: No such file or directory > Apache Ranger Usersync Service with pid has started. > > And the following error would also occur when I run 'sudo ranger-usersync > stop' command. > Apache Ranger Usersync Service not running > > In fact the process was running. > > The cause of the error is as follows: > /var/run/ranger directory does not exist when Apache Ranger Usersync Service > started. The 'echo $VALUE_OF_PID > $ > {pidf}' failed. This problem will cause the following errors: > 1. /usr/bin/ranger-usersync: line 78: /var/run/ranger/usersync.pid: No such > file or directory > 2. chown: cannot access '/var/run/ranger/usersync.pid': No such file or > directory > 3. chmod: cannot access '/var/run/ranger/usersync.pid': No such file or > directory > 4. cat: /var/run/ranger/usersync.pid: No such file or directory > 5. Apache Ranger Usersync Service with pid has started. The 'pid' has no > value. > 6. Apache Ranger Usersync Service not running. In fact the process was > running. > > > Diffs > ----- > > unixauthservice/scripts/ranger-usersync-services.sh 36eefcd > > Diff: https://reviews.apache.org/r/56528/diff/ > > > Testing > ------- > > > Thanks, > > Qiang Zhang > >
