Arran Cudbard-Bell wrote:
Alan T DeKok wrote:
Arran Cudbard-Bell wrote:
/usr/local/freeradius-2.0pre2/etc/raddb/radiusd.conf[1572]: Failed to link to module 'rlm_exec': dlopen(/usr/local/freeradius-2.0pre2/lib/rlm_exec-2.0.0-pre2.so, 9): Symbol not found: _debug_flag Referenced from: /usr/local/freeradius-2.0pre2/lib/rlm_exec-2.0.0-pre2.so Expected in: flat namespace Errors setting up modules
That's not an rlm_exec problem. It's a shared library problem. rlm_exec just happens to be the first one listed...
The difficulty is with shared libraries referencing symbols in the main "radiusd" program. It works on most platforms, but some platforms get excited over it, for reasons I've never understood.
And it showed up on some platforms in 1.x, too.
Ok . I'll try poking around a bit and see if I can get it to reference properly.
I just ported my CVS config across , and now I get something most unusual
Starting program: /usr/local/freeradius-2.0pre2/sbin/radiusd -X Reading symbols for shared libraries ......+.. done FreeRADIUS Version 2.0.0-pre2, for host powerpc-apple-darwin8.9.0, built on Aug 29 2007 at 11:30:08 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. Config: including file: /usr/local/freeradius-2.0pre2/etc/raddb/radiusd.conf Config: including file: /usr/local/freeradius/etc/raddb/proxy.conf Config: including file: /usr/local/freeradius/etc/raddb/clients.conf Config: including file: /usr/local/freeradius/etc/raddb/snmp.conf Config: including file: /usr/local/freeradius/etc/raddb/eap.conf Config: including file: /usr/local/freeradius/etc/raddb/sql.conf Config: including file: /usr/local/freeradius/etc/raddb/sql/mysql/clients.conf Config: including file: /usr/local/freeradius/etc/raddb/sql/mysql/dialup.conf Config: including file: /usr/local/freeradius/etc/raddb/sql/mysql/counter.conf Config: including files in directory: /usr/local/freeradius/etc/raddb/sites-enabled/ Starting - reading configuration files ... read_config_files: reading dictionary main { prefix = "/usr/local/freeradius" localstatedir = "/usr/local/freeradius/var" logdir = "/usr/local/freeradius/var/log" libdir = "/usr/local/freeradius/lib" radacctdir = "/usr/local/freeradius/var/log" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 allow_core_dumps = yes log_stripped_names = no log_file = "/usr/local/freeradius/var/log/radius.log" log_auth = no log_auth_badpass = no log_auth_goodpass = no pidfile = "/usr/local/freeradius/var/run/radiusd/radiusd.pid" user = "daemon" group = "daemon" checkrad = "/usr/local/freeradius/sbin/checkrad" debug_level = 0 proxy_requests = yes log { syslog_facility = "daemon" } proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } security { max_attributes = 50 reject_delay = 1 status_server = yes } } home_server jrs0 { ipaddr = roaming0.ja.net IP address [194.82.174.185] port = 1812 type = "auth+acct" secret = "mysecret" response_window = 5 max_outstanding = 65536 zombie_period = 30 status_check = "request" ping_check = "none" ping_interval = 30 check_interval = 20 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 3600 status_check_timeout = 4 username = "test_user@sussex" password = "just_testing" } home_server jrs1 { ipaddr = roaming1.ja.net IP address [194.83.56.233] port = 1812 type = "auth+acct" secret = "mysecret" response_window = 5 max_outstanding = 65536 zombie_period = 30 status_check = "request" ping_check = "none" ping_interval = 30 check_interval = 20 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 3600 status_check_timeout = 4 username = "test_user@sussex" password = "just_testing" } home_server jrs2 { ipaddr = roaming2.ja.net IP address [194.83.56.249] port = 1812 type = "auth+acct" secret = "mysecret" response_window = 5 max_outstanding = 65536 zombie_period = 30 status_check = "request" ping_check = "none" ping_interval = 30 check_interval = 20 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 3600 status_check_timeout = 4 username = "test_user@sussex" password = "just_testing" } server_pool jrs_auth { type = client-balance home_server = jrs0 home_server = jrs1 home_server = jrs2 } server_pool jrs_acct { type = client-balance home_server = jrs0 home_server = jrs1 home_server = jrs2 } realm jrs { auth_pool = jrs_auth acct_pool = jrs_acct nostrip } realm LOCAL { nostrip }
Program exited with code 01.
?!
It doesn't crash ... it just exists ...
...Because you have to have at least one site in sites-enabled else the server has nothing to do... *sigh* i'm going to put this down to tiredness .... but really it's just stupidity.... (forgot to update the symlinks) Arran