From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 15:15:38 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 D04F9E7E for ; Thu, 25 Sep 2014 15:15:38 +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 99E0DC2D for ; Thu, 25 Sep 2014 15:15:38 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-70.adsl.hiwaay.net [216.180.19.70]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8PFFa0x015533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 25 Sep 2014 10:15:36 -0500 Message-ID: <5424330F.2060209@hiwaay.net> Date: Thu, 25 Sep 2014 10:21:51 -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 To: "FreeBSD Questions !!!!" Subject: Re: Problems starting tor service .... References: <542423D4.8070706@hiwaay.net> <54242605.4090004@dat.pl> In-Reply-To: <54242605.4090004@dat.pl> 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: Thu, 25 Sep 2014 15:15:39 -0000 On 09/25/14 09:26, Maciej Milewski wrote: > On 25.09.2014 16:16, William A. Mahaffey III wrote: >> Sep 25 09:10:20.000 [warn] Couldn't open file for 'Log notice file >> /var/log/tor': Permission denied >> 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. > Wrong /var/log/tor permissions? > I *think* /vsar/log/tor is supposed to be a directory, not sure about that .... In any event, I also started privoxy & it had no problems starting, setting up its /var/log dir, etc.: [root@kabini1, /etc, 10:18:24am] 385 % lsof -n | grep privoxy lsof: WARNING: compiled for FreeBSD release 9.1-RELEASE-p17; this is 9.3-RELEASE. privoxy 88652 privoxy cwd VDIR 0,102 1024 2 / privoxy 88652 privoxy rtd VDIR 0,102 1024 2 / privoxy 88652 privoxy txt VREG 0,166 267352 807043 /usr/local/sbin/privoxy privoxy 88652 privoxy txt VREG 0,102 108664 2006401 /libexec/ld-elf.so.1 privoxy 88652 privoxy 0r VCHR 0,17 0t0 17 /dev/null privoxy 88652 privoxy 1w VCHR 0,17 0t0 17 /dev/null privoxy 88652 privoxy 2u IPv4 0xfffffe018622b3d0 0t0 TCP 127.0.0.1:8118 (LISTEN) [root@kabini1, /etc, 10:18:43am] 386 % (lltr10 /var/log/; date) -rw------- 1 root wheel 5427 Sep 24 12:00 cron.0.bz2 -rw-r----- 1 root wheel 795 Sep 25 00:00 maillog.0.bz2 -rw------- 1 root wheel 757 Sep 25 03:02 ipfw.today -rw-r----- 1 root wheel 1448 Sep 25 04:55 sendmail.st -rw-r----- 1 root wheel 3427 Sep 25 04:55 maillog -rw------- 1 root wheel 42302 Sep 25 05:33 auth.log -rw------- 1 root wheel 69791 Sep 25 09:00 security drwxr-x--- 2 privoxy privoxy 512 Sep 25 09:18 privoxy/ -rw-r--r-- 1 root wheel 625277 Sep 25 09:18 messages -rw------- 1 root wheel 35859 Sep 25 10:15 cron Thu Sep 25 10:19:04 CDT 2014 [root@kabini1, /etc, 10:19:04am] 387 % history | grep service 360 9:10 service tor start 369 9:18 service privoxy start 370 9:18 service tor start 375 9:24 vi services 376 9:27 grep any services 387 10:19 history | grep service [root@kabini1, /etc, 10:19:26am] 388 % grep wheel passwd [root@kabini1, /etc, 10:20:41am] 389 % both privoxy & tor have their own users defined in passwd, neither are in the group wheel .... who knows .... TIA for any further clues .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.