On Wed, 24 Apr 2002, Chris Parker wrote:
> >Tue Apr 23 21:37:21 2002 : Error: rlm_sql: All sockets are being used!
> >Please increase
> > the maximum number of sockets!
>
> Well, that warning message should tell you something! Have you
> done what it says in the error message?
Yes, I have. But this is not solution for my question.
> >The "stop" packet was not resent, despite NAS is configured to send
> >accounting packet 3 times if no response from accounting server, so RADIUS
> >sent accounting response acknowledgment to the NAS. Why it happens?
> >--rfc2866--
> > If the RADIUS accounting server is unable to successfully record the
> > accounting packet it MUST NOT send an Accounting-Response
> > acknowledgment to the client.
> >--rfc2866--
>
> Hmmm, it *was* recorded in the 'detail' module, though, so it's not
> fully incorrect.
I agree, not fully incorrect, but _incorrect_.
Take a look to authorization. If I'll write to radiusd.conf something
like this:
authorize{
files
sql
}
then authorization will fail if fail any of "files" or sql.
> What does the sql module return in that instance that there are not
> enough sockets?
As sources said, sql module return RLM_MODULE_NOOP in this case.
> you to control some of the different options. If SQL is the most
> important logging method, you may want to put that before 'detail' in
> the accounting section, so that it returns before calling 'detail'.
Hmmm, its good idea. Although mail accounting module is sql for me, detail
also needed. I will point it at the end of accounting group.
BTW about failover.
First I setup sql failover as was described in doc/*failover* and in this
mail-list. It works if one sql server goes away, but radiusd cannot
startup, if one of sql is unavailable. Single sql module for each RADIUS
server with replication between sql servers is better solution as for me. Anyway
it is much stable...
>
> -Chris
> --
> \\\|||/// \ StarNet Inc. \ Chris Parker
> \ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
> | @ @ | \ http://www.starnetwx.net \ (847) 963-0116
> oOo---(_)---oOo--\------------------------------------------------------
> \ Wholesale Internet Services - http://www.megapop.net
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
---
Aleksandr Kuzminsky, AK476-RIPE
System Administrator, AK16-UANIC
ISP NBI.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html