--- Peter Palfrader <[EMAIL PROTECTED]> wrote: > On Mon, 14 May 2007, Bug Filler wrote: > > > When I do a > > > > # /etc/init.d/tor stop > > Stopping tor daemon: not running (there is no > /var/run/tor/tor.pid). > > > > So it seems that "/etc/init.d/tor start" failed to write tor.pid > because > > # ls -ld /var/run/tor/ > > drwxr-xr-x 2 root root 4096 Mar 13 19:07 /var/run/tor/ > > > > And tor is run as: > > 109 8649 1.2 1.1 11424 9184 ? S 11:31 0:01 > /usr/sbin/tor > > Which version is that, that's running? Can you reproduce it? (i.e. > if > you kill it, and start it, is there still no pid file? What does > "getent passwd | grep 109" say? What did you upgrade from? >
Package: tor State: installed Automatically installed: no Version: 0.1.2.13-3 $ getent passwd |grep 109 debian-tor:x:109:109::/var/lib/tor:/bin/bash Since I changed the owner of /var/run/tor to 109:109, the problem has gone. I've installed tor long time ago from Debian, like several years ago. I think postinst should check the ownership of /var/run/tor and make proper change to it if needed. Switch to Yahoo!7 Mail: Transfer all your contacts and emails from Hotmail and other providers to Yahoo!7 Mail. http://au.docs.yahoo.com/mail/trueswitch_info.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]