<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.3041" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=FR vLink=purple link=blue>
<DIV id=DSEPDIV><SPAN 
style="FONT-SIZE: 12pt; COLOR: rgb(0,0,0); FONT-FAMILY: Arial,sans-serif; TEXT-ALIGN: left"><STRONG>UNCLASSIFIED</STRONG></SPAN><BR><BR></DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> 
freeradius-users-bounces+frank.ranner=defence.gov.au@lists.freeradius.org 
[mailto:freeradius-users-bounces+frank.ranner=defence.gov.au@lists.freeradius.org] 
<B>On Behalf Of </B>Nicolas<BR><B>Sent:</B> Thursday, 31 January 2008 
03:04<BR><B>To:</B> freeradius-users@lists.freeradius.org<BR><B>Subject:</B> 
radiusd service do not start<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I installed freeradius to manage the 
wifi network of our organization (17 wifi ap)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">It works well when launched in 
command line (radiusd –X), but I can’t make it work as a 
service,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">‘Service radiusd start’ seems to 
work, but radius close immediately after, so a status will say that radiusd is 
dead, but subsys is locked.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>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.</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007></SPAN></o:p></SPAN></FONT> </P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>Try: </SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>strace -f -e open,stat 
radiusd</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>and look for lines with EPERM indicating files that 
failed to open because of permission fails. These will probably be owned by 
root.</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007></SPAN></o:p></SPAN></FONT> </P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>regards,</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#0000ff><SPAN lang=EN-GB 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN 
class=350543804-13112007>Frank 
Ranner</SPAN></o:p></SPAN></FONT></P></DIV></BODY></HTML>