Hello, I'm starting to play with a virtual server of type = detail. I'm using FR 2.1.12 and the detail server writes to a MySQl DB. I have a stable configuration that just works! I noticed a strange behaviour. If I stop FR, the server leaves the detail.work file, and at the next start FR reloads this file and pushes duplicate records to the DB. Is it a normal behaviour or I'm doing something wrong? Thanks, Andrea
Andrea Gabellini - SC wrote:
I'm starting to play with a virtual server of type = detail. I'm using FR 2.1.12
Upgrade to 2.2.5. Or wait a few days, and use 2.2.6.
If I stop FR, the server leaves the detail.work file, and at the next start FR reloads this file and pushes duplicate records to the DB. Is it a normal behaviour or I'm doing something wrong?
No idea. Ask your OS vendor to supply a package which isn't 4 years old. Alan DeKok.
Il 11/09/2014 16:51, Alan DeKok ha scritto:
Andrea Gabellini - SC wrote:
I'm starting to play with a virtual server of type = detail. I'm using FR 2.1.12 Upgrade to 2.2.5. Or wait a few days, and use 2.2.6.
Thank you for the reply. I compiled FR myself and used 2.1 just because other production installations are 2.1. 2.2 version fix this behaviour? Is it a known bug? In the 2.2's changelog I didn't find any reference to this.
If I stop FR, the server leaves the detail.work file, and at the next start FR reloads this file and pushes duplicate records to the DB. Is it a normal behaviour or I'm doing something wrong? No idea. Ask your OS vendor to supply a package which isn't 4 years old.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Andrea Gabellini - SC wrote:
I compiled FR myself and used 2.1 just because other production installations are 2.1.
Then it's your choice to use an unsupported version.
2.2 version fix this behaviour? Is it a known bug? In the 2.2's changelog I didn't find any reference to this.
No idea. But 2.2.5 works. There have been no bugs about the detail file (reader or write). So I'm not going to waste my time debugging an issue which has already been fixed. Alan DeKok.
Hello, I just upgraded my installation to 2.2.5 with the same configuration of the 2.1.12. The problem still remains... If I stop the server and detail.work remains, at the next start up FR re-reads the entire file and duplicates some of the records Just to know if this is the correct behaviour, my mistake, or a bug. Thanks, Andrea Il 11/09/2014 17:40, Alan DeKok ha scritto:
Andrea Gabellini - SC wrote:
I compiled FR myself and used 2.1 just because other production installations are 2.1. Then it's your choice to use an unsupported version.
2.2 version fix this behaviour? Is it a known bug? In the 2.2's changelog I didn't find any reference to this. No idea. But 2.2.5 works. There have been no bugs about the detail file (reader or write). So I'm not going to waste my time debugging an issue which has already been fixed.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Andrea Gabellini - SC wrote:
If I stop the server and detail.work remains, at the next start up FR re-reads the entire file and duplicates some of the records
Ah... that's whay you meant. It wasn't clear from your earlier message. Yes, that's the way it works. The detail file is a flat-text file. It isn't a database. The simplest way to deal with this is to have small detail files. Create them per minute, or per hour. Multi-gigabyte detail files aren't recommended. Alan DeKok.
participants (2)
-
Alan DeKok -
Andrea Gabellini - SC