No conf files installed on fresh freeradius install on Ubuntu 16.04
I've just tried to install freeradius on Ubuntu 16.04.4 LTS and no conf files are installed. I performed an apt-get update and apt-get upgrade before the install. :/# find /etc/freeradius/ /etc/freeradius/ /etc/freeradius/certs /etc/freeradius/sites-enabled /etc/freeradius/sites-available /etc/freeradius/modules /etc/freeradius/sql /etc/freeradius/sql/mysql :/# I've tried two different Ubuntu 16.04.4 LTS servers and both have the same problem. I've tried removing, force reinstalling, and having no luck. Debug output: :/# freeradius -CXx Tue Apr 17 12:12:47 2018 : Info: freeradius: FreeRADIUS Version 2.2.8, for host x86_64-pc-linux-gnu, built on Jul 26 2017 at 15:27:21 Tue Apr 17 12:12:47 2018 : Debug: Server was built with: Tue Apr 17 12:12:47 2018 : Debug: accounting Tue Apr 17 12:12:47 2018 : Debug: authentication Tue Apr 17 12:12:47 2018 : Debug: WITH_DHCP Tue Apr 17 12:12:47 2018 : Debug: WITH_VMPS Tue Apr 17 12:12:47 2018 : Debug: Server core libs: Tue Apr 17 12:12:47 2018 : Debug: ssl: OpenSSL 1.0.2g 1 Mar 2016 Tue Apr 17 12:12:47 2018 : Info: Copyright (C) 1999-2015 The FreeRADIUS server project and contributors. Tue Apr 17 12:12:47 2018 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Tue Apr 17 12:12:47 2018 : Info: PARTICULAR PURPOSE. Tue Apr 17 12:12:47 2018 : Info: You may redistribute copies of FreeRADIUS under the terms of the Tue Apr 17 12:12:47 2018 : Info: GNU General Public License. Tue Apr 17 12:12:47 2018 : Info: For more information about these matters, see the file named COPYRIGHT. Tue Apr 17 12:12:47 2018 : Info: Starting - reading configuration files ... Tue Apr 17 12:12:47 2018 : Debug: including configuration file /etc/freeradius/radiusd.conf Tue Apr 17 12:12:47 2018 : Error: Unable to open file "/etc/freeradius/radiusd.conf": No such file or directory Tue Apr 17 12:12:47 2018 : Error: Errors reading or parsing /etc/freeradius/radiusd.conf :/# Any ideas? Thanks John
On Tue, 2018-04-17 at 00:14 +0000, John Burns wrote:
I've just tried to install freeradius on Ubuntu 16.04.4 LTS and no conf files are installed.
Installed... how?
From source? Packages? If so, from where?
Any ideas?
Assuming you installed from packages, # apt-get install freeradius-config -- Matthew
On Tue, Apr 17, 2018 at 7:14 AM, John Burns <john@john.geek.nz> wrote:
I've just tried to install freeradius on Ubuntu 16.04.4 LTS and no conf files are installed.
I performed an apt-get update and apt-get upgrade before the install.
:/# find /etc/freeradius/ /etc/freeradius/ /etc/freeradius/certs /etc/freeradius/sites-enabled /etc/freeradius/sites-available /etc/freeradius/modules /etc/freeradius/sql /etc/freeradius/sql/mysql :/#
# dpkg -S /etc/freeradius/radiusd.conf freeradius-common: /etc/freeradius/radiusd.conf Do you have that package installed?
I've tried two different Ubuntu 16.04.4 LTS servers and both have the same problem.
I've tried removing, force reinstalling, and having no luck.
apt purge freeradius-common apt install freeradius *note "purge". My guess is you had the packages installed and did 'rm -rf' -- Fajar
On Tue, 2018-04-17 at 16:08 +0700, Fajar A. Nugraha wrote:
On Tue, Apr 17, 2018 at 7:14 AM, John Burns <john@john.geek.nz> wrote: # dpkg -S /etc/freeradius/radiusd.conf
freeradius-common: /etc/freeradius/radiusd.conf
Do you have that package installed?
Ah yes, it's v2. Assuming this is a new install: v2 is obsolete. You should be using v3. -- Matthew
participants (3)
-
Fajar A. Nugraha -
John Burns -
Matthew Newton