Freeradius service - unexpected restarts
On our Freeradius 2.0.12 on Ubuntu 14.04 server, we are sometimes experiencing repeated service restarts. $ 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? Peter Hutchison MCP Senior Network Systems Specialist * 01484 473716 Networks Team University of Huddersfield | Queensgate | Huddersfield | HD1 3DH University of Huddersfield inspiring tomorrow's professionals. [http://marketing.hud.ac.uk/_HOSTED/EmailSig2014/EmailSigFooter.jpg] This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
On Fri, Oct 13, 2017 at 3:17 PM, Peter Hutchison <p.j.hutchison@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
On Oct 13, 2017, at 4:17 AM, Peter Hutchison <p.j.hutchison@hud.ac.uk> wrote:
On our Freeradius 2.0.12 on Ubuntu 14.04 server, we are sometimes experiencing repeated service restarts. ...
Any ideas what cause the freeradius service to stop and restart repeatedly like this?
You're running a version of the server which is a decade out of date. Upgrade to 2.2.10. And, reply to messages on the thread. Don't reply to digest messages. It breaks the flow of the thread, and makes it confusing. Alan DeKok.
participants (3)
-
Alan DeKok -
Fajar A. Nugraha -
Peter Hutchison