From 04bd25af16a9ec5f943683529ea885f2a23f0970 Mon Sep 17 00:00:00 2001 From: raviteja7 Date: Mon, 7 Nov 2016 13:38:53 -0500 Subject: [PATCH 1/2] Update to GRR_PREFIX path When GRR is installed with pip in virtual environment, the path to default grr-server is present in /grr/debian/grr-server.default. I could not find the file /etc/default/grr-server. --- installfrompip.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installfrompip.adoc b/installfrompip.adoc index 548513c..6267487 100644 --- a/installfrompip.adoc +++ b/installfrompip.adoc @@ -97,7 +97,7 @@ pip install --editable grr/config/grr-response-server pip install --no-cache-dir -f https://storage.googleapis.com/releases.grr-response.com/index.html grr-response-templates pip install --editable grr/config/grr-response-test ---- -Then edit /etc/default/grr-server and set: +Then edit /grr/debian/grr-server.default and set: ---- GRR_PREFIX=/path/to/GRR_NEW From 1c7102fe23d4170683916374f451c823caed8d37 Mon Sep 17 00:00:00 2001 From: raviteja7 Date: Mon, 7 Nov 2016 13:59:04 -0500 Subject: [PATCH 2/2] Update troubleshooting.adoc --- troubleshooting.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/troubleshooting.adoc b/troubleshooting.adoc index 488e3ea..f7ad1c1 100644 --- a/troubleshooting.adoc +++ b/troubleshooting.adoc @@ -52,12 +52,12 @@ from grr.lib.aff4_objects import cronjobs cronjobs.ScheduleSystemCronFlows(token=data_store.default_token) ----------------------------------------------------------------------- -== Protobuf 2.5.0 == +== Protobuf 3.0.0 == -GRR only works with the Protobuf library v2.5.0 or newer. If your distribution +GRR only works with the Protobuf library v3.0.0. If your distribution comes with an older version, follow the instructions below: -Remove any version of protobuf that is older than 2.5.0. +Remove any version of protobuf that is older than 3.0.0. Note that this will also remove a couple of dependencies: @@ -72,12 +72,12 @@ system: sudo apt-get install build-essential uuid-dev zlib1g-dev python-dev -------------------------------------------------------------------- -Download protobuf version 2.5.0 or later from link:http://code.google.com/p/protobuf/[protobuf] +Download protobuf version 3.0.0 or later from link:http://code.google.com/p/protobuf/[protobuf] Extract the package: ------------------------------------------------------- -tar xfv protobuf-2.5.0.tar.gz -cd protobuf-2.5.0 +tar xfv protobuf-3.0.0.tar.gz +cd protobuf-3.0.0 ------------------------------------------------------- Build and install libprotobuf: