help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Acct-Ext-Program log error


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Acct-Ext-Program log error
Date: Thu, 16 Oct 2003 22:31:20 +0300

Anderson Nadal <address@hidden> wrote:

 > But in my logs i see this message:
 > 
 > Oct 16 15:10:23 Acct.error: Child received malformed header (len = 0,
 > error = Interrupted system call)
 > Oct 16 15:10:23 Main.notice: child 26354 exited with status 0

 Try applying the following patch:

Index: radiusd/rpp.c
===================================================================
RCS file: /cvsroot/radius/radius/radiusd/rpp.c,v
retrieving revision 1.17
diff -p -u -r1.17 rpp.c
--- radiusd/rpp.c       15 Aug 2003 13:33:44 -0000      1.17
+++ radiusd/rpp.c       16 Oct 2003 19:25:37 -0000
@@ -487,6 +487,8 @@ rpp_request_handler(void *arg ARG_UNUSED
                len = rpp_fd_read(0, &frq, sizeof frq, NULL);
                alarm(0);
                if (len != sizeof frq) {
+                       if (errno == EINTR)
+                               continue;
                        radlog(L_ERR,
                               _("Child received malformed header (len = %d, 
error = %s)"),
                               len, strerror(errno));


Regards,
Sergey                         




reply via email to

[Prev in Thread] Current Thread [Next in Thread]