RE : radius server 2.1.6 not storing data in radacct
It's working after uncommenting sql under accounting section in sites-available/DEFAULT. Thanks alot. On Mon, Aug 10, 2009 at 4:24 PM, < freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Re: Freeradius-Users Digest, Vol 52, Issue 48 (Alan Buxey) 2. Re: Freeradius-Users Digest, Vol 52, Issue 48 (ramesh p) 3. Re: radius server 2.1.6 not storing data in radacct (ramesh p)
----------------------------------------------------------------------
Message: 1 Date: Mon, 10 Aug 2009 11:25:28 +0100 From: Alan Buxey <A.L.M.Buxey@lboro.ac.uk> Subject: Re: Freeradius-Users Digest, Vol 52, Issue 48 To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <20090810102528.GA13708@lboro.ac.uk> Content-Type: text/plain; charset=us-ascii
Hi,
echo
"Acct-Session-Id={ACTSESSION}\nUser-Name={MYUSERNAME}\nX-Ascend-Session-Svr-
Key={SESSIONKEY}" | radclient -x 10.0.5.1:3799 disconnect 123
session removed successfully but I receive Disconnect-NAK (unsuccessfully)
RFC 5176
"Session Context Not Removable" is a fatal error sent in response to a Disconnect-Request if the NAS was able to locate the session context, but could not remove it for some reason. It MUST NOT be sent within a CoA-ACK, CoA-NAK, or Disconnect-ACK, only within a Disconnect-NAK.
ensure that ALL the things you are sending to the device are present on the device.... ie X-Ascend-Session-Svr-Key ?
alan
------------------------------
Message: 2 Date: Mon, 10 Aug 2009 16:23:39 +0530 From: ramesh p <rock786143@gmail.com> Subject: Re: Freeradius-Users Digest, Vol 52, Issue 48 To: freeradius-users@lists.freeradius.org Message-ID: <6b6aa6710908100353r3aa1ca95m9bca4522aec3e6f5@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
fromt he debug looks like its not doing any SQL thing at all - ie you either havent configured the SQL stuff (uncomment an 'include' statement in the cofngi to pull in sql.conf or, because you arent using SQL for authentication/authorization and only for logging you have to add 'sql' to the instantiate section so the module gets fired up I have uncommented sql.conf under module configuration section of radiusd.conf
$INCLUDE sql.conf ..
And added stmt "sql" to instantiate section.
and still am not able to see records in radacct table.
Thanks, Rams.
------------------------------
participants (1)
-
ramesh p