jervisfm / rebbr

A project to reproduce network performance results from Google BBR paper (Specifically Figure 8)
BSD 2-Clause "Simplified" License
11 stars 2 forks source link

Error while running run_all.sh #12

Closed panosc closed 5 years ago

panosc commented 5 years ago
panosc commented 5 years ago

Neglected to mention that I am using a qemu/kvm virtual machine (proxmox) configured with 2 cores and 4gb ram, running Ubuntu 16.04.5 64bit. Followed your instructions to the letter and even got the same errors on a second instance on a different host.

lukehsiao commented 5 years ago

Died on std::runtime_error: mm-delay: please run as non-root

Is there a way you can run without root?

panosc commented 5 years ago

It appears to be running now, thank you!

Replicated my steps:

On a fresh start upon executing run_all as the user I got this: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pyparsing.pyc' Consider using the --user option or check the permissions.

Then I switched to root and did run_all. This ran up to the point yielding the error message I send you previously. At this point I did not think that I should switch back to a plain user.

Following your suggestion and switching back to the user it continued to run ok.

So, running the script as root one time, must have written somewhere that my user had no access to write. Then I was able to execute the script as the plain user.