SQL modul
Miha Zoubek
miha_zoubek at hotmail.com
Thu Dec 2 08:25:39 CET 2010
Hello,
at the end of this file I am getting massage Failed to load module"sql".
Could you please help me what to do ?
Thank you!
miha[root at localhost sites-available]# /usr/local/sbin/radiusd -XFreeRADIUS Version 2.1.10, for host x86_64-unknown-linux-gnu, built on Dec 1 2010 at 14:25:01Copyright (C) 1999-2009 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 /usr/local/etc/raddb/radiusd.confincluding configuration file /usr/local/etc/raddb/proxy.confincluding configuration file /usr/local/etc/raddb/clients.confincluding files in directory /usr/local/etc/raddb/modules/including configuration file /usr/local/etc/raddb/modules/checkvalincluding configuration file /usr/local/etc/raddb/modules/krb5including configuration file /usr/local/etc/raddb/modules/sql_logincluding configuration file /usr/local/etc/raddb/modules/linelogincluding configuration file /usr/local/etc/raddb/modules/execincluding configuration file /usr/local/etc/raddb/modules/ldapincluding configuration file /usr/local/etc/raddb/modules/sradutmpincluding configuration file /usr/local/etc/raddb/modules/chapincluding configuration file /usr/local/etc/raddb/modules/radutmpincluding configuration file /usr/local/etc/raddb/modules/inner-eapincluding configuration file /usr/local/etc/raddb/modules/unixincluding configuration file/usr/local/etc/raddb/modules/sqlcounter_expire_on_loginincluding configuration file /usr/local/etc/raddb/modules/dynamic_clientsincluding configuration file /usr/local/etc/raddb/modules/mac2ipincluding configuration file /usr/local/etc/raddb/modules/counterincluding configuration file /usr/local/etc/raddb/modules/smbpasswdincluding configuration file /usr/local/etc/raddb/modules/filesincluding configuration file /usr/local/etc/raddb/modules/realmincluding configuration file /usr/local/etc/raddb/modules/etc_groupincluding configuration file /usr/local/etc/raddb/modules/pamincluding configuration file /usr/local/etc/raddb/modules/acct_uniqueincluding configuration file /usr/local/etc/raddb/modules/detail.example.comincluding configuration file /usr/local/etc/raddb/modules/preprocessincluding configuration file /usr/local/etc/raddb/modules/digestincluding configuration file /usr/local/etc/raddb/modules/mac2vlanincluding configuration file /usr/local/etc/raddb/modules/opendirectoryincluding configuration file /usr/local/etc/raddb/modules/attr_rewriteincluding configuration file /usr/local/etc/raddb/modules/otpincluding configuration file /usr/local/etc/raddb/modules/policyincluding configuration file /usr/local/etc/raddb/modules/ippoolincluding configuration file /usr/local/etc/raddb/modules/logintimeincluding configuration file /usr/local/etc/raddb/modules/wimaxincluding configuration file /usr/local/etc/raddb/modules/expirationincluding configuration file /usr/local/etc/raddb/modules/attr_filterincluding configuration file /usr/local/etc/raddb/modules/smsotpincluding configuration file /usr/local/etc/raddb/modules/ntlm_authincluding configuration file /usr/local/etc/raddb/modules/detailincluding configuration file /usr/local/etc/raddb/modules/mschapincluding configuration file /usr/local/etc/raddb/modules/detail.logincluding configuration file /usr/local/etc/raddb/modules/papincluding configuration file /usr/local/etc/raddb/modules/alwaysincluding configuration file /usr/local/etc/raddb/modules/passwdincluding configuration file /usr/local/etc/raddb/modules/cuiincluding configuration file /usr/local/etc/raddb/modules/exprincluding configuration file /usr/local/etc/raddb/modules/echoincluding configuration file /usr/local/etc/raddb/modules/perlincluding configuration file /usr/local/etc/raddb/eap.confincluding configuration file /usr/local/etc/raddb/sql.confincluding configuration file /usr/local/etc/raddb/policy.confincluding files in directory /usr/local/etc/raddb/sites-enabled/including configuration file/usr/local/etc/raddb/sites-enabled/control-socketincluding configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnelincluding configuration file /usr/local/etc/raddb/sites-enabled/defaultmain {allow_core_dumps = no}including dictionary file /usr/local/etc/raddb/dictionarymain {prefix = "/usr/local"localstatedir = "/usr/local/var"logdir = "/usr/local/var/log/radius"libdir = "/usr/local/lib"radacctdir = "/usr/local/var/log/radius/radacct"hostname_lookups = nomax_request_time = 30cleanup_delay = 5max_requests = 1024pidfile = "/usr/local/var/run/radiusd/radiusd.pid"checkrad = "/usr/local/sbin/checkrad"debug_level = 0proxy_requests = yeslog {stripped_names = noauth = noauth_badpass = noauth_goodpass = no}security {max_attributes = 200reject_delay = 1status_server = yes}}radiusd: #### Loading Realms and Home Servers ####proxy server {retry_delay = 5retry_count = 3default_fallback = nodead_time = 120wake_all_if_all_dead = no}home_server localhost {ipaddr = 127.0.0.1port = 1812type = "auth"secret = "testing123"response_window = 20max_outstanding = 65536require_message_authenticator = yeszombie_period = 40status_check = "status-server"ping_interval = 30check_interval = 30num_answers_to_alive = 3num_pings_to_alive = 3revive_interval = 120status_check_timeout = 4irt = 2mrt = 16mrc = 5mrd = 30}home_server_pool my_auth_failover {type = fail-overhome_server = localhost}realm example.com {auth_pool = my_auth_failover}realm LOCAL {}radiusd: #### Loading Clients ####client localhost {ipaddr = 127.0.0.1require_message_authenticator = nosecret = "testing123"nastype = "cisco"}client xxx.xxx.xxx.xxx {require_message_authenticator = nosecret = "12345"shortname = "intraswitch"}radiusd: #### Instantiating modules ####instantiate {Module: Linked to module rlm_execModule: Instantiating module "exec" from file/usr/local/etc/raddb/modules/execexec {wait = noinput_pairs = "request"shell_escape = yes}Module: Linked to module rlm_exprModule: Instantiating module "expr" from file/usr/local/etc/raddb/modules/exprModule: Linked to module rlm_expirationModule: Instantiating module "expiration" from file/usr/local/etc/raddb/modules/expirationexpiration {reply-message = "Password Has Expired "}Module: Linked to module rlm_logintimeModule: Instantiating module "logintime" from file/usr/local/etc/raddb/modules/logintimelogintime {reply-message = "You are calling outside your allowed timespan "minimum-timeout = 60}}radiusd: #### Loading Virtual Servers ####server inner-tunnel { # from file/usr/local/etc/raddb/sites-enabled/inner-tunnelmodules {Module: Checking authenticate {...} for more modules to loadModule: Linked to module rlm_papModule: Instantiating module "pap" from file/usr/local/etc/raddb/modules/pappap {encryption_scheme = "auto"auto_header = no}Module: Linked to module rlm_chapModule: Instantiating module "chap" from file/usr/local/etc/raddb/modules/chapModule: Linked to module rlm_mschapModule: Instantiating module "mschap" from file/usr/local/etc/raddb/modules/mschapmschap {use_mppe = yesrequire_encryption = norequire_strong = nowith_ntdomain_hack = no}Module: Linked to module rlm_unixModule: Instantiating module "unix" from file/usr/local/etc/raddb/modules/unixunix {radwtmp = "/usr/local/var/log/radius/radwtmp"}Module: Linked to module rlm_eapModule: Instantiating module "eap" from file /usr/local/etc/raddb/eap.confeap {default_eap_type = "md5"timer_expire = 60ignore_unknown_eap_types = nocisco_accounting_username_bug = nomax_sessions = 4096}Module: Linked to sub-module rlm_eap_md5Module: Instantiating eap-md5Module: Linked to sub-module rlm_eap_leapModule: Instantiating eap-leapModule: Linked to sub-module rlm_eap_gtcModule: Instantiating eap-gtcgtc {challenge = "Password: "auth_type = "PAP"}Module: Linked to sub-module rlm_eap_tlsModule: Instantiating eap-tlstls {rsa_key_exchange = nodh_key_exchange = yesrsa_key_length = 512dh_key_length = 512verify_depth = 0CA_path = "/usr/local/etc/raddb/certs"pem_file_type = yesprivate_key_file = "/usr/local/etc/raddb/certs/server.pem"certificate_file = "/usr/local/etc/raddb/certs/server.pem"CA_file = "/usr/local/etc/raddb/certs/ca.pem"private_key_password = "whatever"dh_file = "/usr/local/etc/raddb/certs/dh"random_file = "/usr/local/etc/raddb/certs/random"fragment_size = 1024include_length = yescheck_crl = nocipher_list = "DEFAULT"make_cert_command = "/usr/local/etc/raddb/certs/bootstrap"cache {enable = nolifetime = 24max_entries = 255}verify {}}Module: Linked to sub-module rlm_eap_ttlsModule: Instantiating eap-ttlsttls {default_eap_type = "md5"copy_request_to_tunnel = nouse_tunneled_reply = novirtual_server = "inner-tunnel"include_length = yes}Module: Linked to sub-module rlm_eap_peapModule: Instantiating eap-peappeap {default_eap_type = "mschapv2"copy_request_to_tunnel = nouse_tunneled_reply = noproxy_tunneled_request_as_eap = yesvirtual_server = "inner-tunnel"}Module: Linked to sub-module rlm_eap_mschapv2Module: Instantiating eap-mschapv2mschapv2 {with_ntdomain_hack = no}Module: Checking authorize {...} for more modules to loadModule: Linked to module rlm_realmModule: Instantiating module "suffix" from file/usr/local/etc/raddb/modules/realmrealm suffix {format = "suffix"delimiter = "@"ignore_default = noignore_null = no}Module: Linked to module rlm_filesModule: Instantiating module "files" from file/usr/local/etc/raddb/modules/filesfiles {usersfile = "/usr/local/etc/raddb/users"acctusersfile = "/usr/local/etc/raddb/acct_users"preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"compat = "no"}Module: Checking session {...} for more modules to loadModule: Linked to module rlm_radutmpModule: Instantiating module "radutmp" from file/usr/local/etc/raddb/modules/radutmpradutmp {filename = "/usr/local/var/log/radius/radutmp"username = "%{User-Name}"case_sensitive = yescheck_with_nas = yesperm = 384callerid = yes}Module: Checking post-proxy {...} for more modules to loadModule: Checking post-auth {...} for more modules to loadModule: Linked to module rlm_attr_filterModule: Instantiating module "attr_filter.access_reject" from file/usr/local/etc/raddb/modules/attr_filterattr_filter attr_filter.access_reject {attrsfile = "/usr/local/etc/raddb/attrs.access_reject"key = "%{User-Name}"}} # modules} # serverserver { # from file /usr/local/etc/raddb/radiusd.confmodules {Module: Checking authenticate {...} for more modules to loadModule: Linked to module rlm_digestModule: Instantiating module "digest" from file/usr/local/etc/raddb/modules/digestModule: Checking authorize {...} for more modules to loadModule: Linked to module rlm_preprocessModule: Instantiating module "preprocess" from file/usr/local/etc/raddb/modules/preprocesspreprocess {huntgroups = "/usr/local/etc/raddb/huntgroups"hints = "/usr/local/etc/raddb/hints"with_ascend_hack = noascend_channels_per_line = 23with_ntdomain_hack = nowith_specialix_jetstream_hack = nowith_cisco_vsa_hack = nowith_alvarion_vsa_hack = no}/usr/local/etc/raddb/sites-enabled/default[159]: Failed to load module"sql"./usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorizesection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101202/c3cbd2ed/attachment.html>
More information about the Freeradius-Users
mailing list