Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use freeradius and ldap and openvpn in my project. when user disconnect from openvpn,radacct table does not update. I need that acctstoptime updated immediately. please guide me.

share|improve this question

We can not easily answer your question in its current form. You need to provide more information.

To help you debugging the issue, you need first to make sure radius accounting is enabled using the appropriate module (ldap, database, etc..).

One other option is to start freeradius server in the foreground in full debug mode using:

$ sudo freeradius -X

This can be done on a testing machine and watching for possible errors when you are making radius requests.

share|improve this answer
thanks @khaled.sorry for my bad english.i connect via openvpn from my win7 client to freeradius server that is in the ubuntu external database for authentication is ldap.i use mysql for freeradius accounting information.when user connected to freeradius server,one record with the correct acctstarttime is added to radacct but my problem is that when my user disconnect from win7,its acctstoptime remains null and after a period another record is added to radacct with both acctstarttime and acctstoptime.Times in the both of them are correct but my problem is its update time. – Bahareh Sep 2 '12 at 6:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.