Hello all
When i try to run in debug mode, show and error
messages
# /usr/local/sbin/radiusd -X
Starting - reading
configuration files ...
reread_config: reading
radiusd.conf
Config: including file:
/etc/raddb/clients.conf
Config: including file:
/etc/raddb/snmp.conf
Config: including file:
/etc/raddb/eap.conf
Config: including file:
/etc/raddb/sql.conf
main: prefix = "/usr/local"
main:
localstatedir = "/var"
main: logdir = "/var/log/radius"
main:
libdir = "/usr/local/lib/freeradius"
main: radacctdir =
"/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 = 0
main: allow_core_dumps = no
main: log_stripped_names
= no
main: log_file = "/var/log/radius/radius.log"
main:
log_auth = no
main: log_auth_badpass = no
main:
log_auth_goodpass = no
main: pidfile =
"/var/run/radiusd/radiusd.pid"
main: user =
"_freeradius"
main: group = "_freeradius"
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 = 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
read_config_files: reading clients
read_config_files:
reading realms
radiusd: entering modules setup
Module: Library
search path is /usr/local/lib/freeradius
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"
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: authtype =
"MS-CHAP"
mschap: ntlm_auth = "(null)"
Module: Instantiated mschap
(mschap)
Module: Loaded System
unix: cache = no
unix:
passwd = "(null)"
unix: shadow = "(null)"
unix: group =
"(null)"
unix: radwtmp = "/var/log/radius/radwtmp"
unix:
usegroup = no
unix: cache_reload = 600
Module: Instantiated unix
(unix)
Module: Loaded preprocess
preprocess: huntgroups =
"/etc/raddb/huntgroups"
preprocess: hints =
"/etc/raddb/hints"
preprocess: with_ascend_hack =
no
preprocess: ascend_channels_per_line = 23
preprocess:
with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack =
no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated
preprocess (preprocess)
Module: Loaded realm
realm: format =
"suffix"
realm: delimiter = "@"
realm: ignore_default =
no
realm: ignore_null = no
Module: Instantiated realm (suffix)
ERROR: Cannot find a configuration entry for module "sql".
radiusd.conf[1801] Unknown module "sql".
radiusd.conf[1730] Failed to
parse authorize section.
I'm running openbsd 4.0 and these
programs:
mysql-client-5.0.22 multithreaded SQL database
(client)
mysql-server-5.0.22 multithreaded SQL database (server)
freeradius-1.1.1p1 RADIUS server
implementation
freeradius-mysql-1.1.1 freeradius mysql rlm
addon
I don't know which is the problem
Can you help me?
christian