-
-
Notifications
You must be signed in to change notification settings - Fork 175
Debugging
Fabio (naif) Pietrosanti edited this page Jan 9, 2016
·
1 revision
If you have any problem with Tor2web that does not start up properly, please follow that small guidelines:
- Enable Debugging to Standard Output Edit tor2web configuration file
vim /etc/tor2web.conf
Add debugging to stdout
debugtostdout = True
debugmode = True
- Install strace on Linux Install strace for Linux in order to have further system call debugging (open files, permission denied, etc)
apt-get install strace
- Start Tor2web with debugging Then start the software from commandline as follow
strace -f -vvv -o strace-tor2web.out tor2web --pidfile /var/run/tor2web/t2w.pid --uid tor2web --gid tor2web --nodaemon --command=start
Now analyze the output of Tor2web to check if you can spot the problem and fix if, analyze the file strace-tor2web.out from the bottom to understand what the software was doing before being closed / not starting.
If you don't come up with a configuration or permission issue, please open a ticket and attach:
- Output of Tor2web
- Output of strace-tor2web.out
- The configuration file /etc/tor2web.conf
2011-2019, Hermes Center for Transparency and Digital Human Rights. All rights reserved.