From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 16:34:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A097377A for ; Fri, 26 Sep 2014 16:34:33 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69F83328 for ; Fri, 26 Sep 2014 16:34:33 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-125.adsl.hiwaay.net [216.180.76.125]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8QGYPCw029778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 26 Sep 2014 11:34:26 -0500 Message-ID: <54259708.2040806@hiwaay.net> Date: Fri, 26 Sep 2014 11:40:40 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: Problems starting tor service .... References: <201409261608.s8QG8QBQ004144@sdf.org> In-Reply-To: <201409261608.s8QG8QBQ004144@sdf.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 16:34:33 -0000 On 09/26/14 11:08, Scott Bennett wrote: > On Thu, 25 Sep 2014 09:16:52 -0500 "William A. Mahaffey III" > wrote: >> >> > Do you suppose you could stop posting so many blank lines all the time? It make mail easier to read for me, sorry :-/ ..... > >> I pkg-installed tor & privoxy yesterday, & just tried to manually start >> tor. I got the following: >> >> >> [root@kabini1, /etc, 9:10:13am] 360 % service tor start >> Starting tor. >> Sep 25 09:10:20.431 [notice] Tor v0.2.4.23 (git-598c61362f1b3d3e) >> running on FreeBSD with Libevent 2.0.21-stable and OpenSSL 0.9.8za-freebsd. >> Sep 25 09:10:20.432 [notice] Tor can't help you if you use it wrong! >> Learn how to be safe at https://www.torproject.org/download/download#warning >> Sep 25 09:10:20.432 [notice] Read configuration file >> "/usr/local/etc/tor/torrc". >> Sep 25 09:10:20.449 [notice] Opening Socks listener on 127.0.0.1:9050 >> Sep 25 09:10:20.449 [warn] Fixing permissions on directory /var/db/tor >> Sep 25 09:10:20.000 [warn] Couldn't open file for 'Log notice file >> /var/log/tor': Permission denied > Well, there's your clue. I was/am clear on that, I guess the real question is why the installer can't handle the task correctly itself .... privoxy (& other stuff I have installed) have managed to get that done. Install bug w/ that port/pkg ? > >> Sep 25 09:10:20.000 [notice] Closing partially-constructed Socks >> listener on 127.0.0.1:9050 >> Sep 25 09:10:20.000 [warn] Failed to parse/validate config: Failed to >> init Log options. See logs for details. >> Sep 25 09:10:20.000 [err] Reading config failed--see warnings above. > The suggestion above is also a good thing to do. > >> /usr/local/etc/rc.d/tor: WARNING: failed to start tor >> [root@kabini1, /etc, 9:10:20am] 361 % ll /var/ >> total 92 >> drwxr-xr-x 2 root wheel 512 Jul 10 18:48 account/ >> drwxr-xr-x 4 root wheel 512 Jul 10 18:48 at/ >> drwxr-x--- 4 root audit 512 Jul 10 18:48 audit/ >> drwxrwx--- 2 root authpf 512 Jul 10 18:48 authpf/ >> drwxr-x--- 2 root wheel 512 Sep 25 03:03 backups/ >> drwxr-xr-x 4 root wheel 512 Aug 5 08:47 cache/ >> drwxr-x--- 2 root wheel 512 Sep 19 10:08 crash/ >> drwxr-x--- 3 root wheel 512 Jul 10 18:48 cron/ >> drwxr-xr-x 16 root wheel 1024 Sep 25 09:03 db/ >> dr-xr-xr-x 2 root wheel 512 Jul 10 18:48 empty/ >> drwxrwxr-x 2 root games 512 Jul 10 18:48 games/ >> drwx------ 2 root wheel 512 Jul 10 18:48 heimdal/ >> drwxr-xr-x 11 root wheel 512 Sep 10 18:09 lib/ >> drwxr-xr-x 5 root wheel 1536 Sep 25 03:02 log/ > Should say, > > drwxr-x--- 2 _tor _tor 1024 Mar 5 2014 /var/log/tor/ > > although the size and date+timestamp will vary, of course. Then put > your own loginid into the _tor group, so you can check the notices > log without having to su to _tor or root. The log directory should > never be available to the public. > >> drwxrwxr-x 2 root mail 512 Sep 25 04:55 mail/ >> drwxr-xr-x 2 daemon wheel 512 Aug 2 06:07 msgs/ >> drwxr-xr-x 5 root wheel 512 Jul 10 18:48 named/ >> drwxr-xr-x 2 root wheel 512 Jul 10 18:48 preserve/ >> drwxr-xr-x 12 root wheel 1024 Sep 24 07:42 run/ >> drwxrwxr-x 2 root daemon 512 Aug 14 03:01 rwho/ >> drwxr-xr-x 10 root wheel 512 Aug 26 17:37 spool/ >> drwxrwxrwt 3 root wheel 512 Sep 25 08:50 tmp/ >> drwxr-xr-x 2 root wheel 512 Jul 10 18:50 yp/ >> [root@kabini1, /etc, 9:11:05am] 362 % >> >> [root@kabini1, /etc, 9:14:36am] 367 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu >> Jul 10 23:44:39 UTC 2014 >> root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> [root@kabini1, /etc, 9:14:40am] 368 % >> >> >> tor-0.2.4.23 .... any clues appreciated :-) .... >> > Regarding privoxy, a) it is no longer recommended for firefox > because firefox has finally fixed a security issue and can now be > configured for SOCKS use directly to a tor client, but you may want > it for wget(1) and other clients that use http{,s}_proxy, and b) once > you have privoxy working the way you want it, turn off its logging, > so it won't track everything you do and won't fill up /var. Thx for the tip on privoxy. > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at sdf.org *xor* bennett at freeshell.org * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.