Freeradius service - unexpected restarts

Fajar A. Nugraha list at fajar.net
Fri Oct 13 10:26:24 CEST 2017


On Fri, Oct 13, 2017 at 3:17 PM, Peter Hutchison <p.j.hutchison at hud.ac.uk>
wrote:

> On our Freeradius 2.0.12 on Ubuntu 14.04 server, we are sometimes
> experiencing repeated service restarts.
>
>
2.0.12? Why? Even ubuntu's bundled version is at 2.1.12+dfsg-1.2ubuntu8.2
Or is it a typo?



> $ grep freeradius /var/log/syslog.1
> Oct 12 16:08:52 texas kernel: [1380110.477452] init: freeradius main
> process (1688) terminated with status 1
> Oct 12 16:08:52 texas kernel: [1380110.477460] init: freeradius main
> process ended, respawning
> Oct 12 16:08:52 texas kernel: [1380110.589303] init: freeradius main
> process (1699) terminated with status 1
> Oct 12 16:08:52 texas kernel: [1380110.589312] init: freeradius main
> process ended, respawning
> Oct 12 16:08:52 texas kernel: [1380110.698334] init: freeradius main
> process (1708) terminated with status 1
> Oct 12 16:08:52 texas kernel: [1380110.698342] init: freeradius main
> process ended, respawning
> Oct 12 16:08:52 texas kernel: [1380110.808440] init: freeradius main
> process (1718) terminated with status 1
> Oct 12 16:08:52 texas kernel: [1380110.808449] init: freeradius main
> process ended, respawning
>
> Alert from monit:
>
>
> Timeout Service freeradius
>
>                  Date:        Thu, 12 Oct 2017 16:21:23
>
>                  Action:      unmonitor
>
>                  Host:        texas.hud.ac.uk
>
>                  Description: service restarted 5 times within 5 cycles(s)
> - unmonitor
>
> Any ideas what cause the freeradius service to stop and restart repeatedly
> like this?
>
>
- do you run latest version of FR (or at least, latest available from your
distro)?
- does it happen often, or only on that specified time?
- does something happen on that time that restart freeradius (e.g.
logrotate, apt-get upgrade, or something)?
- does FR access external things (e.g. database)? What is the state of
those systems at that time?

The usual troubleshooting methods would be 'run freeradius in debug mode
and read the logs', but it might not be able to help you much if the
problem is due FR being restarted.

-- 
Fajar


More information about the Freeradius-Users mailing list