Hi,

I have seen a change from freeradius 3:

I have commented these lines and compiled:

        /* if we're running as a daemon, close other file descriptors. */
        if (debug_flag == FALSE) {
                close(STDIN_FILENO);
                close(STDOUT_FILENO);
                close(STDERR_FILENO);
        }

It works, although I don't know why this fail.

Regards,
Carlos Velasco

*********** BEGIN FORWARDED MESSAGE  ***********

On 29/01/2002 at 14:31 Carlos Velasco <[EMAIL PROTECTED]> wrote:

From: Carlos Velasco <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Tue, 29 Jan 2002 14:31:07 +0100
Subject: select() error about freeradius-0.4



>Hi,
>
>I have same problem using Solaris 7 and Freeradius 4:
>
>SunOS caligula1 5.7 Generic_106541-14 sun4u sparc
>SUNW,UltraSPARC-IIi-cEngine
>
>Compiled with gcc 2.95.3
>gcc version 2.95.3 20010315 (release)
>
>The problem appears when trying to run the radiusd daemon in "normal" mode.
>Running radiusd or radiusd -f:
>
>The Error (radius.log):
>Tue Jan 29 14:18:58 2002 : Info: Ready to process requests.
>Tue Jan 29 14:18:58 2002 : Error: Unexpected error in select(): Bad file
>number
>
>If I use radiusd -X or radiusd -x, it works.
>
>Ready to process requests.
>rad_recv: Accounting-Request packet from host 10.16.128.209:1641, id=90,
>length=139
>        NAS-IP-Address = 10.16.128.209
>        NAS-Port = 1253
>        Acct-Delay-Time = 0
>        Acct-Session-Id = "726777474"
>        USR-Event-Id = In-Connection-Failed
>        USR-Event-Date-Time = "Jan 29 2002"
>.......
>
>
>Any suggestion?
>I will try to get the CVS but it seems to be a bug somewhere...
>
>Regards,
>Carlos Velasco
>

*********** END FORWARDED MESSAGE  ***********


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to