Date: Sat, 27 Sep 2014 02:44:42 -0500 From: Scott Bennett <bennett@sdf.org> To: "William A. Mahaffey III" <wam@hiwaay.net> Cc: freebsd-questions@freebsd.org Subject: Re: Problems starting tor service .... Message-ID: <201409270744.s8R7igeR025220@sdf.org>
next in thread | raw e-mail | index | archive | help
On Fri, 26 Sep 2014 22:12:13 -0500 "William A. Mahaffey III" <wam@hiwaay.net> wrote: >> >[root@kabini1, /etc, 5:20:57pm] 404 % mkdir /var/log/tor >[root@kabini1, /etc, 10:07:29pm] 405 % touch /var/log/tor/notices.log >[root@kabini1, /etc, 10:07:29pm] 406 % chown -R _tor:_tor /var/log/tor >[root@kabini1, /etc, 10:07:31pm] 407 % >[root@kabini1, /etc, 10:07:32pm] 407 % >[root@kabini1, /etc, 10:07:32pm] 407 % service tor start >Starting tor. >Sep 26 22:07:40.245 [notice] Tor v0.2.4.23 (git-598c61362f1b3d3e) >running on FreeBSD with Libevent 2.0.21-stable and OpenSSL 0.9.8za-freebsd. >Sep 26 22:07:40.246 [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 26 22:07:40.246 [notice] Read configuration file >"/usr/local/etc/tor/torrc". >Sep 26 22:07:40.263 [notice] Opening Socks listener on 127.0.0.1:9050 >Sep 26 22:07:40.000 [warn] Couldn't open file for 'Log notice file >/var/log/tor': Is a directory >Sep 26 22:07:40.000 [notice] Closing partially-constructed Socks >listener on 127.0.0.1:9050 >Sep 26 22:07:40.000 [warn] Failed to parse/validate config: Failed to >init Log options. See logs for details. >Sep 26 22:07:40.000 [err] Reading config failed--see warnings above. >/usr/local/etc/rc.d/tor: WARNING: failed to start tor Have you looked at your torrc file yet? Maybe it *does* say to use a file by that name instead of a file in a directory of that name. As far as defaults go, I installed tor back around 0.1.1.16 or a bit earlier, so I really don't remember what they were then or whether any changes I've made to torrc since then changed that in particular. On my system, /var/log/tor is a directory, but I may have set it up that way myself years ago. Remember, too, to check any changes you make to torrc with "tor --validate-config" before trying to run tor with those changes. Please do read the tor man page carefully, too. 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 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409270744.s8R7igeR025220>