Alan,

Yes thanks for the reply you are correct it probably should go into the RPM I can rewrite the RHEL rpm to do this if I knew what to do? When I simply run radiusd -X the keys are created is there a "non interactive" option I can use to create the keys for the first time such as radiusd --create-keys (obviously that isn't it)...

Or is there another way to create the keys?

Brian Carpio

On Tue, Jan 5, 2010 at 1:16 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
> I am running RHEL 5.3 and FreeRADIUS Version 2.1.8.
>
> When I install freeradius and attempt to start it for the first time using the /etc/init.d/radiusd start script it always fails (only right after freeradius is installed), once i run freeradius with -X (in debug mode) it creates all the keys and such then I can cntrl + c and start free radius from that point forward using the init script... my question is why do I have to do this? Is there anyway around this?

probably because when run from the init script it cannot actually start the
daemon (due to requirements to create the key etc).  if everything is in place
correctly beforehand then it will work.

I guess the question , then, is - can the RPM do the required creation of
example/test keys etc rather than require the admin to jump through the
hoops - and thats a question for the distro maintainers.

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html