okay, i'm working with 1.0.0pre3 on a sol8 box. Just last week i had this version of freeradius working on a RedHat Enterprise box without any problems.

./configure
make
make install

all with no errors (done the same on both boxes with the only diff being the sol8 box has oracle 9.2.0.4 running on it for the accounting).

i have the clients.conf file set up with all our nas devices (in old 0.8.1 they were listed in clients file). I moved our old users file to new location (i still have 0.8.1 running, and turn it off when i try to start 1.0.0). the 0.8.1 is in /usr/local and 1.0.0 is in /opt/csw so there shouldn't be any conflicts in config files

I made some mods to the radiusd.conf (which i didn't do on redhat box) and they are as follows:

log_file = /home/radius/radius.log


libdir = /usr/lib:/usr/local/lib:/opt/sfw/lib:/opt/csw/lib:/opt/oracle/products/9.2.0/lib



max_request_time = 10


max_requests = 256000


port = 1645


log_auth = yes


proxy_requests = no (and comment out $INCLUDE below it)


max_servers = 100


# added to exec so i wasn't seeing the error on startup output = none

with the exception of the output=none these are from our old radiusd.conf for 0.8.1.

when i radiusd -X this is my output:

Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /opt/csw/etc/raddb/clients.conf
Config: including file: /opt/csw/etc/raddb/snmp.conf
Config: including file: /opt/csw/etc/raddb/eap.conf
Config: including file: /opt/csw/etc/raddb/sql.conf
main: prefix = "/opt/csw"
main: localstatedir = "/opt/csw/var"
main: logdir = "/opt/csw/var/log/radius"
main: libdir = "/usr/lib:/usr/local/lib:/opt/sfw/lib:/opt/csw/lib:/opt/oracle/products/9.2.0/lib"
main: radacctdir = "/opt/csw/var/log/radius/radacct"
main: hostname_lookups = no
main: max_request_time = 10
main: cleanup_delay = 5
main: max_requests = 256000
main: delete_blocked_requests = 0
main: port = 1645
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/home/radius/radius.log"
main: log_auth = yes
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/opt/csw/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 = "/opt/csw/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
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/lib:/usr/local/lib:/opt/sfw/lib:/opt/csw/lib:/opt/oracle/products/9.2.0/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
Segmentation fault (core dumped)


i've also trussed it while doing radiusd -X it basically shows same thing, dieing just before instantiating PAP module.

this is the output from truss (the lines dealing with the PAP module anyways)

open("/usr/lib/rlm_pap.la", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/rlm_pap.la", O_RDONLY) = 5
fstat64(5, 0xFFBEE1A0) = 0
ioctl(5, TCGETA, 0xFFBEE12C) Err#25 ENOTTY
read(5, " # r l m _ p a p . l a".., 8192) = 756
read(5, 0x0018506C, 8192) = 0
llseek(5, 0, SEEK_CUR) = 756
close(5) = 0
stat("/usr/local/lib/rlm_pap-0.8.1.so", 0xFFBEDA74) = 0
open("/usr/local/lib/rlm_pap-0.8.1.so", O_RDONLY) = 5
fstat(5, 0xFFBEDA74) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xFEF70000
mmap(0x00000000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xFEF00000
mmap(0xFEF10000, 6428, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0xFEF10000
munmap(0xFEF02000, 57344) = 0
memcntl(0xFEF00000, 2476, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(5) = 0
munmap(0xFEF70000, 8192) = 0
time() = 1090364475
Module: Loaded PAP
write(1, " M o d u l e : L o a d".., 20) = 20
time() = 1090364475
Incurred fault #6, FLTBOUNDS %pc = 0xFF0C2314
siginfo: SIGSEGV SEGV_MAPERR addr=0x7475AC2C
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x7475AC2C
*** process killed ***


anyone have any guesses, clues, ideas why this worked fine when tested on redhat box but is now dieing on the sol box?? i'm kind of stymied.

Thanks in advance
t-

--
Terry J Fike Jr
System Administrator
MTA Solutions
907-793-4100
[EMAIL PROTECTED]

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to