radutmp bug?

François Delawarde delawarde at gmail.com
Wed Jan 11 12:44:56 CET 2006


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>




More information about the Freeradius-Users mailing list