ok, this is out when i write "radiusd -X -x" : Mon Oct 20 12:08:36 2008 : Info: FreeRADIUS Version 2.0.5, for host x86_64-unknown-linux-gnu, built on Sep 3 2008 at 17:32:08 Mon Oct 20 12:08:36 2008 : Info: Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. Mon Oct 20 12:08:36 2008 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Mon Oct 20 12:08:36 2008 : Info: PARTICULAR PURPOSE. Mon Oct 20 12:08:36 2008 : Info: You may redistribute copies of FreeRADIUS under the terms of the Mon Oct 20 12:08:36 2008 : Info: GNU General Public License v2. Mon Oct 20 12:08:36 2008 : Info: Starting - reading configuration files ... Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/radiusd.conf Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/proxy.conf Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/clients.conf Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/snmp.conf Mon Oct 20 12:08:36 2008 : Debug: including files in directory /usr/local/etc/raddb/modules/ Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/mac2vlan Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/ldap Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/smbpasswd Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/files Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/policy Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/echo Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/passwd Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/expr Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/attr_filter Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/always Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/realm Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/ippool Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/preprocess Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/chap Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/unix Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/mschap Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/radutmp Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/detail Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/expiration Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/pam Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/checkval Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/logintime Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/pap Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/etc_group Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/detail.log Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/acct_unique Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/mac2ip Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/digest Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/attr_rewrite Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/sradutmp Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/krb5 Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/exec Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/sql_log Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/modules/counter Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/eap.conf Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/policy.conf Mon Oct 20 12:08:36 2008 : Debug: including files in directory /usr/local/etc/raddb/sites-enabled/ Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel Mon Oct 20 12:08:36 2008 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/default Mon Oct 20 12:08:36 2008 : Debug: including dictionary file /usr/local/etc/raddb/dictionary Mon Oct 20 12:08:36 2008 : Debug: main { Mon Oct 20 12:08:36 2008 : Debug: prefix = "/usr/local" Mon Oct 20 12:08:36 2008 : Debug: localstatedir = "/usr/local/var" Mon Oct 20 12:08:36 2008 : Debug: logdir = "/usr/local/var/log/radius" Mon Oct 20 12:08:36 2008 : Debug: libdir = "/usr/local/lib" Mon Oct 20 12:08:36 2008 : Debug: radacctdir = "/usr/local/var/log/radius/radacct" Mon Oct 20 12:08:36 2008 : Debug: hostname_lookups = no Mon Oct 20 12:08:36 2008 : Debug: max_request_time = 30 Mon Oct 20 12:08:36 2008 : Debug: cleanup_delay = 5 Mon Oct 20 12:08:36 2008 : Debug: max_requests = 1024 Mon Oct 20 12:08:36 2008 : Debug: allow_core_dumps = no Mon Oct 20 12:08:36 2008 : Debug: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" Mon Oct 20 12:08:36 2008 : Debug: checkrad = "/usr/local/sbin/checkrad" Mon Oct 20 12:08:36 2008 : Debug: debug_level = 0 Mon Oct 20 12:08:36 2008 : Debug: proxy_requests = yes Mon Oct 20 12:08:36 2008 : Debug: log { Mon Oct 20 12:08:36 2008 : Debug: stripped_names = no Mon Oct 20 12:08:36 2008 : Debug: auth = no Mon Oct 20 12:08:36 2008 : Debug: auth_badpass = no Mon Oct 20 12:08:36 2008 : Debug: auth_goodpass = no Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: client 10.0.31.40 { Mon Oct 20 12:08:36 2008 : Debug: require_message_authenticator = no Mon Oct 20 12:08:36 2008 : Debug: secret = "testing123" Mon Oct 20 12:08:36 2008 : Debug: shortname = "ap2" Mon Oct 20 12:08:36 2008 : Debug: nastype = "other" Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: radiusd: #### Loading Realms and Home Servers #### Mon Oct 20 12:08:36 2008 : Debug: proxy server { Mon Oct 20 12:08:36 2008 : Debug: retry_delay = 5 Mon Oct 20 12:08:36 2008 : Debug: retry_count = 3 Mon Oct 20 12:08:36 2008 : Debug: default_fallback = no Mon Oct 20 12:08:36 2008 : Debug: dead_time = 120 Mon Oct 20 12:08:36 2008 : Debug: wake_all_if_all_dead = no Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: home_server localhost { Mon Oct 20 12:08:36 2008 : Debug: ipaddr = 127.0.0.1 Mon Oct 20 12:08:36 2008 : Debug: port = 1812 Mon Oct 20 12:08:36 2008 : Debug: type = "auth" Mon Oct 20 12:08:36 2008 : Debug: secret = "testing123" Mon Oct 20 12:08:36 2008 : Debug: response_window = 20 Mon Oct 20 12:08:36 2008 : Debug: max_outstanding = 65536 Mon Oct 20 12:08:36 2008 : Debug: zombie_period = 40 Mon Oct 20 12:08:36 2008 : Debug: status_check = "status-server" Mon Oct 20 12:08:36 2008 : Debug: ping_check = "none" Mon Oct 20 12:08:36 2008 : Debug: ping_interval = 30 Mon Oct 20 12:08:36 2008 : Debug: check_interval = 30 Mon Oct 20 12:08:36 2008 : Debug: num_answers_to_alive = 3 Mon Oct 20 12:08:36 2008 : Debug: num_pings_to_alive = 3 Mon Oct 20 12:08:36 2008 : Debug: revive_interval = 120 Mon Oct 20 12:08:36 2008 : Debug: status_check_timeout = 4 Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: home_server_pool my_auth_failover { Mon Oct 20 12:08:36 2008 : Debug: type = fail-over Mon Oct 20 12:08:36 2008 : Debug: home_server = localhost Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: realm example.com { Mon Oct 20 12:08:36 2008 : Debug: auth_pool = my_auth_failover Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: realm LOCAL { Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: radiusd: #### Instantiating modules #### Mon Oct 20 12:08:36 2008 : Debug: instantiate { Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_exec, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_exec Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating exec Mon Oct 20 12:08:36 2008 : Debug: exec { Mon Oct 20 12:08:36 2008 : Debug: wait = no Mon Oct 20 12:08:36 2008 : Debug: input_pairs = "request" Mon Oct 20 12:08:36 2008 : Debug: shell_escape = yes Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_expr, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_expr Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating expr Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_expiration, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_expiration Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating expiration Mon Oct 20 12:08:36 2008 : Debug: expiration { Mon Oct 20 12:08:36 2008 : Debug: reply-message = "Password Has Expired " Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_logintime, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_logintime Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating logintime Mon Oct 20 12:08:36 2008 : Debug: logintime { Mon Oct 20 12:08:36 2008 : Debug: reply-message = "You are calling outside your allowed timespan " Mon Oct 20 12:08:36 2008 : Debug: minimum-timeout = 60 Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: radiusd: #### Loading Virtual Servers #### Mon Oct 20 12:08:36 2008 : Debug: server inner-tunnel { Mon Oct 20 12:08:36 2008 : Debug: modules { Mon Oct 20 12:08:36 2008 : Debug: Module: Checking authenticate {...} for more modules to load Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_pap, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_pap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating pap Mon Oct 20 12:08:36 2008 : Debug: pap { Mon Oct 20 12:08:36 2008 : Debug: encryption_scheme = "auto" Mon Oct 20 12:08:36 2008 : Debug: auto_header = no Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_chap, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_chap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating chap Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_mschap, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_mschap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating mschap Mon Oct 20 12:08:36 2008 : Debug: mschap { Mon Oct 20 12:08:36 2008 : Debug: use_mppe = yes Mon Oct 20 12:08:36 2008 : Debug: require_encryption = no Mon Oct 20 12:08:36 2008 : Debug: require_strong = no Mon Oct 20 12:08:36 2008 : Debug: with_ntdomain_hack = no Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_unix, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_unix Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating unix Mon Oct 20 12:08:36 2008 : Debug: unix { Mon Oct 20 12:08:36 2008 : Debug: radwtmp = "/usr/local/var/log/radius/radwtmp" Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_eap, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_eap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating eap Mon Oct 20 12:08:36 2008 : Debug: eap { Mon Oct 20 12:08:36 2008 : Debug: default_eap_type = "md5" Mon Oct 20 12:08:36 2008 : Debug: timer_expire = 60 Mon Oct 20 12:08:36 2008 : Debug: ignore_unknown_eap_types = no Mon Oct 20 12:08:36 2008 : Debug: cisco_accounting_username_bug = no Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to sub-module rlm_eap_leap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating eap-leap Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to sub-module rlm_eap_gtc Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating eap-gtc Mon Oct 20 12:08:36 2008 : Debug: gtc { Mon Oct 20 12:08:36 2008 : Debug: challenge = "Password: " Mon Oct 20 12:08:36 2008 : Debug: auth_type = "PAP" Mon Oct 20 12:08:36 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Debug: Module: Linked to sub-module rlm_eap_tls Mon Oct 20 12:08:37 2008 : Debug: Module: Instantiating eap-tls Mon Oct 20 12:08:37 2008 : Debug: tls { Mon Oct 20 12:08:37 2008 : Debug: rsa_key_exchange = no Mon Oct 20 12:08:37 2008 : Debug: dh_key_exchange = yes Mon Oct 20 12:08:37 2008 : Debug: rsa_key_length = 512 Mon Oct 20 12:08:37 2008 : Debug: dh_key_length = 512 Mon Oct 20 12:08:37 2008 : Debug: verify_depth = 0 Mon Oct 20 12:08:37 2008 : Debug: pem_file_type = yes Mon Oct 20 12:08:37 2008 : Debug: private_key_file = "/usr/local/etc/raddb/certs/server.pem" Mon Oct 20 12:08:37 2008 : Debug: certificate_file = "/usr/local/etc/raddb/certs/server.pem" Mon Oct 20 12:08:37 2008 : Debug: CA_file = "/usr/local/etc/raddb/certs/ca.pem" Mon Oct 20 12:08:37 2008 : Debug: private_key_password = "testing123" Mon Oct 20 12:08:37 2008 : Debug: dh_file = "/usr/local/etc/raddb/certs/dh" Mon Oct 20 12:08:37 2008 : Debug: random_file = "/usr/local/etc/raddb/certs/random" Mon Oct 20 12:08:37 2008 : Debug: fragment_size = 1024 Mon Oct 20 12:08:37 2008 : Debug: include_length = yes Mon Oct 20 12:08:37 2008 : Debug: check_crl = no Mon Oct 20 12:08:37 2008 : Debug: cipher_list = "DEFAULT" Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Debug: Module: Linked to sub-module rlm_eap_peap Mon Oct 20 12:08:37 2008 : Debug: Module: Instantiating eap-peap Mon Oct 20 12:08:37 2008 : Debug: peap { Mon Oct 20 12:08:37 2008 : Debug: default_eap_type = "mschapv2" Mon Oct 20 12:08:37 2008 : Debug: copy_request_to_tunnel = no Mon Oct 20 12:08:37 2008 : Debug: use_tunneled_reply = no Mon Oct 20 12:08:37 2008 : Debug: proxy_tunneled_request_as_eap = yes Mon Oct 20 12:08:37 2008 : Debug: virtual_server = "inner-tunnel" Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Debug: Module: Linked to sub-module rlm_eap_mschapv2 Mon Oct 20 12:08:37 2008 : Debug: Module: Instantiating eap-mschapv2 Mon Oct 20 12:08:37 2008 : Debug: mschapv2 { Mon Oct 20 12:08:37 2008 : Debug: with_ntdomain_hack = no Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Error: rlm_eap: No such sub-type for default EAP type md5 Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/eap.conf[17]: Instantiation failed for module "eap" Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find module "eap". Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing authenticate section. Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Error: Errors initializing modules
Hi,
ok, this is out when i write "radiusd -X -x" :
just the one big X will do thanks okay, heres the issue
Mon Oct 20 12:08:36 2008 : Debug: (Loaded rlm_eap, checking if it's valid) Mon Oct 20 12:08:36 2008 : Debug: Module: Linked to module rlm_eap Mon Oct 20 12:08:36 2008 : Debug: Module: Instantiating eap Mon Oct 20 12:08:36 2008 : Debug: eap { Mon Oct 20 12:08:36 2008 : Debug: default_eap_type = "md5"
you've got the default type as md5
Mon Oct 20 12:08:37 2008 : Debug: Module: Instantiating eap-mschapv2 Mon Oct 20 12:08:37 2008 : Debug: mschapv2 { Mon Oct 20 12:08:37 2008 : Debug: with_ntdomain_hack = no Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Error: rlm_eap: No such sub-type for default EAP type md5
but then you've removed or commented out the md5 stanza from eap.conf
Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/eap.conf[17]: Instantiation failed for module "eap" Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find module "eap".
rlm_eap has failed to load because you've messed the config up - and therefore anything that depends on eap will fail.
Mon Oct 20 12:08:37 2008 : Error: /usr/local/etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing authenticate section. Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Debug: } Mon Oct 20 12:08:37 2008 : Error: Errors initializing modules
..finally, because a virtual server cannot start up, then neither can the main process fix your eap.conf (hell, just set default type to be peap if thats all you want and need) and all will be better alan
participants (2)
-
A.L.M.Buxey@lboro.ac.uk -
Martin Silvero