external script stays in <defunct> state after executing
28 Jun
2005
28 Jun
'05
6:15 a.m.
Still can't solve the problem. External script fired according to acct_users file stays in <defunct> state for every call. acct_users file: DEFAULT Acct-Status-Type == Stop Exec-Program = "/usr/local/sbin/testacct.php" My conf: Debian Linux 3.0 Freeradius: 1.0.4
29 Jun
29 Jun
2:43 p.m.
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.
7679
Age (days ago)
7680
Last active (days ago)
2 comments
3 participants
participants (3)
-
Alan DeKok -
mnisay -
rashad