Problem with FreeRADIUS 1.1.0 port

Mike Jakubik mikej at
Mon Mar 13 21:44:38 UTC 2006

Paul Khavkine wrote:
> When the port is compiled i see that radiusd binart is linked against
> Is that normal ?
> paul# ldd /usr/local/sbin/radiusd
> /usr/local/sbin/radiusd:
> => /lib/ (0x2808c000)
> => /usr/local/lib/ (0x280a4000)
> => /usr/local/lib/ (0x280b8000)
> => /usr/lib/ (0x280bf000) <----
> => /lib/ (0x280e4000)
> => /usr/lib/ (0x281d6000)
> => /lib/ (0x28204000)
> => /usr/lib/ (0x282db000) <---
> => /lib/ (0x282ff000)
> => /usr/lib/ (0x283f6000)
> => /lib/ (0x28424000)

It's fine here, looks like your system has a problem:

# ldd /usr/local/sbin/radiusd
/usr/local/sbin/radiusd: => /lib/ (0x800644000) => /usr/lib/ (0x80075d000) => /lib/ (0x800895000) => /usr/lib/ (0x800adb000) => /usr/local/lib/ 
(0x800c06000) => /usr/local/lib/ (0x800d1c000) => /lib/ (0x800e24000)

# radiusd -x
Starting - reading configuration files ...
Module: Loaded exec
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
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded SQL
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root at localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql_mysql: Couldn't connect socket to MySQL server root at localhost:radius
rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' (2)'
rlm_sql (sql): Failed to connect DB handle #0
rlm_sql (sql): starting 1
rlm_sql (sql): starting 2
rlm_sql (sql): starting 3
rlm_sql (sql): starting 4
rlm_sql (sql): Failed to connect to any SQL server.
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
Module: Instantiated acct_unique (acct_unique)
Initializing the thread pool...
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.

More information about the freebsd-ports mailing list