<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>802.1x on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/802.1x/</link>
        <description>Recent content in 802.1x on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Fri, 20 May 2016 08:00:43 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/802.1x/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>[Ubuntu] Freeradius: Improve Uptime</title>
            <link>https://www.nico-maas.de/posts/2016-05-20-ubuntu-freeradius-improve-uptime/</link>
            <pubDate>Fri, 20 May 2016 08:00:43 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2016-05-20-ubuntu-freeradius-improve-uptime/</guid>
            <description>&lt;p&gt;As a network admin, you&amp;rsquo;re going to have at least one Freeradius running, mostly for 802.1x authentication. At my place the problem arised, that the service was down too often - for different reasons.&lt;/p&gt;&#xA;&lt;p&gt;1.) Logrotate&lt;br&gt;&#xA;If you&amp;rsquo;re using logrotate, you should check out /etc/logrotate.d/freeradius:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/var/log/freeradius/*.log {&#xD;&#xA;weekly&#xD;&#xA;rotate 52&#xD;&#xA;compress&#xD;&#xA;delaycompress&#xD;&#xA;notifempty&#xD;&#xA;missingok&#xD;&#xA;postrotate&#xD;&#xA;invoke-rc.d freeradius reload &amp;amp;gt;/dev/null 2&amp;amp;gt;&amp;amp;1 || true&#xD;&#xA;endscript&#xD;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Logrotate does restart freeradius after it swapped the logs with reload, which often results in a crash or race condition (freeradius does not shutdown fast enough, and the restarting process thinks it already got one running process - and both terminate). So to change that, you should stop the process, wait, and start again.&lt;/p&gt;</description>
        </item></channel>
</rss>
