Fail to restart radiusd

Yang Xue yxue75 at gmail.com
Fri Jul 16 20:43:58 CEST 2010


Hi,

We're running freeradius server v2.0.3 and restart of the daemon failed with:

#/etc/init.d/radiusd restart
Stopping RADIUS server: [FAILED]
Starting RADIUS server: Fri Jul 16 07:50:16 2010 : Info: Starting -
reading configuration files ... [FAILED]

In the radius.log, it shows:

Error: There appears to be another RADIUS server running on the
authentication port 1812 <---

The odd thing is that there is no radiusd process running on the Linux
server at all:

# ps aux  | grep rad
root      4869  0.0  0.0  4544  636 pts/1    S+   12:11   0:00 grep rad

#Debug messages:
/usr/sbin/radiusd -X restart
Starting - reading configuration files ...

reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/proxy.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/snmp.conf
Config:   including file: /etc/raddb/sql.conf
 main: prefix = "/"
 main: localstatedir = "//var"
 main: logdir = "/var/log"
 main: libdir = "//lib"
 main: radacctdir = "/etc/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 = 1812
 main: allow_core_dumps = no
 main: log_stripped_names = yes
 main: log_file = "/var/log/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "//var/run/radiusd/radiusd.pid"
 main: bind_address = 10.25.210.21 IP address [10.25.210.21]
 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 = "//sbin/checkrad"
 main: proxy_requests = no
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = 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
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
There appears to be another RADIUS server running on the
authentication port 1812 <---


Does anybody know why it complains about "another RADIUS server
running on the authentication port 1812" although there is no existing
radiusd process at all?

Thanks.



More information about the Freeradius-Users mailing list