Modify

Opened 10 years ago

Closed 10 years ago

#2942 closed defect (worksforme)

FreeRADIUS missing dependency (libopenssl)

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

After installation of FreeRADIUS (1.1.1.1 from RC5 Backports) on Kamikaze 7.09, it says:

root@OpenWrt:/etc/init.d# ./radiusd start
radiusd: can't load library 'libcrypto.so.0.9.7'
root@OpenWrt:/etc/init.d# ldd /usr/sbin/radiusd
     libnsl.so.0 => /lib/libnsl.so.0 (0x2aaed000)
     libresolv.so.0 => /lib/libresolv.so.0 (0x2ab2e000)
     libcrypto.so.0.9.7 => not found
     libssl.so.0.9.7 => not found
     libz.so.1 => /usr/lib/libz.so.1 (0x2ab6f000)
     libradius-1.1.1.so => /usr/lib/freeradius/libradius-1.1.1.so (0x2abc0000)
     libcrypt.so.0 => /lib/libcrypt.so.0 (0x2ac15000)
     libltdl.so.3 => /usr/lib/libltdl.so.3 (0x2ac69000)
     libc.so.0 => /lib/libc.so.0 (0x2acb0000)
     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ad57000)
     libdl.so.0 => /lib/libdl.so.0 (0x2ada6000)
     ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

Creating symbolic links to the two libraries (/usr/lib/libcrypto.so.0.9.8, /usr/lib/libssl.so.0.9.8) of libopenssl 0.9.8e-1 which was installed by the FreeRADIUS package returned a segmentation fault on startup:

root@OpenWrt:/etc/freeradius# radiusd -X -A
Starting - reading configuration files ... 
reread_config: reading radiusd.conf 
Config: including file: /etc/freeradius/clients.conf 
Config: including file: /etc/freeradius/eap.conf 
main: prefix = "/usr" 
main: localstatedir = "/var" 
main: logdir = "/var/log/radius" 
main: libdir = "/usr/lib/freeradius" 
main: radacctdir = "/var/log/radius/radacct" 
main: hostname_lookups = no 
main: max_request_time = 30 
main: cleanup_delay = 5 
main: max_requests = 256 
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.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/sbin/checkrad" 
main: proxy_requests = yes 
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
Segmentation fault

See also: http://packetprotector.org/forum/viewtopic.php?pid=135#p135

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Davide Guerri <d.guerri@…>

You should probably try recompiling freeradius.

#ipkg files libopenssl           
Package libopenssl (0.9.8e-3) is installed on root and has the following files:
/usr/lib/libcrypto.so.0.9.8
/usr/lib/libcrypto.so.0.9.8
/usr/lib/libssl.so.0.9.8
#ldd /usr/sbin/radiusd
        libnsl.so.0 => /lib/libnsl.so.0 (0xb7f48000)
        libresolv.so.0 => /lib/libresolv.so.0 (0xb7f46000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f34000)
        libradius-1.1.6.so => /usr/lib/libradius-1.1.6.so (0xb7f1e000)
        libcrypt.so.0 => /lib/libcrypt.so.0 (0xb7f09000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb7f01000)
        libdl.so.0 => /lib/libdl.so.0 (0xb7efd000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7eca000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7de0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dd7000)
        libc.so.0 => /lib/libc.so.0 (0xb7d86000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f4c000)
# radiusd -X -A
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/freeradius/clients.conf
Config:   including file: /etc/freeradius/eap.conf
 main: prefix = "/usr"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/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/radiusd.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/var/run/radiusd.pid"
 main: user = "nobody"
 main: group = "nogroup"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/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/lib/freeradius
Module: Loaded eap 
 eap: default_eap_type = "md5"
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
Module: Instantiated eap (eap) 
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: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap) 
Module: Loaded PAP 
 pap: encryption_scheme = "crypt"
 pap: auto_header = yes
Module: Instantiated pap (pap) 
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.

comment:2 Changed 10 years ago by Davide Guerri <d.guerri@…>

Sorry i miss the point!
I've just realized that your report refers to 7.09.

comment:3 Changed 10 years ago by blogic

  • Resolution set to worksforme
  • Status changed from new to closed

fixed in trunk/

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.