radmin not working
Andrew Meyer
andrewm659 at yahoo.com
Thu Jun 22 18:29:12 CEST 2017
Hi I am running CentOS 7.3 with the latest FreeRADIUS available. I am having trouble getting radmin working getting the following error when trying to run it.
[root at asm-rancid01 ~]# radmin -f /etc/raddb/sites-enabled/control-socketradmin: Failed connecting to /etc/raddb/sites-enabled/control-socket: Too many levels of symbolic links[root at asm-rancid01 ~]# radminradmin: Could not find control socket in /etc/raddb/radiusd.conf
[root at asm-rancid01 ~]# cd /etc/raddb/sites-enabled/[root at asm-rancid01 sites-enabled]# ls -latotal 4drwxr-x---. 2 root radiusd 63 Jun 22 10:42 .drwxr-xr-x. 9 root radiusd 4096 Jun 22 10:41 ..lrwxrwxrwx. 1 root root 14 Jun 22 10:42 control-socket -> control-socketlrwxrwxrwx. 1 root radiusd 26 Jun 17 17:56 default -> ../sites-available/defaultlrwxrwxrwx. 1 root radiusd 31 Jun 17 17:56 inner-tunnel -> ../sites-available/inner-tunnel[root at asm-rancid01 sites-enabled]#
Radiusd start and I see no errors in the logs.
sudo cat /etc/raddb/sites-available/control-socket |grep "^[^#;]"listen { # # Listen on the control socket. #type = control
# # Socket location. # # This file is created with the server's uid and gid. # It's permissions are r/w for that user and group, and # no permissions for "other" users. These permissions form # minimal security, and should not be relied on. # socket = ${run_dir}/${name}.sock # # The following two parameters perform authentication and # authorization of connections to the control socket. # # If not set, then ANYONE can connect to the control socket, # and have complete control over the server. This is likely # not what you want. # # One, or both, of "uid" and "gid" should be set. If set, the # corresponding value is checked. Unauthorized users result # in an error message in the log file, and the connection is # closed. # # # Name of user that is allowed to connect to the control socket. # uid = radius # # Name of group that is allowed to connect to the control socket. # gid = radius # # Access mode. # # This can be used to give *some* administrators access to # monitor the system, but not to change it. # # ro = read only access (default) # rw = read/write access. # mode = rw}
More information about the Freeradius-Users
mailing list