Hi, I have a Freeradius on a fedora core 5 with a backend mysql. It's work fine 20 days. But i have stopped it (/etc/init.d.radiusd stop) and use radiusd -A commande for testing another login for mysql. An since this change the serveur radius can connect to serveur mysql on debug mode (rdiusd -X), if i use the command "/etc/init.d/radiusd start" the clients can't connect et in the log (see bottom) say it can't connect to mysql sevrer. Why the command "radiusd -A" work fine and not "/etc/init.d/raduisd start" ??? I really don't understand why ! I will be mad
Why the command "radiusd -A" work fine and not "/etc/init.d/raduisd start" ???
When you run 'radiusd -A' (I suppose you're root), you are running the radius Server as Root. When you run /etc/init.d/radiusd start, it switches to the 'radiusd' user identity (in FC5). So it is possible that you have a permission issue on some config file. Try to run: # su - radiusd --shell /bin/bash $ radiusd -X You'll see if there is a permision issue. HTH, Thibault
You are in the good The problem is Selinux ... The user "raduisdd" is not authorized to launch the freeraduis. so freeradius and me are not made... is Selinux ;) Thks ! Selon Thibault Le Meur <Thibault.LeMeur@supelec.fr>:
Why the command "radiusd -A" work fine and not "/etc/init.d/raduisd start" ???
When you run 'radiusd -A' (I suppose you're root), you are running the radius Server as Root.
When you run /etc/init.d/radiusd start, it switches to the 'radiusd' user identity (in FC5).
So it is possible that you have a permission issue on some config file.
Try to run: # su - radiusd --shell /bin/bash $ radiusd -X
You'll see if there is a permision issue.
HTH, Thibault
participants (2)
-
benodilo@free.fr -
Thibault Le Meur