<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
sir when i send accounting request using ntradping radius does not gives this error, i there any kind on fault in my scrip..?? <div><br></div><div><br></div><div><div>#!/usr/bin/perl</div><div>use Crypt::CBC;</div><div>use Asterisk::AGI;</div><div>use Authen::Radius;</div><div>use DBD::mysql;</div><div>use Thread;</div><div>my $i;</div><div>for ($i=1;$i<=20;$i++)</div><div>{</div><div>my $thr = new Thread \&sub1;</div><div>sleep(0.010);</div><div>print $i;</div><div>}</div><div>sub sub1</div><div>{</div><div>my $j;</div><div>my $r = new Authen::Radius(Host => '192.168.1.13:1813', Secret => 'testing123');</div><div> if( !defined $r )</div><div> {</div><div> exit;</div><div> }</div><div>Authen::Radius->load_dictionary('/var/lib/asterisk/agi-bin/radius/raddict.dat');</div><div>for ($j=1;$j<=5;$j++)</div><div>{</div><div> $r->add_attributes (</div><div> { Name => 'User-Name', Value => "82723EH5F75" },</div><div> { Name => 'Password', Value => "123456" },</div><div> { Name => 'Acct-Link-Count', Value => "111" },</div><div> { Name => 'Acct-Multi-Session-Id', Value => "NGI" },</div><div> { Name => 'Move-ID', Value => "4" },</div><div> { Name => 'Accounting-Type', Value => "1" },</div><div> { Name => 'Group-ID', Value => "0" }</div><div> );</div><div>$r->send_packet (ACCOUNTING_REQUEST) and $type = $r->recv_packet;</div><div>print $j." ";</div><div>}</div><div>}</div><div><br></div> <br><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 1 Oct 2012 16:33:23 +0700<br>> Subject: Re: Radius Stress testing<br>> From: list@fajar.net<br>> To: freeradius-users@lists.freeradius.org<br>> <br>> On Mon, Oct 1, 2012 at 4:27 PM, QASIM RAO <qasim2490@hotmail.com> wrote:<br>> > when i run perl script i runs and gives output, but in log file it genrate<br>> > an error:q<br>> ><br>> ><br>> > Mon Oct 1 04:45:46 2012<br>> > : Error: rlm_radutmp: No Accounting-Status-Type record.<br>> <br>> Hmmm ... this kind of question seems to come up a lot.<br>> <br>> If you simply want that error gone, and you don't use "radlast", then<br>> just remove all reference to "radutmp" on sites-available/default,<br>> inner-tunnel, and whatever other virtual server that you use.<br>> <br>> -- <br>> Fajar<br>> -<br>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br></div></div> </div></body>
</html>