Radmin - hup query

John Horne john.horne at plymouth.ac.uk
Fri Sep 10 14:12:37 CEST 2010


Hello,

Running Freeradius 2.1.10 on CentOS 5.5 I have been taking a quick look
at the radmin 'hup' command. However, I am having a problem getting it
to work:

  radmin -e hup
  ERROR: You do not have write permission.  See "mode = rw"
  in /var/run/radiusd/radiusd.sock

However, the socket file shows:

  ls -l /var/run/radiusd/radiusd.sock
  srw-rw---- 1 radiusd radiusd 0 Sep 10
                   04:02 /var/run/radiusd/radiusd.sock

  ls -ld /var/run/radiusd
  drwxr-xr-x 2 radiusd radiusd 4096 Sep 10 04:02 /var/run/radiusd

If I run the radmin command as root or the radiusd user, I get the ERROR
message.

Additionally in the radius log file I see (when the radmin command is
run):

   Fri Sep 10 12:59:28 2010 : Info:  ... adding new socket command
   file /var/run/radiusd/radiusd.sock
   Fri Sep 10 12:59:28 2010 : Info:  ... closing socket command 
   file /var/run/radiusd/radiusd.sock

I'm not sure what the first message means as the file already exists,
and the second one says it is closing the socket, yet the socket file
still exists (unless it literally means it is closing the socket but
leaving the file there.)

Any suggestions as to what is going on here?





John.

-- 
John Horne                   Tel: +44 (0)1752 587287
University of Plymouth, UK   Fax: +44 (0)1752 587001




More information about the Freeradius-Users mailing list