[OpenSIPS-Users] No RADIUS traffic

Leon Li Leon.Li at aarnet.edu.au
Mon Jun 29 01:46:21 CEST 2009


Uwe,

Strace output, nothing comes when I tries to register an endpoint.

[lli at cbr-a-sysdev1 lli]$ sudo /usr/local/bin/strace -f -e open
/usr/local/sbin/opensips
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libresolv.so.2", O_RDONLY)   = 3
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
open("/usr/local/etc/opensips/opensips.cfg", O_RDONLY) = 3
open("/dev/urandom", O_RDONLY)          = 4
open("/usr/local/lib/opensips/modules/signaling.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/sl.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/tm.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/rr.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/maxfwd.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/usrloc.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/registrar.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/textops.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/mi_fifo.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/uri_db.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/uri.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/xlog.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/acc.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/auth.so", O_RDONLY) = 4
open("/usr/local/lib/opensips/modules/auth_radius.so", O_RDONLY) = 4
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/usr/local/lib/libradiusclient-ng.so.2", O_RDONLY) = 4
open("/lib/libcrypt.so.1", O_RDONLY)    = 4
open("/lib/libnsl.so.1", O_RDONLY)      = 4
open("/etc/resolv.conf", O_RDONLY)      = 4
open("/etc/nsswitch.conf", O_RDONLY)    = 4
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/lib/libnss_files.so.2", O_RDONLY) = 4
open("/etc/host.conf", O_RDONLY)        = 4
open("/etc/hosts", O_RDONLY)            = 4
open("/etc/hosts", O_RDONLY)            = 4
Listening on
             udp: 202.158.197.134 [202.158.197.134]:5060
             tcp: 202.158.197.134 [202.158.197.134]:5060
Aliases:
             tcp: cbr-a-sysdev1:5060
             tcp: cbr-a-sysdev1.aarnet.net.au:5060
             udp: cbr-a-sysdev1:5060
             udp: cbr-a-sysdev1.aarnet.net.au:5060

open("/etc/localtime", O_RDONLY)        = 4
open("/dev/zero", O_RDWR)               = 5
open("/usr/local/etc/radiusclient-ng/radiusclient.conf", O_RDONLY) = 6
open("/usr/local/etc/radiusclient-ng/dictionary", O_RDONLY) = 6
Process 25956 attached
Process 25957 attached
Process 25958 attached
[pid 25958] open("/tmp/opensips_fifo", O_RDONLY|O_NONBLOCK) = 9
[pid 25958] open("/tmp/opensips_fifo", O_WRONLY|O_NONBLOCK) = 11

Ldd  auth_radiu.so:
[lli at cbr-a-sysdev1 lli]$ /usr/bin/ldd
/usr/local/lib/opensips/modules/auth_radius.so
        libradiusclient-ng.so.2 =>
/usr/local/lib/libradiusclient-ng.so.2 (0x00ee5000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00eb0000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x0064c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0067b000)

Thanks,
Leon 


-----Original Message-----
From: Uwe Kastens [mailto:kiste at kiste.org] 
Sent: Friday, 26 June 2009 5:26 PM
To: Leon Li
Cc: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] No RADIUS traffic

Leon,

Could you post the output of the strace call? And could you please post
the output of  ldd auth_radius.so ?

BR

Uwe





More information about the Users mailing list