LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2008, 01:54 AM   #1
hackintosh
Member
 
Registered: Dec 2005
Posts: 52

Rep: Reputation: 15
freeradius missing exec ???


im installed centos 5.1 + freeradius

there's library missing when i run debug mode.



below is my /etc/radiusd.conf
Quote:
prefix = /usr/local/
exec_prefix = ${prefix}
sysconfdir = /etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct

# Location of config and logfiles.
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd

db_dir = $(raddbdir)
libdir = ${exec_prefix}
pidfile = ${run_dir}/radiusd.pid
max_request_time = 30
cleanup_delay = 5
max_requests = 1024

listen {
type = auth
ipaddr = localhost
port = 0
}


listen {
ipaddr = *
port = 0
type = acct
}

hostname_lookups = no
allow_core_dumps = no
regular_expressions = yes
extended_expressions = yes

log {
destination = files
file = ${logdir}/radius.log
syslog_facility = daemon
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
checkrad = ${sbindir}/checkrad
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}

proxy_requests = yes
$INCLUDE /etc/raddb/proxy.conf
attribute = value


$INCLUDE /etc/raddb/clients.conf
snmp = no
$INCLUDE /etc/raddb/snmp.conf

thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
}

modules {
$INCLUDE ${confdir}/modules/
$INCLUDE /etc/raddb/eap.conf
$INCLUDE /etc/raddb/sql.conf
$INCLUDE /etc/raddb/sql/mysql/counter.conf
}


instantiate {
exec
expr
expiration
logintime
}

$INCLUDE /etc/raddb/sites-enabled/

authorise {
preprocess
chap
mschap
suffix
eap
# We leave "files" enabled to allow creation of test users in /etc/raddb/users
files
sql
pap
}

accounting {
# We leave "detail" enabled to _additionally_ log accounting to /var/log/radius/radacct
detail
sql
}
when u run radiusd -x as debug mode. i get following error
Quote:
[root@cctvdb lib]# radiusd -X
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /etc/raddb/proxy.conf
Config: including file: /etc/raddb/clients.conf
Config: including file: /etc/raddb/snmp.conf
Config: including file: /etc/raddb/modules/
Config: including file: /etc/raddb/eap.conf
Config: including file: /etc/raddb/sql.conf
Config: including file: /etc/raddb/sql/mysql/counter.conf
Config: including file: /etc/raddb/sites-enabled/
main: prefix = "/usr/local/"
main: localstatedir = "/var"
main: logdir = "/var/log/radius"
main: libdir = "/usr/local//lib"
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 = 1812
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 = "(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 = no
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = yes
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
listen: ipaddr = localhost IP address [255.255.255.255]
listen: port = 0
listen: type = "auth"
listen: port = 0
listen: type = "acct"
radiusd: entering modules setup
Module: Library search path is /usr/local/lib
ERROR: Cannot find a configuration entry for module "exec".
see the last line, it is refer to module exec ..
i see the /usr/local/lib is
rlm_exec-1.0.4.la
rlm_exec-1.0.4.so
rlm_exec-2.0.5.la

now i am not sure which exec library the freeradius looking for??

Last edited by hackintosh; 06-26-2008 at 01:58 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
find: missing argument to `-exec' pavodive Linux - Newbie 4 10-05-2009 02:24 PM
dictionary.roaringpenguin is missing in freeradius ALInux Linux - Networking 0 10-09-2006 05:19 PM
FreeRadius missing rlm_eap.so? cleidh_mor Linux - Software 1 12-21-2005 03:28 AM
exec cmd=perl... work but exec cgi doenst crions Slackware 5 12-09-2005 12:17 PM
Kylix (delphi) missing exec command? RayJ Programming 2 09-24-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration