external script stays in <defunct> state after executing

Alan DeKok aland at ox.org
Wed Jun 29 20:43:47 CEST 2005


> 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.





More information about the Freeradius-Users mailing list