[OpenSIPS-Users] Freeradius returns error 1312

erik pepermans cpu1 at telenet.be
Sun Nov 15 01:17:27 CET 2009


Hi Lazlo,
 
I compiled the freeradius-xs_1.1.7.orig after having done a 'yum install
libtool-ltdl-devel'. I applied the patch and now radius inserts and updates
records. Thanks for the tip.

-----Oorspronkelijk bericht-----
Van: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] Namens Laszlo
Verzonden: vrijdag 13 november 2009 23:19
Aan: OpenSIPS users mailling list
Onderwerp: Re: [OpenSIPS-Users] Freeradius returns error 1312


Hi Erik,


2009/11/13 erik pepermans <cpu1 at telenet.be>


I have set up opensips+cdrtool+freeradius on CentOS. I have recompiled
freeradius 1.1.3 and copied sql.conf accordlingly as described in the setup
of CDRTool.
When opensips tries to hand over accounting to the freeradius following is
seen in radiusd :
 
rlm_sql (sql): Reserving sql socket id: 13
rlm_sql_mysql: MYSQL check_error: 1312 received
rlm_sql (sql): Couldn't insert SQL accounting FAILED record - PROCEDURE
radius.insert_radacct_record can't return a result set in the given context

I am trying to resolve this issue for a few days now - without result 
 
Please help

 <http://lists.opensips.org/cgi-bin/mailman/listinfo/users> 


You using monthly rotated tables, right?
 Did you apply the patches to work properly with the stored procedures? You
can also try to compile and run this:
http://ag-projects.com/debian/pool/main/f/freeradius-xs/freeradius-xs_1.1.7.
orig.tar.gz

-Laszlo



-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091115/055e7bc7/attachment.htm 


More information about the Users mailing list