Hello Mikael.
The strategy Radiator uses when SQL fails is this:

1. Try to fallback to another SQL server. You can have multiple fallback
servers by specifying multiple DBSource lines.
2. If after trying all the DBSources, it still cant connect, it will say to
IGNORE the request.

So you have several options:

1. Have a standby SQL server, and have a fallback SQL server configured into
Radiator.
2. Chain a second authentication method after SQL, so that if SQL fails (and
says IGNORE), it will then auth from (say) a local flat file:

<Realm whatever>
        AuthByPolicy ContinueWhileIgnore
        <AuthBy SQL>
                # whatever
        </AuthBy>
        # If SQL fails, auth from flat file:
        <AuthBy FILE>
                Filename whatever
        </AuthBy>
</Realm>

Hope that helps.

PS, if I misunderstood, and Radiator actually crashed, it should not do that.
If thats what happened, please send us the Radiator log file, plus whatever you
see on stdout, plus details of your operting system revision and platform.

Cheers.


Cheers.

On Jun 19,  5:17am, Mikael Hugo wrote:
> Subject: (RADIATOR) SQL Fail
>
> [ Attachment (text/plain): 880 bytes
>   Character set: windows-1252
>   plain text
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Mikael Hugo


How can I fix, so that the Radiator does not crash for all Realms when an
SQL server fails for a single realm?

We took down an MYSQL server for a testdomain, and suddenly we got at LOT of
angry calls.


****
Sat Jun 19 05:01:42 1999: ERR: Could not connect to SQL database with
DBI->conne
ct dbi:mysql:xxxxxxxxxxx: Can't connect to
MySQL server on 'xxxxxxxxxxxxxxxx' (60)
Sat Jun 19 05:01:42 1999: ERR: Could not connect to any SQL database.
Request is
 ignored.
*****


-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to