[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Can't start Tor under Debian

Hi all, 

Installed Tor 0.9.6 onto Debian testing and can't get Tor to run.

I followed the thread below as it had exactly the same problem as 
myself (can't start Tor) but it never came to a successful conclusion 
and it seems contradictory to uninformed me. Eg: /etc/init.d/tor (as 
root) is the proper way to start it.

Why create a user called debian-tor if root is supposed to start Tor 


root@storage:/etc/init.d# apt-get install tor
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  mixmaster mixminion anon-proxy
Recommended packages:
  privoxy socat
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 314 not upgraded.
Need to get 0B/680kB of archives.
After unpacking 1593kB of additional disk space will be used.
Selecting previously deselected package tor.
(Reading database ... 149528 files and directories currently 
Unpacking tor (from .../tor_0.0.9.6-0.woody.1_i386.deb) ...
Setting up tor ( ...
debian-tor uid check: ok
debian-tor homedir check: ok

root@storage:/etc/init.d# /etc/init.d/tor start
Starting tor daemon: tor...
Mar 29 17:46:09.921 [notice] tor_init(): Tor v0.0.9.6. This is 
experimental software. Do not rely on it for strong anonymity.
Mar 29 17:46:09.923 [warn] /var/lib/tor is not owned by this UID 
(113). You must fix this to proceed.
Mar 29 17:46:09.923 [err] options_act(): Couldn't access/create 
private data directory /var/lib/tor
Mar 29 17:46:09.923 [err] init_from_config(): Acting on config 
options left us in a broken state. Dying.

root@storage:/etc/init.d# ps auxw|grep tor

No process named tor is found (apart from the grep of course)

root@storage:/etc/init.d# cat /var/log/tor/log
cat: /var/log/tor/log: No such file or directory

root@storage:/etc/init.d# socksify lynx www.noreply.org

This connects but displays my IP address in the EHLO and that means 
Tor isn't running.

FYI - I have tested Tor on a Windows box here and it's fine.

Is there a wiki we can add this information to for Debian users ?