Troubleshooting installation and configuration

Contents

Testing Net Responsibility

After you install or update Net Responsibility (NR) or if you suspect a problem, you may want to test whether it is working properly. Here are a few ways to to do that.

Is the NR program running properly?

Since Net Responsibility is designed to run in the background, it is often useful to have a way to confirm whether it is running properly or not. Following is a guide to the best way to do this, using a script file we've developed for this purpose. It is best to wait for several minutes after your system starts or NR is started before running this test.

Step 1: Download the tarball (archived file) from this link and extract/unpack it to the directory/folder of your choice. The contents should include the script file check-nr.sh and a README file with instructions on how to use it.

Step 2: Next you'll need to use the cd command in a terminal window to go to the folder where you put the script file. So, if I put it in /my/big/folder I would enter the following command:

cd /my/big/folder

Step 3: Once you're in the folder where the script file is, then you want to run the script by entering the following command:

sudo ./check-nr.sh

(Note: sudo is the way Ubuntu gives a command root permission. If you are using a different system, you just need to know that the command ./check-nr needs to be run with root permission, however that is handled.)

If the above command runs successfully, and NR is running properly, then you should see this output:

Net Responsibility seems to be up and running

If NR is not running properly, then you should see this output:

Net Responsibility is NOT running!

Troubleshooting: It's possible that when you try to run the script, you'll get an error message like this:

sudo: ./check-nr: command not found

If this happens, it's likely that the script file doesn't have 'execute' permission, and so the system doesn't allow it to run. To give it 'execute' permission, you can run the following command:

chmod +x check-nr.sh

Then you can try the previous command again to see if it's working. If you get the error again in the future, you'll just need to run the above command again before running the script.

An alternative, but less reliable, test to see if NR is running properly can be done by running the following command in the terminal:

ps -ef|grep net-responsibility

If the only line of output you see contains grep, then NR is not running as it should. However, if you see an additional line that contains net-responsibility —daemon then it is probably running as it should. Note that it is best to wait for several minutes after your system starts or NR is started before running this test.

Is NR sending reports?

The following tests send emails to whatever email addresses you entered to receive reports (such as your accountability partners) when you registered on the website. So for testing purposes, you will want to first make sure that your own email is included in that section of the settings. Note that it may take some time for these emails to show up, and they may end up in the Spam/Junk/Trash folder of the email server, or be quarantined by a spam filtering system.

You can test NR's email delivery by running the following command in a terminal:

sudo net-responsibility -tr

If this command executes successfully and you are connected to the internet, then a test report (i.e. an email with a brief message, not a report of your internet activity) should be sent.

After doing a bit of internet browsing (so there is some activity to report), you can test NR's creation and sending of reports by running the following command in a terminal:

sudo net-responsibility -r

If this command executes successfully and you are connected to the internet, then a manual report (i.e. a report of your internet activity) should be sent.

If you think test emails/reports and/or manual (or automatic) reports are being sent but are not being received by the email recipients, see this guide for further troubleshooting ideas.

Configuration changes are not implemented

If you have made changes to your configuration settings online, but NR does not seem to have implemented them, see this guide to make sure you are using the right procedure for making these changes.

Further help

If you are having problems with installation and/or configuration that you are still not able to solve, visit our forum. You can browse through the various threads in the "Installation and Configuration" category to see if anyone else has encountered the same problem and if you can find any solutions there. If that still doesn't help, you can start a new topic describing your problem, and we will do our best to assist you in resolving it. Note that you will need to be logged in to post to the forum.