run radius in debug mode with screen

Коньков Евгений kes-kes at yandex.ru
Mon Dec 5 22:15:56 CET 2011


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 at yandex.ru




More information about the Freeradius-Users mailing list