segmentation fault on solaris,unable to call modules
Hi All, installing freeradius on Solaris is already a big headache, afterwards i encountered Segmentation fault as well. i am using Freeradius-1.0.5 seems the problem is that it is not able to call any of the modules in radiusd.conf, if i commend up all the modules under 'Authorize' (files, preprocess, ldap, prefix, etc. ) in radiuad.conf, there won't be segmentation faults. and this configuration is able to work for freeradius-0.8 on solaris or freeradius-1.0.5 on debian. pls advise. thanks in advance. below is what the debug mode shows:
*******************************************************
Wed Dec 14 10:15:31 2005 : Info: Starting - reading configuration files ...
Wed Dec 14 10:15:31 2005 : Debug: reread_config: reading radiusd.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/proxy.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/clients.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/snmp.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/sql.conf
Wed Dec 14 10:15:31 2005 : Debug: main: prefix = "/usr/local/radius5"
Wed Dec 14 10:15:31 2005 : Debug: main: localstatedir = "/usr/local/radius5/var"
Wed Dec 14 10:15:31 2005 : Debug: main: logdir = "/usr/local/radius5/log"
Wed Dec 14 10:15:31 2005 : Debug: main: libdir = "/usr/local/radius5/lib"
Wed Dec 14 10:15:31 2005 : Debug: main: radacctdir = "/usr/local/radius5/radacct"
Wed Dec 14 10:15:31 2005 : Debug: main: hostname_lookups = no
Wed Dec 14 10:15:31 2005 : Debug: main: max_request_time = 40
Wed Dec 14 10:15:31 2005 : Debug: main: cleanup_delay = 5
Wed Dec 14 10:15:31 2005 : Debug: main: max_requests = 5120
Wed Dec 14 10:15:31 2005 : Debug: main: delete_blocked_requests = 0
Wed Dec 14 10:15:31 2005 : Debug: main: port = 1645
Wed Dec 14 10:15:31 2005 : Debug: main: allow_core_dumps = yes
Wed Dec 14 10:15:31 2005 : Debug: main: log_stripped_names = no
Wed Dec 14 10:15:31 2005 : Debug: main: log_file = "/usr/local/radius5/log/radius.log"
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth = yes
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_badpass = no
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_goodpass = no
Wed Dec 14 10:15:31 2005 : Debug: main: pidfile = "/usr/local/radius5/var/run/radiusd.pid"
Wed Dec 14 10:15:31 2005 : Debug: main: user = "radius"
Wed Dec 14 10:15:31 2005 : Debug: main: group = "radius"
Wed Dec 14 10:15:31 2005 : Debug: main: usercollide = no
Wed Dec 14 10:15:31 2005 : Debug: main: lower_user = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: lower_pass = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: nospace_user = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: nospace_pass = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: checkrad = "/usr/local/radius5/sbin/checkrad"
Wed Dec 14 10:15:31 2005 : Debug: main: proxy_requests = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_delay = 5
Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_count = 3
Wed Dec 14 10:15:31 2005 : Debug: proxy: synchronous = no
Wed Dec 14 10:15:31 2005 : Debug: proxy: default_fallback = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: dead_time = 120
Wed Dec 14 10:15:31 2005 : Debug: proxy: post_proxy_authorize = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: wake_all_if_all_dead = no
Wed Dec 14 10:15:31 2005 : Debug: security: max_attributes = 200
Wed Dec 14 10:15:31 2005 : Debug: security: reject_delay = 0
Wed Dec 14 10:15:31 2005 : Debug: security: status_server = no
Wed Dec 14 10:15:31 2005 : Debug: main: debug_level = 0
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading dictionary
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading naslist
Wed Dec 14 10:15:31 2005 : Info: Using deprecated naslist file. Support for this will go away soon.
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading clients
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading realms
Wed Dec 14 10:15:31 2005 : Debug: radiusd: entering modules setup
Wed Dec 14 10:15:31 2005 : Debug: Module: Library search path is /usr/local/radius5/lib
Segmentation Fault
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi all, havent figured out how to solve the segmentation fault problem yet. any suggestion? or anybody encountered the similar problem as me? ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, December 14, 2005 3:25 PM Subject: Re: segmentation fault on solaris,unable to call modules
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
Hi All,
installing freeradius on Solaris is already a big headache, afterwards i encountered Segmentation fault as well. i am using Freeradius-1.0.5 if i commend up those modules called in radiusd.conf (e.g. files, preprocess,ldap, prefix under 'Authorize'), there is no segmentation fault error. so seems that it is not able to call any of the modules inside radiusd.conf. this configuration is able to work for freeradius-0.8 on solaris, as well as freeradius-1.0.5 on debian. pls advise. thanks in advance. below is what the debug mode shows:
Please read doc/bugs, and follow it's instructions.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Try to install diferent version of Freeradius. I have the same problem on debian on Freeradius-1.0.5 aand i have installed Freeradius-1.0.2 . ----- Original Message ----- From: "Qin Zhen" <qin.zhen@pacific.net.sg> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, December 20, 2005 9:55 AM Subject: Re: segmentation fault on solaris,unable to call modules
Hi all, havent figured out how to solve the segmentation fault problem yet. any suggestion? or anybody encountered the similar problem as me?
----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, December 14, 2005 3:25 PM Subject: Re: segmentation fault on solaris,unable to call modules
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
Hi All,
installing freeradius on Solaris is already a big headache, afterwards i encountered Segmentation fault as well. i am using Freeradius-1.0.5
if i commend up those modules called in radiusd.conf (e.g. files, preprocess,ldap, prefix under 'Authorize'), there is no segmentation fault error. so seems that it is not able to call any of the modules inside radiusd.conf. this configuration is able to work for freeradius-0.8 on solaris, as well as freeradius-1.0.5 on debian. pls advise.
thanks in advance.
below is what the debug mode shows:
Please read doc/bugs, and follow it's instructions.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Alan, thanks a lot for your reply. u mean the doc/bugs in the source code package? it just suggests the way to report bugs found. do u mean the segmentation fault is caused by bugs and i need to report it and wait for developers to solve it? ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, December 21, 2005 12:27 AM Subject: Re: segmentation fault on solaris,unable to call modules
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
havent figured out how to solve the segmentation fault problem yet. any suggestion? or anybody encountered the similar problem as me?
Read doc/bugs
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
thanks a lot for your reply. u mean the doc/bugs in the source code package? it just suggests the way to report bugs found. do u mean the segmentation fault is caused by bugs and i need to report it and wait for developers to solve it?
The file describes exactly what to do when you see a segmentation fault, and how to get the information the developers need to fix it. Knowing something goes wrong is nice, but it doesn't help. We need to know *what* is going wrong, and *where* it is going wrong, before we can attempt to fix it. Alan DeKok.
Hi, thanks a lot Alan. I'm trying to obtain the core dump file now, but it seems that freeradius core dump file is not created in the current working directory as usual. may i know where is it created? ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, December 21, 2005 12:27 AM Subject: Re: segmentation fault on solaris,unable to call modules
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
havent figured out how to solve the segmentation fault problem yet. any suggestion? or anybody encountered the similar problem as me?
Read doc/bugs
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Have you got core dumps enabled in radiusd.conf? regards, Mike
-----Original Message----- From: freeradius-users-bounces+mitchell.michael=bigpond.com@lists.fr eeradius.org [mailto:freeradius-users-bounces+mitchell.michael=bigpond.com@ lists.freeradius.org] On Behalf Of Qin Zhen Sent: Thursday, 22 December 2005 1:12 PM To: FreeRadius users mailing list Subject: Re: segmentation fault on solaris,unable to call modules
Hi, thanks a lot Alan. I'm trying to obtain the core dump file now, but it seems that freeradius core dump file is not created in the current working directory as usual. may i know where is it created?
----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, December 21, 2005 12:27 AM Subject: Re: segmentation fault on solaris,unable to call modules
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
havent figured out how to solve the segmentation fault problem yet. any suggestion? or anybody encountered the similar problem as me?
Read doc/bugs
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"Qin Zhen" <qin.zhen@pacific.net.sg> wrote:
I'm trying to obtain the core dump file now, but it seems that freeradius core dump file is not created in the current working directory as usual. may i know where is it created?
In the current directory. See standard Unix administration guides which describe ulimit, and why programs that change uid don't dump core. The short answer is to run it in debugging mode, and follow *all* of the instructions in doc/bugs. Alan DeKok.
participants (4)
-
Alan DeKok -
debik -
Mike Mitchell -
Qin Zhen