Hello, I noticed today that one user was connected, but missing when I used the radwho utility. I suspect an error from the server when it writes to the radutmp file, because checking the accounting in mysql as well as in the radacct log files showed him connected (no Accounting stop message). Thanks! François. A few details: Freeradius 1.0.5
RADWHO OUTPUT:
bliblou:/var/log/freeradius# radwho -u 375242 Login Name What TTY When From Location bliblou:/var/log/freeradius#
ACCOUNTING LOGS:
bliblou:/var/log/freeradius# cat radacct/detail-200* | grep 375242 -B 2 Sat Jan 7 23:51:54 2006 Acct-Status-Type = Start User-Name = "375242" -- Sun Jan 8 16:29:22 2006 Acct-Status-Type = Stop User-Name = "375242" -- Mon Jan 9 16:08:56 2006 Acct-Status-Type = Start User-Name = "375242" bliblou:/var/log/freeradius#
MYSQL OUTPUT:
mysql> select acctstarttime,acctstoptime from radacct where username=375242; +---------------------+---------------------+ | acctstarttime | acctstoptime | +---------------------+---------------------+ | 2006-01-07 23:51:54 | 2006-01-08 16:29:22 | | 2006-01-09 16:08:56 | 0000-00-00 00:00:00 | +---------------------+---------------------+ 2 rows in set (0.07 sec) mysql>
=?ISO-8859-1?Q?Fran=E7ois_Delawarde?= <delawarde@gmail.com> wrote:
I noticed today that one user was connected, but missing when I used the radwho utility.
The radutmp module requires certain information in order to create a "login" entry. If that information doesn't exist, it can't create an entry. Alan DeKok.
participants (2)
-
Alan DeKok -
François Delawarde