Problem running radiusd -X

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Sat Jan 16 11:28:06 CET 2010


Hi,

> > Hi I am a novice user of linux.  I need to install and use freeradius.  I
> > have openSuse 11.1 and am logged in as root.
> > 
> > I have installed freeradius using yast and the installation seemed to go
> > fine.  When I run radiusd -X I get the following problem.
> > 
> > unable to write 'random state'
> > dh: Permission denied
> > make: *** [dh] Error 1
> > Exec-Program output: openssl dhparam -out dh 1024
> > Exec-Program-Wait: plaintext: openssl dhparam -out dh 1024
> > Exec-Program: returned: 2
> > rlm_eap: Failed to initialize type tls
> > /etc/raddb/eap.conf[17]: Instantiation failed for module "eap"
> > /etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find module "eap".
> > /etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing authenticate
> > section.
> > 
> > Not sure what to do from here.

check the permissions of the raddb directory where radiusd stores config etc.
you need to ensure that the certs directory in which the EAP files are created
is readable and writable by the id under which radiusd runs - eg radiusd user

alan



More information about the Freeradius-Users mailing list