freeRadius doesn't start when I change the server name in radiusd.conf The line is radiusd.conf now looks like: # name of the running server. See also the "-n" command-line option. name = sessionRadius I have in the log: Wed Dec 21 16:43:08 2011 : Error: Failed binding to //var/run/sessionRadius/sessionRadius.sock: No such file or directory Why is freeRadius unable to create that socket when I change the name? Travis Dimmig Software Development Specialist Impulse Point www.impulse.com<http://www.impulse.com>
On Thu, Dec 22, 2011 at 4:49 AM, Travis Dimmig <tdimmig@impulse.com> wrote:
Wed Dec 21 16:43:08 2011 : Error: Failed binding to //var/run/sessionRadius/sessionRadius.sock: No such file or directory
Why is freeRadius unable to create that socket when I change the name?
Are you familiar with unix permission? http://en.wikipedia.org/wiki/Unix_permission Does /var/run/sessionRadius exists? Is it writable by the user freeradius is running as? -- Fajar
In this instance I am executing freeRadius as root, so there should be no permission issues with creating the file. Travis
-----Original Message----- From: freeradius-users-bounces+tdimmig=impulse.com@lists.freeradius.org [mailto:freeradius-users- bounces+tdimmig=impulse.com@lists.freeradius.org] On Behalf Of Fajar A. Nugraha Sent: Wednesday, December 21, 2011 5:21 PM To: FreeRadius users mailing list Subject: Re: name change
On Thu, Dec 22, 2011 at 4:49 AM, Travis Dimmig <tdimmig@impulse.com> wrote:
Wed Dec 21 16:43:08 2011 : Error: Failed binding to //var/run/sessionRadius/sessionRadius.sock: No such file or directory
Why is freeRadius unable to create that socket when I change the name?
Are you familiar with unix permission? http://en.wikipedia.org/wiki/Unix_permission Does /var/run/sessionRadius exists? Is it writable by the user freeradius is running as?
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Ah, you have in fact pointed me in the right direction. If you don't change the name, this folder is made for you at some point. I had assumed it was made at first execution, and the name variable was referenced in its creation. That does not appear to be the case, but if I create the folder myself then everything seems to work. Travis
-----Original Message----- From: freeradius-users-bounces+tdimmig=impulse.com@lists.freeradius.org [mailto:freeradius-users- bounces+tdimmig=impulse.com@lists.freeradius.org] On Behalf Of Fajar A. Nugraha Sent: Wednesday, December 21, 2011 5:21 PM To: FreeRadius users mailing list Subject: Re: name change
On Thu, Dec 22, 2011 at 4:49 AM, Travis Dimmig <tdimmig@impulse.com> wrote:
Wed Dec 21 16:43:08 2011 : Error: Failed binding to //var/run/sessionRadius/sessionRadius.sock: No such file or directory
Why is freeRadius unable to create that socket when I change the name?
Are you familiar with unix permission? http://en.wikipedia.org/wiki/Unix_permission Does /var/run/sessionRadius exists? Is it writable by the user freeradius is running as?
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
Wed Dec 21 16:43:08 2011 : Error: Failed binding to //var/run/sessionRadius/sessionRadius.sock: No such file or directory
permissions. make that directory first - with its old name it either had the directory because of distro or run as root before or SELinux configured for path etc etc alan
participants (3)
-
Alan Buxey -
Fajar A. Nugraha -
Travis Dimmig