2nd instance of freeradius 1.1.7 fails to run
Jack Murgia
jackmurgia at hubbadubba.com
Sat Jan 5 03:49:09 CET 2008
I'm trying to run 2 separate instances of freeradius for testing another
.sql authorization database.
I've created a second .conf file location- /etc/raddb2 and similarly created
locations for the run and log files (/var/log/radiusd2, /var/run/radiusd2)
and edited the 2nd radiusd.conf file appropirately, so I thought- binding it
to an IP not used by my other instance of the freeradius server and
specifying port 1820 in my second radiusd.conf file.
But when I try to run in debug mode, I get this:
[root at srv run]# /usr/sbin/radiusd2 -d /etc/raddb2 -XX
Fri Jan 4 18:38:47 2008 : Info: Starting - reading configuration files ...
Fri Jan 4 18:38:47 2008 : Debug: reread_config: reading radiusd.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/proxy.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/clients.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/snmp.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/eap.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/sql.conf
Fri Jan 4 18:38:47 2008 : Debug: Config: including file:
/etc/raddb2/sqlcounter.conf
Fri Jan 4 18:38:47 2008 : Debug: main: prefix = "/usr"
Fri Jan 4 18:38:47 2008 : Debug: main: localstatedir = "/var"
Fri Jan 4 18:38:47 2008 : Debug: main: logdir = "/var/log/radius2"
Fri Jan 4 18:38:47 2008 : Debug: main: libdir = "/usr/lib"
Fri Jan 4 18:38:47 2008 : Debug: main: radacctdir =
"/var/log/radius2/radacct"
Fri Jan 4 18:38:47 2008 : Debug: main: hostname_lookups = no
Fri Jan 4 18:38:47 2008 : Debug: main: snmp = no
Fri Jan 4 18:38:47 2008 : Debug: main: max_request_time = 30
Fri Jan 4 18:38:47 2008 : Debug: main: cleanup_delay = 5
Fri Jan 4 18:38:47 2008 : Debug: main: max_requests = 1024
Fri Jan 4 18:38:47 2008 : Debug: main: delete_blocked_requests = 0
Fri Jan 4 18:38:47 2008 : Debug: main: port = 1820
Fri Jan 4 18:38:47 2008 : Debug: main: allow_core_dumps = no
Fri Jan 4 18:38:47 2008 : Debug: main: log_stripped_names = no
Fri Jan 4 18:38:47 2008 : Debug: main: log_file =
"/var/log/radius2/radius.log"
Fri Jan 4 18:38:47 2008 : Debug: main: log_auth = no
Fri Jan 4 18:38:47 2008 : Debug: main: log_auth_badpass = no
Fri Jan 4 18:38:47 2008 : Debug: main: log_auth_goodpass = no
Fri Jan 4 18:38:47 2008 : Debug: main: pidfile =
"/var/run/radiusd2/radiusd2.pid"
Fri Jan 4 18:38:47 2008 : Debug: main: bind_address = 6X.XX.XXX.XXX IP
address [69.59.117.122]
Fri Jan 4 18:38:47 2008 : Debug: main: user = "(null)"
Fri Jan 4 18:38:47 2008 : Debug: main: group = "(null)"
Fri Jan 4 18:38:47 2008 : Debug: main: usercollide = no
Fri Jan 4 18:38:47 2008 : Debug: main: lower_user = "no"
Fri Jan 4 18:38:47 2008 : Debug: main: lower_pass = "no"
Fri Jan 4 18:38:47 2008 : Debug: main: nospace_user = "no"
Fri Jan 4 18:38:47 2008 : Debug: main: nospace_pass = "no"
Fri Jan 4 18:38:47 2008 : Debug: main: checkrad = "/usr/sbin/checkrad"
Fri Jan 4 18:38:47 2008 : Debug: main: proxy_requests = yes
Fri Jan 4 18:38:47 2008 : Debug: proxy: retry_delay = 5
Fri Jan 4 18:38:47 2008 : Debug: proxy: retry_count = 3
Fri Jan 4 18:38:47 2008 : Debug: proxy: synchronous = no
Fri Jan 4 18:38:47 2008 : Debug: proxy: default_fallback = yes
Fri Jan 4 18:38:47 2008 : Debug: proxy: dead_time = 120
Fri Jan 4 18:38:47 2008 : Debug: proxy: post_proxy_authorize = no
Fri Jan 4 18:38:47 2008 : Debug: proxy: wake_all_if_all_dead = no
Fri Jan 4 18:38:47 2008 : Debug: security: max_attributes = 200
Fri Jan 4 18:38:47 2008 : Debug: security: reject_delay = 1
Fri Jan 4 18:38:47 2008 : Debug: security: status_server = no
Fri Jan 4 18:38:47 2008 : Debug: main: debug_level = 0
Fri Jan 4 18:38:47 2008 : Debug: read_config_files: reading dictionary
Fri Jan 4 18:38:47 2008 : Debug: read_config_files: reading naslist
Fri Jan 4 18:38:47 2008 : Info: Using deprecated naslist file. Support for
this will go away soon.
Fri Jan 4 18:38:47 2008 : Debug: read_config_files: reading clients
Fri Jan 4 18:38:47 2008 : Debug: read_config_files: reading realms
Fri Jan 4 18:38:47 2008 : Error: There appears to be another RADIUS server
running on the authentication port 1820
netstat -tunelup shows only this for radiusd:
udp 0 0 69.59.138.117:1812 0.0.0.0:*
0 22764540 16572/radiusd
udp 0 0 69.59.138.117:1813 0.0.0.0:*
0 22764541 16572/radiusd
--
Jack Murgia
General Manager
HubbaDubba Internet Services
http://www.hubbadubba.com
More information about the Freeradius-Users
mailing list