Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2011 16:05:08 +0200
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Cc:        Alan DeKok <aland@deployingradius.com>
Subject:   Re: run radius in debug mode with screen
Message-ID:  <147372711.20111204160508@yandex.ru>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?147372711.20111204160508>