(RADIATOR) Question about configuration file

2003-07-24 Thread DUFOUR Geoffrey
Hello, As far as I understand, radiusd reads the configuration file only once (when it starts). Correct ? Is there a way to force radiusd to read the file every x min. or every time the file is updated (new realm, RADIUS client, ) without restarting it ? I would also like to know

Re: (RADIATOR) Question about configuration file

2003-07-24 Thread Hugh Irvine
Hello Geoffrey - On Thursday, Jul 24, 2003, at 19:40 Australia/Melbourne, DUFOUR Geoffrey wrote: Hello, ? As far as I understand, radiusd reads the configuration file only once (when it starts). Correct ? Correct - but see below. ? Is there a way to force radiusd to read the file every x

Re: (RADIATOR) Question about configuration file

2003-07-24 Thread Andrew Stevenson
On Thu, 24 Jul 2003, DUFOUR Geoffrey wrote: As far as I understand, radiusd reads the configuration file only once (when it starts). Correct ? AFAIK Is there a way to force radiusd to read the file every x min. or every time the file is updated (new realm, RADIUS client, ...) without

(RADIATOR) Issue with Duplicate Key when Adding a Session

2003-07-24 Thread Paul
Hi All, We are using Radiator 3.6 with latest patches but we are seeing an issue when a new session is added. We're getting Duplicate key which appears to be coming from the internal handler code rather than MySQL itself. Below is the error when it occurs. We've modified our delete from RADONLINE

Re: (RADIATOR) Issue with Duplicate Key when Adding a Session

2003-07-24 Thread Brandon
I would recommend using an INSERT IGNORE instead of an INSERT. This is a mysql issue, it means that you have a unique key (primary key) defined in your mysql table and your are trying to add another entry with the same unique key. *** Brandon Mullenberg Dialup

Re: (RADIATOR) Issue with Duplicate Key when Adding a Session

2003-07-24 Thread Brian Morris
Hmm... What are the implications of an Insert Ignore? Will it override the primary key constraint thus giving you two rows with the same primary key or will it simply not do the insert? Regards, Brian. (The reason I ask is that I get them too) - Original Message - From: Brandon

Re: (RADIATOR) Issue with Duplicate Key when Adding a Session

2003-07-24 Thread Brandon
An INSERT IGNORE will just make it so you dont see the error message. It basically means ignore the error message. It will still try to do the insert, it won't add a 2nd row, and it wont give an error message. From the mysql manual: If you specify the keyword IGNORE in an INSERT with many

Re: (RADIATOR) Issue with Duplicate Key when Adding a Session

2003-07-24 Thread Hugh Irvine
Hello Paul - The error is a MySQL error which is complaining about a duplicate entry for a unique key. The unique key for the RADONLINE table is the combination of the NAS-Identifier and NAS-Port which is what Radiator bases its session database and simultaneous use checking on - the