Freeradius 1.1.7 no DB handles
steven meyer
kristin.schiffer at gmx.de
Wed Nov 14 09:43:52 CET 2007
Hi,
I made a change in sql.c now, but do not really understand the problem:
function sql_get_socket
....
if (pthread_mutex_trylock(&cur->mutex) != 0) {
radlog(L_INFO, "rlm_sql (%s): goto next %d", inst->config->xlat_name,
cur->id);
/* goto next; */
} /* else we now have the lock */
....
The radius inserts accountingdata now into my DB, but this cannot really be
a solution. What happens now when there is no socket free? What is the
problem of pthread_mutex_trylock()? Any ideas?
steven meyer wrote:
>
> Everybody can connect, I started mysql even with skip-grants... The
> mysql-log tells me "Connect on radiusLOG" when I start radiusd, but
> nothing else when I login into the switch.
>
> A.L.M.Buxey wrote:
>>
>> Hi,
>>>
>>> I set max_connections to 200, but that didnt help. That cannt really be
>>> a
>>> reason, because I am the only user by now. My partner gave up on this
>>> Problem. But I need to get this thing running!
>>> Maybe its the mysql-Version? We run mysql 3.23 on suse 8.1...
>>> Any Ideas?
>>
>> can freeradius actually USE the MySQL? ie if you put values into
>> the tables - check values, or username - or even
>> use the naslist, does freeradius show such tables being put
>> to use? ..does the accouting table get filled as you use the
>> system?
>>
>> have you get eg selinux running? if so, check the logs...change
>> it to warn mode instead and check the logs...
>>
>> alan
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Freeradius-1.1.7-no-DB-handles-tf4757305.html#a13742563
Sent from the FreeRadius - User mailing list archive at Nabble.com.
More information about the Freeradius-Users
mailing list