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 0.0.0.0 port 1812

r...@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
where.

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

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
https://bugs.launchpad.net/bugs/367769
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to freeradius in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to