<div dir="ltr"><br><div>Hi,</div><div><br></div><div>I am using the git versions of 3.x, and I *think* that maybe for a month, there has been a bug that prevents freeradius to boot it in Debian 7 if control-socket is configured.</div>
<div><br></div><div>I have tried this with a copy of my configuration, and with a pristine copy of freeradius, which only got inserted the link to activate control socket into sites-enabled.</div><div><br></div><div>Without control-socket all is well:</div>
<div><br></div><div>without control socket:</div><div><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">root@x:/etc/freeradius/sites-enabled# /etc/init.d/freeradius start</p>

<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">[<span style="color:rgb(0,165,0)"> ok </span>] Starting FreeRADIUS daemon: freeradius.</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">root@x:/etc/freeradius/sites-enabled# </p></div><div><br></div><div><br></div><div>The errors are:</div><div>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">root@x:/home/rui# /etc/init.d/freeradius start</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">[<span style="color:rgb(177,37,18)">FAIL</span>] Starting FreeRADIUS daemon: freeradius <span style="color:rgb(177,37,18)">failed!</span></p>

<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">root@x:/home/rui# /etc/init.d/freeradius restart</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">[....] Checking FreeRADIUS daemon configuration...Trace/breakpoint trap</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(177,37,18);background-color:rgb(223,219,196)">failed (Debugger detected, raising SIGTRAP).</p><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(177,37,18);background-color:rgb(223,219,196)">
<br></p></div><div><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">#freeradius -X</p><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">
....</p><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">....</p><p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">
radiusd: #### Opening IP addresses and Ports ####</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">listen {</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)"> <span class="" style="white-space:pre">      </span>type = "control"</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)"> listen {</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)"> <span class="" style="white-space:pre">      </span>socket = "/var/run/freeradius/freeradius.sock"</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)"> }</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(177,37,18);background-color:rgb(223,219,196)">/etc/freeradius/sites-enabled/control-socket[23]: No such server "(null)"</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">Debugger detected, raising SIGTRAP</p>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">Trace/breakpoint trap</p></div><div><br></div><div>In /var/log/freeradius/radius.log, I only have:</div><div>
<p style="margin:0px;font-size:15px;font-family:Courier;color:rgb(76,47,45);background-color:rgb(223,219,196)">Mon Jul 28 12:13:35 2014 : Error: /etc/freeradius/sites-enabled/control-socket[23]: No such server "(null)"</p>
</div><div><br></div><div>Regards,</div><div>Rui Ribeiro</div><div>ISCTE-IUL sysadmin</div><div><br></div></div>