Peter Palfrader wrote:
On Sun, 05 Aug 2007, Max Alekseyev wrote:

Please show me ls -la /var/log/tor
# ls -la /var/log/tor
total 8
drwxr-xr-x  2 root root 4096 Aug  1 23:08 .
drwxr-xr-x 15 root root 4096 Aug  5 10:13 ..

This is not how the debian package creates that directory.  If you
install the debian package it will chown that to the tor user.  I guess
you removed that directory at one point and created it incorrectly.


I did not create it.
It was created by the debian package!

Look:

maxbase:~# rm -r /var/log/tor
rm: cannot remove `/var/log/tor': No such file or directory
maxbase:~# apt-get install tor
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  mixmaster mixminion anon-proxy
Recommended packages:
  privoxy polipo socat
The following NEW packages will be installed:
  tor
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1001kB of archives.
After unpacking 2167kB of additional disk space will be used.
Selecting previously deselected package tor.
(Reading database ... 124320 files and directories currently installed.)
Unpacking tor (from .../tor_0.1.2.16-1_amd64.deb) ...
Setting up tor (0.1.2.16-1) ...
debian-tor uid check: ok
debian-tor homedir check: ok
Raising maximum number of filedescriptors (ulimit -n) to 8192.
Starting tor daemon: tor...
Aug 05 12:09:59.827 [notice] Tor v0.1.2.16. This is experimental software. Do 
not rely on it for strong anonymity.
Aug 05 12:09:59.831 [notice] Initialized libevent version 1.3b using method 
epoll. Good.
Aug 05 12:09:59.832 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 05 12:09:59.832 [warn] Couldn't open file for 'Log notice file 
/var/log/tor/log'
Aug 05 12:09:59.832 [notice] Closing partially-constructed listener Socks 
listener on 127.0.0.1:9050
Aug 05 12:09:59.832 [warn] Failed to parse/validate config: Failed to init Log 
options. See logs for details.
Aug 05 12:09:59.832 [err] Reading config failed--see warnings above.
invoke-rc.d: initscript tor, action "start" failed.
dpkg: error processing tor (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tor
E: Sub-process /usr/bin/dpkg returned an error code (1)
maxbase:~# ls -la /var/log/tor/
total 8
drwxr-xr-x  2 root root 4096 Aug  1 23:08 .
drwxr-xr-x 15 root root 4096 Aug  5 12:09 ..


Max


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to