Failed to parse authenticate section
I am a freeradius newbie. I have configured Freeradius 1.1.7 on a Debian/Linux system. When I give the command radisud -X i get the following errors: radiusd.conf[636] Failed to link to module 'rlm_unix': rlm_unix.a: cannot open shared object file: No such file or directory radiusd.conf[1971] Unknown module "unix". radiusd.conf[1931] Failed to parse authenticate section. I have tried searching the previous posts and read the outputs of the commands: ./configure, make and make install. I have not been able to debug this so far. Can somebody please help me out with this? DCC-Test-Server:/freeradius# radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /freeradius/raddb/proxy.conf Config: including file: /freeradius/raddb/clients.conf Config: including file: /freeradius/raddb/snmp.conf Config: including file: /freeradius/raddb/eap.conf Config: including file: /freeradius/raddb/sql.conf main: prefix = "/usr/local" main: localstatedir = "/usr/local/var" main: logdir = "/usr/local/var/log/radius" main: libdir = "/usr/local/lib" main: radacctdir = "/usr/local/var/log/radius/radacct" main: hostname_lookups = no main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 1645 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/var/log/radius/radius.log" main: log_auth = no main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" main: bind_address = 192.168.15.103 IP address [192.168.15.103] main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/sbin/checkrad" main: proxy_requests = yes proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: post_proxy_authorize = no proxy: wake_all_if_all_dead = no security: max_attributes = 200 security: reject_delay = 1 security: status_server = no main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist Using deprecated naslist file. Support for this will go away soon. read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /usr/local/lib Module: Loaded exec exec: wait = yes exec: program = "(null)" exec: input_pairs = "request" exec: output_pairs = "(null)" exec: packet_type = "(null)" rlm_exec: Wait=yes but no output defined. Did you mean output=none? Module: Instantiated exec (exec) Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded PAP pap: encryption_scheme = "crypt" pap: auto_header = yes Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP mschap: use_mppe = yes mschap: require_encryption = no mschap: require_strong = no mschap: with_ntdomain_hack = no mschap: passwd = "(null)" mschap: ntlm_auth = "(null)" Module: Instantiated mschap (mschap) radiusd.conf[636] Failed to link to module 'rlm_unix': rlm_unix.a: cannot open shared object file: No such file or directory radiusd.conf[1971] Unknown module "unix". radiusd.conf[1931] Failed to parse authenticate section. DCC-Test-Server:/freeradius# Thanks, Nakul
Nakul Deshpande wrote:
radiusd.conf[636] Failed to link to module 'rlm_unix': rlm_unix.a: cannot open shared object file: No such file or directory radiusd.conf[1971] Unknown module "unix". radiusd.conf[1931] Failed to parse authenticate section.
The module hasn't been built. Likely because the various headers it needs don't exist on the system.
I have tried searching the previous posts and read the outputs of the commands: ./configure, make and make install. I have not been able to debug this so far. Can somebody please help me out with this?
If you don't need the "unix" module, just delete all references to it from the configuration files. Alan DeKok.
participants (2)
-
Alan DeKok -
Nakul Deshpande