running freeradius on ubuntu 12.04 LTS fails

philip picture philip · Apr 2, 2014 · Viewed 10.4k times · Source

i am trying to get mikrotik,freeradius and daloradius work together. all this are working but for freeradius.

when i run '~$ sudo service freeradius restart' i get

'jazabilling@jazawifi:~$ sudo service freeradius restart * Stopping FreeRADIUS daemon freeradius
* /var/run/freeradius/freeradius.pid not found... [ OK ] * Starting FreeRADIUS daemon freeradius [fail]

i have tried 'jazabilling@jazawifi:~$ sudo apt-get purge freeradius' but nothing .....so heeeelp!

Answer

Arran Cudbard-Bell picture Arran Cudbard-Bell · Apr 4, 2014

Run freeradius manually in debugging mode to find out why it didn't start /usr/sbin/freeradius -X.

Depending on the version edit the port configuration item in the listen {} section in raddb/radiusd.conf or raddb/freeradius.conf or for version 3, do the same but in raddb/sites-available/defatult. Note: Those bind warnings usually mean a version of the server has already started check with ps aux.