PDA

View Full Version : Problem starting freeradius


myha
December 10th, 2008, 13:31
Hello everyone,

I am trying to setup freeradius on FreeBSD and I have problems with starting the service. It compiled without problems, I am able to run it in the debug mode but not through rc script:

[root@polmer1 /]# /usr/local/etc/rc.d/radiusd start
[root@polmer1 /]#

Basically nothing really happens, I have checked the processes and it is not running, not error info or anything.

Any idea?

Thanks,
brm

EDIT: sorry, wrong forum. Please move.

bsddaemon
December 10th, 2008, 13:37
Myha, output of /var/log/radius.log could be useful :)

DutchDaemon
December 10th, 2008, 13:41
Also, is there a radius_enable (or something) setting in rc.conf?

myha
December 10th, 2008, 14:14
Hi, radius log is empty, checked that already.

I can't find any setting for radius in rc.conf...
[root@polmer1 ~]# grep -i rad /etc/defaults/rc.conf
# values set in this file. This eases the upgrade path when defaults
[root@polmer1 ~]#

myha
December 10th, 2008, 14:29
Ok, It looks like it exists:
radiusd_enable="YES" :/ It works now.

so where can I find all the options for rc.conf?

Thanks for answers.

DutchDaemon
December 10th, 2008, 14:33
You will find the defaults in /etc/defaults/rc.conf (only use settings in /etc/rc.conf if you want to override those defaults). Port-specific settings are usually in the /usr/local/etc/rc.d/ start script.

myha
December 10th, 2008, 15:59
hi, as you can see above I tried to search for this setting but didnt find it.

bsddaemon
December 10th, 2008, 16:02
The file you are after is /usr/local/etc/rc.d/radiusd