Is there a definitive config guide for installing 1.1.7 on Solaris 10

2010-07-13 Thread Avery, Larry EIS-ERDC-ITL-MS Contractor
I'm running a Solaris 10 U6 (10/08) whole-root zone where I'm trying to
install freeRadius 1.1.7 from packages (Sunfreeware).  I've loaded what is
listed (on Sunfreeware) as dependencies (and dependencies of those packages),
but I still get a segmentation fault on startup.  No changes have been made
to any of the radius config files.

Is there a complete list of packages required for freeRADIUS on my version of
Solaris 10?

The attempted startup of radius, with the -X option is shown below:

# ./S99rad* start
-n Starting FreeRADIUS:
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
 main: prefix = /usr/local
 main: localstatedir = /usr/local/var
 main: logdir = /usr/local/var/log/radius
 main: libdir = /usr/local/lib
 main: radacctdir = /usr/local/var/log/radius/radacct
 main: hostname_lookups = no
 main: snmp = 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 = /usr/local/var/log/radius/radius.log
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = /usr/local/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 = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = no
 proxy: wake_all_if_all_dead = 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
Segmentation Fault - core dumped
radiusd
# 

I've seen queries from others with the same problem, but I can't find a
resolution. 

Thanks for the help,
Larry Avery


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


Re: Is there a definitive config guide for installing 1.1.7 on Solaris 10

2010-07-13 Thread Alan DeKok
Avery, Larry EIS-ERDC-ITL-MS Contractor wrote:
 Is there a complete list of packages required for freeRADIUS on my version of
 Solaris 10?

  The server doesn't need *any* packages to run.  It needs gcc and gmake
to compile.  The configure stage figures out which packages you have,
and uses those.  It doesn't need SQL, LDAP, DBM, or anything.

 The attempted startup of radius, with the -X option is shown below:
 
 # ./S99rad* start

  Hmm... why not just radiusd -X from the command line?

 radiusd:  entering modules setup
 Segmentation Fault - core dumped
 radiusd
 # 
 
 I've seen queries from others with the same problem, but I can't find a
 resolution. 

  Update the Solaris dynamic linker path to include the path where the
modules were installed.  It's some magic Solaris command, and I forget
which one...

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


Re: Is there a definitive config guide for installing 1.1.7 on Solaris 10

2010-07-13 Thread Jeff Smith
On Tue, 2010-07-13 at 09:49 +0200, Alan DeKok wrote: 
 Update the Solaris dynamic linker path to include the path where the
 modules were installed.  It's some magic Solaris command, and I forget
 which one...

The solaris command to use to add new locations for the loader is
crle(1).  Carefully reading the manual page is a good idea.

He can use ldd(1) to see which libraries can't be found, as in:

ldd /path/to/freeradius

Can also use something like:

truss -fae -vall /path/to/freeradius

to see exactly where and why it's dumping core.

Jeff
-- 
Jeff Smith jeff.m.sm...@gmail.com

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