Wrong date of freeradius 3 recording in MySql

Alan DeKok aland at deployingradius.com
Tue Jan 12 21:12:54 CET 2021


On Jan 12, 2021, at 3:06 PM, Nikolai Petrov <nikolai.petrov06 at gmail.com> wrote:
> I installed FreeRADIUS 3, Daloradius, and MySQL Debian 9.
> After some struggle I drove everything I had on another machine with a
> similar installation but with freeradius 2.
> I noticed a problem with accounting (wrote in db). The time is correct, but
> the date is 2 days ago. The problem is from freeradius. When I write from
> PHP in MySql my date is ok, but from accounting, it comes with a date of -2
> days.

  Which field in SQL?

  If it's the Acct start time or stop time, that comes directly from the NAS.  FreeRADIUS doesn't create / edit it.

  If you look at the radius.log file, you'll see it logging messages with todays date.  It gets that date from the system.

  Alan DeKok.




More information about the Freeradius-Users mailing list