Sending to the right list address this time :)
Hi,
I'm going through the debugging process of figuring out why the module rlm_exec is stopping freeradius-1.1.3 from executing. There are a bunch of discussions about this in the cygwin and freeradius archives, but no real conclusions that I can get an idea of what to fix.
The output is below. I have a feeling that rlm_exec is referencing a symbol in a library that isn't in the source (either from missing.[h,c]) or a cygwin library. Is attaching gdb to radiusd and stepping through the functions to see at which point things break the next best step? Also, does it make a difference if the modules are dynamically built? Strace in cygwin is extrememly verbose (to put it mildly) so I'd like to avoid if possible.
$ ./radiusd.exe -Xx Wed Sep 13 14:02:11 2006 : Info: Starting - reading configuration files ... Wed Sep 13 14:02:11 2006 : Debug: reread_config: reading radiusd.conf Wed Sep 13 14:02:11 2006 : Debug: Config: including file: /cygdrive/c/devel/ap ps/freeradius-1.1.3/etc/raddb/proxy.conf Wed Sep 13 14:02:11 2006 : Debug: Config: including file: /cygdrive/c/devel/ap ps/freeradius-1.1.3/etc/raddb/clients.conf Wed Sep 13 14:02:11 2006 : Debug: Config: including file: /cygdrive/c/devel/ap ps/freeradius-1.1.3/etc/raddb/snmp.conf Wed Sep 13 14:02:11 2006 : Debug: Config: including file: /cygdrive/c/devel/ap ps/freeradius-1.1.3/etc/raddb/eap.conf Wed Sep 13 14:02:11 2006 : Debug: Config: including file: /cygdrive/c/devel/ap ps/freeradius-1.1.3/etc/raddb/sql.conf Wed Sep 13 14:02:11 2006 : Debug: main: prefix = "/cygdrive/c/devel/apps/freera dius-1.1.3" Wed Sep 13 14:02:11 2006 : Debug: main: localstatedir = "/cygdrive/c/devel/apps /freeradius-1.1.3/var" Wed Sep 13 14:02:11 2006 : Debug: main: logdir = "/cygdrive/c/devel/apps/freera dius-1.1.3/var/log/radius" Wed Sep 13 14:02:11 2006 : Debug: main: libdir = "/cygdrive/c/devel/apps/freera dius-1.1.3/lib" Wed Sep 13 14:02:11 2006 : Debug: main: radacctdir = "/cygdrive/c/devel/apps/fr eeradius-1.1.3/var/log/radius/radacct" Wed Sep 13 14:02:11 2006 : Debug: main: hostname_lookups = no Wed Sep 13 14:02:11 2006 : Debug: main: max_request_time = 30 Wed Sep 13 14:02:11 2006 : Debug: main: cleanup_delay = 5 Wed Sep 13 14:02:11 2006 : Debug: main: max_requests = 1024 Wed Sep 13 14:02:11 2006 : Debug: main: delete_blocked_requests = 0 Wed Sep 13 14:02:11 2006 : Debug: main: port = 0 Wed Sep 13 14:02:11 2006 : Debug: main: allow_core_dumps = no Wed Sep 13 14:02:11 2006 : Debug: main: log_stripped_names = no Wed Sep 13 14:02:11 2006 : Debug: main: log_file = "/cygdrive/c/devel/apps/free radius-1.1.3/var/log/radius/radius.log" Wed Sep 13 14:02:11 2006 : Debug: main: log_auth = no Wed Sep 13 14:02:11 2006 : Debug: main: log_auth_badpass = no Wed Sep 13 14:02:11 2006 : Debug: main: log_auth_goodpass = no Wed Sep 13 14:02:11 2006 : Debug: main: pidfile = "/cygdrive/c/devel/apps/freer adius-1.1.3/var/run/radiusd/radiusd.pid" Wed Sep 13 14:02:11 2006 : Debug: main: user = "(null)" Wed Sep 13 14:02:11 2006 : Debug: main: group = "(null)" Wed Sep 13 14:02:11 2006 : Debug: main: usercollide = no Wed Sep 13 14:02:11 2006 : Debug: main: lower_user = "no" Wed Sep 13 14:02:11 2006 : Debug: main: lower_pass = "no" Wed Sep 13 14:02:11 2006 : Debug: main: nospace_user = "no" Wed Sep 13 14:02:11 2006 : Debug: main: nospace_pass = "no" Wed Sep 13 14:02:11 2006 : Debug: main: checkrad = "/cygdrive/c/devel/apps/free radius-1.1.3/sbin/checkrad" Wed Sep 13 14:02:11 2006 : Debug: main: proxy_requests = yes Wed Sep 13 14:02:11 2006 : Debug: proxy: retry_delay = 5 Wed Sep 13 14:02:11 2006 : Debug: proxy: retry_count = 3 Wed Sep 13 14:02:11 2006 : Debug: proxy: synchronous = no Wed Sep 13 14:02:11 2006 : Debug: proxy: default_fallback = yes Wed Sep 13 14:02:11 2006 : Debug: proxy: dead_time = 120 Wed Sep 13 14:02:11 2006 : Debug: proxy: post_proxy_authorize = no Wed Sep 13 14:02:11 2006 : Debug: proxy: wake_all_if_all_dead = no Wed Sep 13 14:02:11 2006 : Debug: security: max_attributes = 200 Wed Sep 13 14:02:11 2006 : Debug: security: reject_delay = 1 Wed Sep 13 14:02:11 2006 : Debug: security: status_server = no Wed Sep 13 14:02:11 2006 : Debug: main: debug_level = 0 Wed Sep 13 14:02:11 2006 : Debug: read_config_files: reading dictionary Wed Sep 13 14:02:11 2006 : Debug: read_config_files: reading naslist Wed Sep 13 14:02:11 2006 : Info: Using deprecated naslist file. Support for thi s will go away soon. Wed Sep 13 14:02:11 2006 : Debug: read_config_files: reading clients Wed Sep 13 14:02:11 2006 : Debug: read_config_files: reading realms Wed Sep 13 14:02:11 2006 : Debug: radiusd: entering modules setup Wed Sep 13 14:02:11 2006 : Debug: Module: Library search path is /cygdrive/c/dev el/apps/freeradius-1.1.3/lib Wed Sep 13 14:02:11 2006 : Error: radiusd.conf[1585] Failed to link to module 'r lm_exec': Permission denied
$ ls lib/rlm_exec* lib/rlm_exec-1.1.3.la lib/rlm_exec.a lib/rlm_exec.la
participants (1)
-
Chris Hellberg