From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 07:45:02 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 1634EAAD for ; Sat, 27 Sep 2014 07:45:02 +0000 (UTC) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "SDF.ORG" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EAC59B54 for ; Sat, 27 Sep 2014 07:45:01 +0000 (UTC) Received: from sdf.org (IDENT:bennett@sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.8/8.14.5) with ESMTP id s8R7ihmk014476 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Sat, 27 Sep 2014 07:44:43 GMT Received: (from bennett@localhost) by sdf.org (8.14.8/8.12.8/Submit) id s8R7igeR025220; Sat, 27 Sep 2014 02:44:42 -0500 (CDT) From: Scott Bennett Message-Id: <201409270744.s8R7igeR025220@sdf.org> Date: Sat, 27 Sep 2014 02:44:42 -0500 To: "William A. Mahaffey III" Subject: Re: Problems starting tor service .... User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Sat, 27 Sep 2014 07:45:02 -0000 On Fri, 26 Sep 2014 22:12:13 -0500 "William A. Mahaffey III" 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 * **********************************************************************