Re: Scripts executing in acct_users file

2010-07-09 Thread Josip Rodin
On Fri, Jul 09, 2010 at 11:52:57AM +0300, Eugen Vakulenko wrote: > I've just upgraded from 1.1.6 to 2.1.9. On the old server I'm used > Start/Stop and Interim-Update in acct_users file to execute some script > in this way: > > But when I try it on the new server it seems it doesnt work. > exec

Re: Scripts executing in acct_users file

2010-07-09 Thread Eugen Vakulenko
:) Thank you very much! It works. Sorry for such questions, i'm very new in radius. Also thanks to Toure Mamadou! 09.07.2010 16:01, Alan DeKok написав(ла): Eugen Vakulenko wrote: Where did you put the configuration? I've added in /usr/local/etc/raddb/radiusd.conf following s

RE: Scripts executing in acct_users file

2010-07-09 Thread Toure Mamadou
Alan DeKok Envoyé : vendredi 9 juillet 2010 13:01 À : FreeRadius users mailing list Objet : Re: Scripts executing in acct_users file Eugen Vakulenko wrote: >>Where did you put the configuration? >> > I've added in /usr/local/etc/raddb/radiusd.conf following secti

RE: Scripts executing in acct_users file

2010-07-09 Thread Toure Mamadou
ers-bounces+mamadou.toure=vipnet...@lists.freeradius.org] De la part de Eugen Vakulenko Envoyé : vendredi 9 juillet 2010 10:46 À : FreeRadius users mailing list Objet : Re: Scripts executing in acct_users file Hm, I've done it but now when I'm running radiusd -X it shows: Module: Checking a

Re: Scripts executing in acct_users file

2010-07-09 Thread Alan DeKok
Eugen Vakulenko wrote: >>Where did you put the configuration? >> > I've added in /usr/local/etc/raddb/radiusd.conf following section near > the end of file: How about putting it as a *separate file* into the raddb/modules/ directory? That's where the module configuration files are

Re: Scripts executing in acct_users file

2010-07-09 Thread Eugen Vakulenko
09.07.2010 15:03, Alan DeKok написав(ла): Does the debug output show that it's loading the file containing the module configuration? I don't know exactly. As I understand it shows that it is loading additional modules. End of debug output: rlm_sql (sql): Driver rlm_sql_mysql (module rl

Re: Scripts executing in acct_users file

2010-07-09 Thread Alan DeKok
Eugen Vakulenko wrote: > Hm, I've done it but now when I'm running radiusd -X it shows: > > Module: Checking accounting {...} for more modules to load > /usr/local/etc/raddb/sites-enabled/default[325]: Failed to load module > "exe_module". Does the debug output show that it's loading the file c

Re: Scripts executing in acct_users file

2010-07-09 Thread Eugen Vakulenko
Hm, I've done it but now when I'm running radiusd -X it shows: Module: Checking accounting {...} for more modules to load /usr/local/etc/raddb/sites-enabled/default[325]: Failed to load module "exe_module". /usr/local/etc/raddb/sites-enabled/default[323]: Errors parsing accounting section. Af

RE: Scripts executing in acct_users file

2010-07-09 Thread Toure Mamadou
Hi, First: create an exec module in radiusd.conf For exemple : exec exe_module { wait = yes program = "path to your prograù" input_pairs = request output_pairs = reply shell_escape = yes output = none