On Wed, Dec 26, 2001 at 12:14:40PM -0500, Jeremy Kusnetz wrote:
> For some reason the only way I can get freeradius to update the radacct
> tables in my mysql database is to run it in debug mode, either -x or -X
> When running it in debug mode everything works great. But as soon as I
> start freeradius with no debugging. Authentication still works, but it
> doesn't seem to insert or update any of my radacct tables. Running tcpdump
> I see requests are being made to the accounting port, but freeradius just
> doesn't seem to be listening. I've also tried starting it with the -sf
> options, but it still doesn't work. Only in debug mode does it work.
>
> Any ideas? What further info can I give about my configuration?
Does MySQL use a Unix socket or named pipe that only root has access to?
(Or more specifically, that the radius user and group _doesn't_ have access
to.)
In debug mode (IIRC), the server doesn't give up it's identity as root,
where normal mode does. Maybe your problem is related to that.
- chad
--
Chad Miller <[EMAIL PROTECTED]>
<url: http://www.advogato.org/person/cmiller/>
``Is it wrong to donate Kool-Aid to one's favorite kook organizations
when the comets come around?'' - C. M.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html