[Bug 367769] [NEW] freeradius init script not consistent with radiusd.conf

Julian admin at netlink.ie
Mon Apr 27 08:23:06 BST 2009

Public bug reported:

Binary package hint: freeradius

I'm running the latest stable, Ubuntu 9.04. I installed the package
freeradius and freeradius-mysql, along with its dependencies.

It took me 8 hours to figure out why freeradius was not working! I kept getting following errors:
Failed binding to socket: Address already in use
/etc/freeradius/radiusd.conf[236]: Error binding to port for port 1812

root at delta:/etc/freeradius# /etc/init.d/freeradius stop
 * Stopping FreeRADIUS daemon freeradius
 * /var/run/freeradius/freeradius.pid not found...

This made me think that freeradius was not running, and I wasn't able to
start it since the port was already in use, but could not figure out

Eventually, I noticed that /etc/freeradius/radiusd.conf was using
/var/run/radiusd/radiusd.pid, while the init script was using

I changed the radiusd.conf file to use
/var/run/freeradius/freeradius.pid, which resolved the issue.

I guess this will be an easy one to fix. Am kicking myself for not
having noticed it sooner!

The package version is 2.1.0+dfsg-0ubuntu4.

** Affects: freeradius (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: freeradius

freeradius init script not consistent with radiusd.conf
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to freeradius in ubuntu.

More information about the Ubuntu-server-bugs mailing list