[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: external script stays in <defunct> state after executing
From:       "Alan DeKok" <aland () ox ! org>
Date:       2005-06-29 18:43:47
Message-ID: 20050629184348.BF6FA17110 () mail ! nitros9 ! org
[Download RAW message or body]

> Still can't solve the problem.
> External script fired according to acct_users file stays in <defunct> state
> for every call.

  Edit src/main/threads.c, and edit the function rad_fork():

pid_t rad_fork(int exec_wait)
{
	pid_t child_pid;

	reap_children();    /* ADD THIS LINE */
...


  Re-compile & re-install.  That will fix the problem.

  I'll include the patch in the server source.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic