So I went back to a clean install of Fedora 11, followed the instructions on installing freeradius via yum. Then I issued the command: chkconfig --list radiusd (and got the following) radiusd 0:off 1:off 2:off 3:off 4:off 5:off 6:off so i entered sudo chkconfig radiusd on and then I got chkconfig --list radiusd radiusd 0:off 1:off 2:on 3:on 4:on 5:on 6:off I then restart the computer to verify that it works correctly, and it does not. I still have to log into an account before the service starts. Is there anything else I can try to get this working correctly?
I think that editing /etc/rc.local will start freeradius as a service. u v just to add sbin/rc.radiusd start . Best 2009/9/30 <Paul.Blalock@gmail.com>
So I went back to a clean install of Fedora 11, followed the instructions on installing freeradius via yum. Then I issued the command:
chkconfig --list radiusd (and got the following) radiusd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
so i entered sudo chkconfig radiusd on and then I got chkconfig --list radiusd radiusd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
I then restart the computer to verify that it works correctly, and it does not. I still have to log into an account before the service starts. Is there anything else I can try to get this working correctly? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
On 09/30/2009 01:19 PM, José Johnny RANDRIAMAMPIONONA wrote:
I think that editing /etc/rc.local will start freeradius as a service. u v just to add sbin/rc.radiusd start .
No, don't do this. Please use the standard System V init mechanisms only. /sbin/chkconfig /sbin/service -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
On 09/30/2009 12:52 PM, Paul.Blalock@gmail.com wrote:
So I went back to a clean install of Fedora 11, followed the instructions on installing freeradius via yum. Then I issued the command:
chkconfig --list radiusd (and got the following) radiusd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
so i entered sudo chkconfig radiusd on and then I got chkconfig --list radiusd radiusd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
I then restart the computer to verify that it works correctly, and it does not. I still have to log into an account before the service starts. Is there anything else I can try to get this working correctly?
As previously asked before, what does "service radiusd status" report after booting. If it says the service is not running then what does "sudo service radius start" report? Did it fail? If you have most likely have a configuration problem which is preventing the server from starting. If so then what is the output of "/usr/sbin/radiusd -X" If logging into a desktop session has any impact whatsoever then something is horribly wrong, this is not normal at all. Are you sure you didn't mess with "Startup Applications"? -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Have you checked the appropriate logs? Any info in /var/log/radius/radius.log? Please post the contents. How do you start it and as what user?
On 09/30/2009 01:57 PM, Danner, Mearl wrote:
Have you checked the appropriate logs?
Any info in /var/log/radius/radius.log? Please post the contents.
good suggestion
How do you start it and as what user?
Since this is Fedora and uses System V initscript it will start as root and then drop privileges to the radiusd user. However, if he initially ran the server *manually* as non-root it might have created files with the wrong ownership and permissions which would block the server from initializing when run properly. The most likely files improperly created would be the automatic certificate creation. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
It occurred to me there is one there is one issue you might need to be aware of, bootstrapping. The server with the default configuration will not successfully start without certificates. radiusd will automatically create temporary certificates the first time it is run for you if you don't already have certificates installed. However this only is done if the server is started in debug mode. Therefore you have to run /usr/sbin/radiusd -X *as root* after the first time you perform an install to cause the bootstrapping to occur. The RPM should probably do this for you, but it currently doesn't. Once your certs are established this never has to be repeated. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
participants (4)
-
Danner, Mearl -
John Dennis -
José Johnny RANDRIAMAMPIONONA -
Paul.Blalock@gmail.com