Hi, now it segfaults during instantiation of the default vserver: treebeard:/usr/local/freeradius/cvs/sbin # ./radiusd -X FreeRADIUS Version 2.0.0-beta, for host i686-pc-linux-gnu, built on Jan 4 2008 at 14:25:51 Copyright (C) 2000-2007 The FreeRADIUS server project. 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. Starting - reading configuration files ... including configuration file /usr/local/freeradius/config/raddb/radiusd.conf including configuration file /usr/local/freeradius/config/raddb/proxy.conf including configuration file /usr/local/freeradius/config/raddb/clients.conf including configuration file /usr/local/freeradius/config/raddb/snmp.conf including configuration file /usr/local/freeradius/config/raddb/eap.conf including configuration file /usr/local/freeradius/config/raddb/sql.conf including configuration file /usr/local/freeradius/config/raddb/sql/mysql/dialup.conf including configuration file /usr/local/freeradius/config/raddb/sql/mysql/counter.conf including configuration file /usr/local/freeradius/config/raddb/policy.conf including files in directory /usr/local/freeradius/config/raddb/sites-enabled/ including configuration file /usr/local/freeradius/config/raddb/sites-enabled/default including dictionary file /usr/local/freeradius/config/raddb/dictionary main { prefix = "/usr/local/freeradius/cvs" localstatedir = "/usr/local/freeradius/cvs/var" logdir = "/usr/local/freeradius/cvs/var/log/radius" libdir = "/usr/local/freeradius/cvs/lib" radacctdir = "/usr/local/freeradius/cvs/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 allow_core_dumps = no log_stripped_names = no log_file = "/usr/local/freeradius/cvs/var/log/radius/radius.log" log_auth = no log_auth_badpass = no log_auth_goodpass = no pidfile = "/usr/local/freeradius/cvs/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius/cvs/sbin/checkrad" debug_level = 0 proxy_requests = yes log { syslog_facility = "daemon" stripped_names = no file = "/usr/local/freeradius/cvs/var/log/radius/radius.log" auth = no auth_badpass = no auth_goodpass = no } security { max_attributes = 200 reject_delay = 1 status_server = yes } } client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "testing123" nastype = "other" } 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 zombie_period = 40 status_check = "status-server" ping_check = "none" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating exec exec { wait = yes input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating expr Module: Linked to module rlm_expiration Module: Instantiating expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server { modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating pap pap { encryption_scheme = "auto" auto_header = no } Module: Linked to module rlm_chap Module: Instantiating chap Module: Linked to module rlm_mschap Module: Instantiating mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_unix Module: Instantiating unix unix { radwtmp = "/usr/local/freeradius/cvs/var/log/radius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no } Module: Linked to sub-module rlm_eap_md5 Module: Instantiating eap-md5 Module: Linked to sub-module rlm_eap_leap Module: Instantiating eap-leap Module: Linked to sub-module rlm_eap_gtc Module: Instantiating eap-gtc gtc { challenge = "Password: " auth_type = "PAP" } Segmentation fault Virgin configuration, meaning the next module would be EAP-TLS. There's no gdb on that old system. I can try to find an ancient installation media though... Stefan -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche Ingenieur Forschung & Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg E-Mail: stefan.winter@restena.lu Tel.: +352 424409-1 http://www.restena.lu Fax: +352 422473
Virgin configuration, meaning the next module would be EAP-TLS. There's no gdb on that old system. I can try to find an ancient installation media though...
Then again, our archives only date back to Suse 8.0, and I don't really need EAP, and it starts fine when eap is disabled. Stefan -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche Ingenieur Forschung & Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg E-Mail: stefan.winter@restena.lu Tel.: +352 424409-1 http://www.restena.lu Fax: +352 422473
Stefan Winter wrote:
Hi,
now it segfaults during instantiation of the default vserver: ... Virgin configuration, meaning the next module would be EAP-TLS.
This is usually related to having two different versions of OpenSSL on the system. One is found during the build, and another when the server actually runs. i.e. symbolic names that the server needs aren't there when it runs. i.e. blame the run-time linker for it segfaulting. Alan DeKok.
participants (4)
-
Alan DeKok -
Duane Cox -
Emre EROSAL -
Stefan Winter