Problems starting tor service ....

William A. Mahaffey III wam at hiwaay.net
Fri Sep 26 16:34:33 UTC 2014


On 09/26/14 11:08, Scott Bennett wrote:
>       On Thu, 25 Sep 2014 09:16:52 -0500 "William A. Mahaffey III"
> <wam at hiwaay.net> 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 at 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 at 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 at kabini1, /etc, 9:11:05am] 362 %
>>
>> [root at 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 at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>> [root at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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.



More information about the freebsd-questions mailing list