From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 14:05:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85B82106566B for ; Sun, 4 Dec 2011 14:05:17 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [IPv6:2a02:6b8:0:801::5]) by mx1.freebsd.org (Postfix) with ESMTP id 02A728FC17 for ; Sun, 4 Dec 2011 14:05:17 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward15.mail.yandex.net (Yandex) with ESMTP id 716859E2057; Sun, 4 Dec 2011 18:05:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323007515; bh=IWM3l1VLpiLRchXnS+aBs1olAAwYKTunYyUvUKyd0j4=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=T5qpc/xx55u3+tUX8KWNDrVidW/HBq2zWJ45jcsGN98Se/kMnh/T2VmFhJwdz37Jt ZfiLltmo+0ZIp93+sTd+yM4c0xtgaOVkPTbMqJD7Q3UdKagZLVdfyC07kEQzcmOdZK /J9s+oljDBXcHUtKJkW7T2iqOWpKPZLmOS3B/8Xw= Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 4EA667E0318; Sun, 4 Dec 2011 18:05:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323007515; bh=IWM3l1VLpiLRchXnS+aBs1olAAwYKTunYyUvUKyd0j4=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=T5qpc/xx55u3+tUX8KWNDrVidW/HBq2zWJ45jcsGN98Se/kMnh/T2VmFhJwdz37Jt ZfiLltmo+0ZIp93+sTd+yM4c0xtgaOVkPTbMqJD7Q3UdKagZLVdfyC07kEQzcmOdZK /J9s+oljDBXcHUtKJkW7T2iqOWpKPZLmOS3B/8Xw= Received: from unknown (unknown [176.8.25.138]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5E4qex8M-5E4GtSgH; Sun, 4 Dec 2011 18:05:14 +0400 X-Yandex-Spam: 1 Date: Sun, 4 Dec 2011 16:05:08 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <147372711.20111204160508@yandex.ru> To: FreeBSD Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Alan DeKok Subject: Re: run radius in debug mode with screen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 14:05:17 -0000 Hi, Alan > > while using this verion > FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 > I can run radius as > /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug >> What is "/r/radiusd debug" ? radiusd - is rc script in freebsd. actually it is /usr/local/etc/rc.d/radiusd debug ... extra_commands="reload debug" radiusd_debug() { radiusd_flags="-X ${radiusd_flags}" run_rc_command start } # ps ax | grep radiusd 51082 1 S 14:17.69 /usr/local/sbin/radiusd -X > but with > FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 > > it exit without any messages. > > Can you help me please to resolve this problem? >> Use the documented command-line options. problem is that that 'radiusd -X' is detached from stdout so now it is impossible to run it in screen =( radiusd: FreeRADIUS Version 2.1.10 uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 in this radiusd: FreeRADIUS Version 2.1.3 I can run radius in screen -- С уважением, Коньков mailto:kes-kes@yandex.ru