Re: Beginner need help

Himanshu Pandey pandey_himanshu80 at rediffmail.com
Mon Sep 22 15:16:32 CEST 2014


Hi, 
As suggested by you I have taken default radiusd.conf. But I am getting the error:
"/etc/raddb/sites-enabled/default[252]: No such attribute Auth-Type"
The debug log is:
FreeRADIUS Version 2.2.0, for host x86_64-redhat-linux-gnu, built on Dec 15 2012 at 00:26:26Copyright (C) 1999-2012 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ...including configuration file /etc/raddb/radiusd.confincluding configuration file /etc/raddb/proxy.confincluding configuration file /etc/raddb/clients.confincluding files in directory /etc/raddb/mods-enabled/including files in directory /etc/raddb/policy.d/including configuration file /etc/raddb/policy.d/debugincluding configuration file /etc/raddb/policy.d/operator-nameincluding configuration file /etc/raddb/policy.d/filterincluding configuration file /etc/raddb/policy.d/canonicalizationincluding configuration file /etc/raddb/policy.d/cuiincluding configuration file /!
 etc/raddb/policy.d/controlincluding configuration file /etc/raddb/policy.d/accountingincluding configuration file /etc/raddb/policy.d/eapincluding configuration file /etc/raddb/policy.d/dhcpincluding files in directory /etc/raddb/sites-enabled/including configuration file /etc/raddb/sites-enabled/defaultincluding configuration file /etc/raddb/sites-enabled/inner-tunnelmain {	allow_core_dumps = no}including dictionary file /etc/raddb/dictionarymain {	name = "radiusd"	prefix = "/opt/freeradius"	localstatedir = "/opt/freeradius/var"	sbindir = "/opt/freeradius/sbin"	logdir = "/opt/freeradius/var/log/radius"	run_dir = "/opt/freeradius/var/run/radiusd"	libdir = "/opt/freeradius/lib"	radacctdir = "/opt/freeradius/var/log/radius/radacct"	hostname_lookups = no	max_request_time = 30	cleanup_delay = 5	max_requests = 1024	pidfile = "/opt/freeradius/var/run/radiusd/radiusd.pid"	checkrad = "/opt/freeradius/sbin/checkrad"	debug_level = 0	proxy_requests = yes log {	stripped_names = no!
 	auth = no	auth_badpass = no	auth_goodpass = no } security {
	max_attributes = 200	reject_delay = 1	status_server = yes }}radiusd: #### Loading Realms and Home Servers #### proxy server {	retry_delay = 5	retry_count = 3	default_fallback = no	dead_time = 120	wake_all_if_all_dead = no } home_server localhost {	ipaddr = 127.0.0.1	port = 1812	type = "auth"	secret = "testing123"	response_window = 20	max_outstanding = 65536	require_message_authenticator = yes	zombie_period = 40	status_check = "status-server"	ping_interval = 30	check_interval = 30	num_answers_to_alive = 3	num_pings_to_alive = 3	revive_interval = 120	status_check_timeout = 4  coa {	irt = 2	mrt = 16	mrc = 5	mrd = 30  } } home_server_pool my_auth_failover {	type = fail-over	home_server = localhost } realm example.com {	auth_pool = my_auth_failover } realm LOCAL { }radiusd: #### Loading Clients #### client 127.0.0.1 {	ipaddr = 127.0.0.1	require_message_authenticator = no	secret = !
 "testing123"	nastype = "other" }radiusd: #### Instantiating modules #### instantiate { }radiusd: #### Loading Virtual Servers ####server { # from file /etc/raddb/radiusd.conf modules {/etc/raddb/sites-enabled/default[252]: No such attribute Auth-Type
Please help.
Regards,Sonu
From: Alan DeKok <aland at deployingradius.com>
Sent: Mon, 22 Sep 2014 18:22:39 
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: Beginner need help
Himanshu Pandey wrote:

> I modified users configuration file and radiusd.conf.



 If you don't know what you're doing, DO NOT EDIT THE FILES.



 This isn't difficult.



> I have attached radiusd.conf file.



 I'm not going to read it. The default radiusd.conf file works. Use it.



> Please tell me what shall I not modify in

> radiusd.conf file. Actually I did some modifications in radiusd.conf

> file since I was getting some error in starting the radius server.



 Nonsense. The default configuration works.



 Alan DeKok.

-

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/3cd3b2cb/attachment.html>


More information about the Freeradius-Users mailing list