Upgrading FR on Ubuntu
Hi all, I've installed the v2.x.x branch on my FR server... but my server is running on Ubuntu 14.04 using the release v2.2.5 package, and as such is installed into /etc/freeradius. Installing the branch is installing to /usr/local/etc/raddb and I can't get this to start: radiusd: error while loading shared libraries: libfreeradius-radius-020205.so: cannot open shared object file: No such file or directory Is there anyway to just 'upgrade' on Ubuntu using the original /etc/freeradius location and config files? Cheers Kev/.
Hi,
I've installed the v2.x.x branch on my FR server... but my server is running on Ubuntu 14.04 using the release v2.2.5 package, and as such is installed into /etc/freeradius. Installing the branch is installing to /usr/local/etc/raddb and I can't get this to start:
radiusd: error while loading shared libraries: libfreeradius-radius-020205.so: cannot open shared object file: No such file or directory
Is there anyway to just 'upgrade' on Ubuntu using the original /etc/freeradius location and config files?
yes - you need to you the ubuntu build/spec scripts and then it will build it with the same process name, library locations and configuration/file prefixes that ubuntu use - there are 'compile on ubuntu'/'make ubuntu package' guides alan
On Thu, Sep 4, 2014 at 6:35 PM, Kev Pearce <email.me@kevp.com> wrote:
Hi all,
I've installed the v2.x.x branch on my FR server... but my server is running on Ubuntu 14.04 using the release v2.2.5 package, and as such is installed into /etc/freeradius. Installing the branch is installing to /usr/local/etc/raddb and I can't get this to start:
radiusd: error while loading shared libraries: libfreeradius-radius-020205.so: cannot open shared object file: No such file or directory
Is there anyway to just 'upgrade' on Ubuntu using the original /etc/freeradius location and config files?
(1) backup your config files (e.g. /etc/freeradius), in case anything goes wrong (2) See https://launchpad.net/~freeradius/+archive/ubuntu/stable It should be as simple as adding the ppa and running apt-get update, apt-get install freeradius ... and in case you didn't know, if for whatever reason you need to rollback to Ubuntu's version of a software instead of using ppa, use ppa-purge. -- Fajar
Hi Fajar,
It should be as simple as adding the ppa and running apt-get update, apt-get install freeradius
Sorry, maybe I should have been clearer. I’m currently running v2.2.5 (installed using apt-get and ppa) but I need to upgrade to the latest v2.x.x branch from Github, which means making from source. And I’m hitting issue with the directories that each uses. Cheers Kev/.
On Sep 4, 2014, at 6:01 PM, Kev Pearce <email.me@kevp.com> wrote:
I’m currently running v2.2.5 (installed using apt-get and ppa) but I need to upgrade to the latest v2.x.x branch from Github, which means making from source.
If you look at the source tree, there’s a “debian” directory. You can use it to make a package. Then, install the package. Alan DeKok.
On 4 Sep 2014, at 18:15, Alan DeKok <aland@deployingradius.com> wrote:
On Sep 4, 2014, at 6:01 PM, Kev Pearce <email.me@kevp.com> wrote:
I’m currently running v2.2.5 (installed using apt-get and ppa) but I need to upgrade to the latest v2.x.x branch from Github, which means making from source.
If you look at the source tree, there’s a “debian” directory. You can use it to make a package. Then, install the package.
There's also the deb target... make deb Should work for any branch... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (5)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Arran Cudbard-Bell -
Fajar A. Nugraha -
Kev Pearce