radiusd service do not start

Nicolas sysadmin at groupe-dasilva.com
Thu Jan 31 08:53:38 CET 2008


Hi,

 

That was my first guess too, but no, I even tried to run it as root, 

The strace log : 

[root at Eliza ~]# strace -f -e open,stat radiusd

open("/etc/ld.so.cache", O_RDONLY)      = 3

open("/lib/libcrypt.so.1", O_RDONLY)    = 3

open("/lib/libssl.so.6", O_RDONLY)      = 3

open("/lib/libcrypto.so.6", O_RDONLY)   = 3

open("/lib/libnsl.so.1", O_RDONLY)      = 3

open("/lib/libresolv.so.2", O_RDONLY)   = 3

open("/lib/libpthread.so.0", O_RDONLY)  = 3

open("/usr/lib/libradius-1.0.5.so", O_RDONLY) = 3

open("/usr/lib/libltdl.so.3", O_RDONLY) = 3

open("/lib/libdl.so.2", O_RDONLY)       = 3

open("/lib/libc.so.6", O_RDONLY)        = 3

open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3

open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3

open("/lib/libcom_err.so.2", O_RDONLY)  = 3

open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3

open("/usr/lib/libz.so.1", O_RDONLY)    = 3

open("/usr/lib/libkrb5support.so.0", O_RDONLY) = 3

open("/etc/localtime", O_RDONLY)        = 3

Thu Jan 31 08:41:24 2008 : Info: Starting - reading configuration files ...

open("/etc/raddb/radiusd.conf", O_RDONLY) = 3

open("/etc/raddb/proxy.conf", O_RDONLY) = 4

open("/etc/raddb/clients.conf", O_RDONLY) = 4

open("/etc/raddb/snmp.conf", O_RDONLY)  = 4

open("/etc/raddb/eap.conf", O_RDONLY)   = 4

open("/etc/raddb/sql.conf", O_RDONLY)   = 4

open("/etc/raddb/dictionary", O_RDONLY) = 3

open("/usr/share/freeradius/dictionary", O_RDONLY) = 4

open("/usr/share/freeradius/dictionary.compat", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.3com", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.3gpp", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.3gpp2", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.acc", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.alcatel", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.alteon", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.ascend", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.bay", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.bintec", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.cabletron", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.cisco", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.cisco.vpn5000", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.cisco.bbsm", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.colubris", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.erx", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.extreme", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.freeradius", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.foundry", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.gandalf", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.garderos", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.gemtek", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.itk", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.juniper", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.karlnet", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.livingston", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.localweb", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.microsoft", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.navini", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.nomadix", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.propel", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.quintum", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.redback", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.redcreek", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.shasta", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.shiva", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.sonicwall", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.springtide", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.telebit", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.trapeze", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.tunnel", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.usr", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.valemount", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.versanet", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.wispr", O_RDONLY) = 5

open("/usr/share/freeradius/dictionary.xedia", O_RDONLY) = 5

open("/etc/raddb/naslist", O_RDONLY)    = 3

open("/usr/local/var/log/radius/radius.log", O_WRONLY|O_CREAT|O_APPEND,
0666) = 4

open("/etc/raddb/clients", O_RDONLY)    = 3

open("/etc/raddb/realms", O_RDONLY)     = 3

open("/etc/nsswitch.conf", O_RDONLY)    = 3

open("/etc/ld.so.cache", O_RDONLY)      = 3

open("/lib/libnss_files.so.2", O_RDONLY) = 3

open("/etc/passwd", O_RDONLY)           = 3

open("/etc/group", O_RDONLY)            = 3

open("/etc/passwd", O_RDONLY)           = 3

open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3

open("/etc/group", O_RDONLY)            = 3

open("/usr/local/var/log/radius/radius.log", O_WRONLY|O_CREAT|O_APPEND,
0666) = 3

Process 10370 detached

 

Nicolas INNOCENT

Resp. Informatique Groupe Da Silva

-----------------------------------------------------

Tél  : 05 62 20 41 31

Fax : 05 62 20 60 04

@   : sysadmin at groupe-dasilva.com

Site web :  <http://www.dasilva.fr/> http://www.dasilva.fr/

-----------------------------------------------------

 

  _____  

De :
freeradius-users-bounces+sysadmin=groupe-dasilva.com at lists.freeradius.org
[mailto:freeradius-users-bounces+sysadmin=groupe-dasilva.com at lists.freeradiu
s.org] De la part de Ranner, Frank MR
Envoyé : jeudi 31 janvier 2008 03:05
À : FreeRadius users mailing list
Objet : RE: radiusd service do not start [SEC=UNCLASSIFIED]

 

UNCLASSIFIED

From:
freeradius-users-bounces+frank.ranner=defence.gov.au at lists.freeradius.org
[mailto:freeradius-users-bounces+frank.ranner=defence.gov.au at lists.freeradiu
s.org] On Behalf Of Nicolas
Sent: Thursday, 31 January 2008 03:04
To: freeradius-users at lists.freeradius.org
Subject: radiusd service do not start

Hi,

 

I installed freeradius to manage the wifi network of our organization (17
wifi ap)

It works well when launched in command line (radiusd –X), but I can’t make
it work as a service,

 

‘Service radiusd start’ seems to work, but radius close immediately after,
so a status will say that radiusd is dead, but subsys is locked.

 

That indicates a permissions problem. When you run radiusd -X it runs as
root. When you start as a service it switches to the user specified in
radiusd.conf, usually radiusd.

 

Try: 

strace -f -e open,stat radiusd

and look for lines with EPERM indicating files that failed to open because
of permission fails. These will probably be owned by root.

 

regards,

Frank Ranner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080131/9df8a1e6/attachment.html>


More information about the Freeradius-Users mailing list