Encountering error when using "radius -X"
Hi, -freeradius version: freeradius-2.1.0+dfsg (downloaded from http://packages.ubuntu.com/source/karmic/freeradius) -OS: Ubuntu 9.10 (Karmic Koala) I wanted to use freeradius with PAM. I performed following steps in order: 1) Downloaded freeradius from above given link. 2) Extracted it to /home/kartik/Downloads/ then went to /home/kartik/Downloads/freeradius-2.1.0+dfsg/ and ran ./configure make make install 3) Then in "/home/kartik/Downloads/freeradius-2.1.0+dfsg/" subdiretcory I gave: radiusd -X I got this message: *radiusd: error while loading shared libraries: libfreeradius-radius-2.1.0.so: cannot open shared object file: No such file or directory* I saw a post earlier about this message but I didn't help me much. Please, help me solve this issue as I am stuck on this for too long now and I am totallly confused!! p.s: ONE MORE THING: I am very confused, every where I read they have mentioned how we will find 'raddb' in '/etc/ as '/etc/raddb' BUT I can't find it there. I have 'raddb' in '/home/kartik/Downloads/freeradius-2.1.0+dfsg/' I have copy pasted the contents on my freeradius subdirectory here, if it helps: root@kartik-laptop:/home/kartik/Downloads/freeradius-2.1.0+dfsg# ls -l total 1860 -rw-r--r-- 1 kartik kartik 8975 2008-09-05 06:27 acinclude.m4 -rw-r--r-- 1 kartik kartik 4584 2008-09-05 06:27 aclocal.m4 -rwxr-xr-x 1 kartik kartik 414 2008-09-05 06:27 autogen.sh -rwxr-xr-x 1 kartik kartik 44604 2008-09-05 06:27 config.guess -rw-r--r-- 1 root root 135594 2010-08-17 22:21 config.log -rwxr-xr-x 1 root root 34806 2010-08-17 22:20 config.status -rwxr-xr-x 1 kartik kartik 32851 2008-09-05 06:27 config.sub -rwxr-xr-x 1 kartik kartik 814759 2008-09-05 06:27 configure -rw-r--r-- 1 kartik kartik 29934 2008-09-05 06:27 configure.in -rw-r--r-- 1 kartik kartik 3141 2008-09-05 06:27 COPYRIGHT -rw-r--r-- 1 kartik kartik 1383 2008-09-05 06:27 CREDITS drwxr-xr-x 9 kartik kartik 4096 2008-09-05 06:27 dialup_admin drwxr-xr-x 5 kartik kartik 4096 2010-08-18 04:25 doc -rw-r--r-- 1 kartik kartik 6750 2008-09-05 06:27 INSTALL -rwxr-xr-x 1 kartik kartik 5598 2008-09-05 06:27 install-sh drwxr-xr-x 3 kartik kartik 4096 2010-08-17 22:21 libltdl -rwxr-xr-x 1 root root 207794 2010-08-17 22:20 libtool -rw-r--r-- 1 kartik kartik 230594 2008-09-05 06:27 libtool.m4 -rw-r--r-- 1 kartik kartik 18011 2008-09-05 06:27 LICENSE -rwxr-xr-x 1 kartik kartik 196440 2008-09-05 06:27 ltmain.sh -rw-r--r-- 1 kartik kartik 6493 2008-09-05 06:27 Makefile -rw-r--r-- 1 root root 2871 2010-08-17 22:20 Make.inc -rw-r--r-- 1 kartik kartik 2060 2008-09-05 06:27 Make.inc.in drwxr-xr-x 5 kartik kartik 4096 2008-09-05 06:27 man drwxr-xr-x 2 kartik kartik 4096 2008-09-05 06:27 mibs -rwxr-xr-x 1 kartik kartik 10270 2008-09-05 06:27 missing drwxr-xr-x 7 kartik kartik 4096 2010-08-17 22:33 raddb -rw-r--r-- 1 kartik kartik 7757 2008-09-05 06:27 README drwxr-xr-x 2 kartik kartik 4096 2008-09-05 06:27 redhat drwxr-xr-x 3 kartik kartik 4096 2010-08-17 22:20 scripts drwxr-xr-x 2 kartik kartik 4096 2008-09-05 06:27 share drwxr-xr-x 8 kartik kartik 4096 2010-08-17 22:21 src drwxr-xr-x 2 kartik kartik 4096 2008-09-05 06:27 suse drwxr-xr-x 2 kartik kartik 4096 2008-09-05 06:27 todo -rw-r--r-- 1 kartik kartik 6 2008-09-05 06:27 VERSION -- Best Regards Kartik
kartik dadwal wrote:
Hi,
-freeradius version: freeradius-2.1.0+dfsg (downloaded from http://packages.ubuntu.com/source/karmic/freeradius) -OS: Ubuntu 9.10 (Karmic Koala)
I wanted to use freeradius with PAM. I performed following steps in order: 1) Downloaded freeradius from above given link.
This link does not permit to download any freeradius. -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
kartik dadwal wrote:
Hi,
-freeradius version: freeradius-2.1.0+dfsg (downloaded from http://packages.ubuntu.com/source/karmic/freeradius) -OS: Ubuntu 9.10 (Karmic Koala)
I was unable to download but now i get a page that is not empty. But, if i check depends of my binary deb : *Depends: lsb-base (>= 3.0-6), libc6 (>= 2.7-1), libfreeradius2 (= 2.0.4+dfsg-6), libgdbm3, libltdl3 (>= 1.5.2-2), libpam0g (>= 0.99.7.1), libperl5.10 (>= 5.10.0), libsnmp15 (>= 5.4.1~dfsg), libssl0.9.8 (>= 0.9.8f-5), python2.5 (>= 2.5), freeradius-common If you want to compile your own freeradius, it should be easier to use the .deb source. You'll get a .deb binary package and all the advantages of .deb. * -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
path issue. create symlink to the particular files. ln -s /usr/local/lib/* libfreeradius-radius-2.1.0.so /usr/lib there may be some more missing files whose symlink you need to do . Let me know if it works. * On Wed, Aug 18, 2010 at 5:53 PM, Fabien COMBERNOUS <fcombernous@kezia.com>wrote:
kartik dadwal wrote:
Hi,
-freeradius version: freeradius-2.1.0+dfsg (downloaded from http://packages.ubuntu.com/source/karmic/freeradius) -OS: Ubuntu 9.10 (Karmic Koala)
I was unable to download but now i get a page that is not empty.
But, if i check depends of my binary deb : *Depends: lsb-base (>= 3.0-6), libc6 (>= 2.7-1), libfreeradius2 (= 2.0.4+dfsg-6), libgdbm3, libltdl3 (>= 1.5.2-2), libpam0g (>= 0.99.7.1), libperl5.10 (>= 5.10.0), libsnmp15 (>= 5.4.1~dfsg), libssl0.9.8 (>= 0.9.8f-5), python2.5 (>= 2.5), freeradius-common
If you want to compile your own freeradius, it should be easier to use the .deb source. You'll get a .deb binary package and all the advantages of .deb.
* -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, @Fablen: I first used "synaptic packet manger" to install free radius as it synaptic pkt. manger takes care of the dependencies. After insatlling freeradius through the synaptic pkt. manger I could not find any of the freeradius subdirectories. So, I removed freeradius completely again using synaptic manager. Then I decided to download .tar.gz file from the link that I had sent earlier and ran: ./configure make make install I just got one error for some particular package, I googled the error and insatlled "libltdl-dev" package from http://packages.ubuntu.com/karmic/libltdl-dev After that everything went smoothly and I did face any error. I am sure all dependencies were found. can you also tell me why I don't have "raddb" in /etc/ ?. It makes me believe as If there something is wrong (which might ot might noe be true!!) thank you so much. Do you need any other info on this? @Suman: I went to "/usr/local/lib" and executed the following command to see the symlink: root@kartik-laptop:/usr/local/lib# ls -l| grep free lrwxrwxrwx 1 root root 20 2010-08-17 22:35 libfreeradius-eap-2.1.0.la-> libfreeradius-eap.la -rwxr-xr-x 1 root root 50105 2010-08-17 22:35 libfreeradius-eap-2.1.0.so -rw-r--r-- 1 root root 60316 2010-08-17 22:35 libfreeradius-eap.a -rwxr-xr-x 1 root root 934 2010-08-17 22:35 libfreeradius-eap.la lrwxrwxrwx 1 root root 26 2010-08-17 22:35 libfreeradius-eap.so -> libfreeradius-eap-2.1.0.so lrwxrwxrwx 1 root root 23 2010-08-17 22:35 libfreeradius-radius-2.1.0.la -> libfreeradius-radius.la -rwxr-xr-x 1 root root 359344 2010-08-17 22:35 libfreeradius-radius-2.1.0.so -rw-r--r-- 1 root root 487416 2010-08-17 22:35 libfreeradius-radius.a -rwxr-xr-x 1 root root 891 2010-08-17 22:35 libfreeradius-radius.la *lrwxrwxrwx 1 root root 29 2010-08-17 22:35 libfreeradius-radius.so -> libfreeradius-radius-2.1.0.so* libfreeradius-radius.so is linked to itself it seems. Can you please tell me when you say:
ln -s /usr/local/lib/* libfreeradius-radius-2.1.0.so /usr/lib *Where in "/usr/lib" or to what exact file in "/usr/lib"do you want me to point /usr/local/lib/* libfreeradius-radius-2.1.0.so* to?
can you also tell me why I don't have "raddb" in /etc/ ?. It makes me believe as If there something is wrong (which might ot might noe be true!!) Thank you so much for replying and trying to helping me out. On Wed, Aug 18, 2010 at 5:26 AM, Suman Dash <sumandash@gmail.com> wrote:
path issue.
create symlink to the particular files.
ln -s /usr/local/lib/* libfreeradius-radius-2.1.0.so /usr/lib
there may be some more missing files whose symlink you need to do .
Let me know if it works.
*
On Wed, Aug 18, 2010 at 5:53 PM, Fabien COMBERNOUS <fcombernous@kezia.com>wrote:
kartik dadwal wrote:
Hi,
-freeradius version: freeradius-2.1.0+dfsg (downloaded from http://packages.ubuntu.com/source/karmic/freeradius) -OS: Ubuntu 9.10 (Karmic Koala)
I was unable to download but now i get a page that is not empty.
But, if i check depends of my binary deb : *Depends: lsb-base (>= 3.0-6), libc6 (>= 2.7-1), libfreeradius2 (= 2.0.4+dfsg-6), libgdbm3, libltdl3 (>= 1.5.2-2), libpam0g (>= 0.99.7.1), libperl5.10 (>= 5.10.0), libsnmp15 (>= 5.4.1~dfsg), libssl0.9.8 (>= 0.9.8f-5), python2.5 (>= 2.5), freeradius-common
If you want to compile your own freeradius, it should be easier to use the .deb source. You'll get a .deb binary package and all the advantages of .deb.
* -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards Kartik
kartik dadwal wrote:
Hi,
@Fablen: I first used "synaptic packet manger" to install free radius as it synaptic pkt. manger takes care of the dependencies. After insatlling freeradius through the synaptic pkt. manger I could not find any of the freeradius subdirectories. So, I removed freeradius completely again using synaptic manager.
Then I decided to download .tar.gz file from the link that I had sent earlier and ran: ./configure make make install I just got one error for some particular package, I googled the error and insatlled "libltdl-dev" package from http://packages.ubuntu.com/karmic/libltdl-dev After that everything went smoothly and I did face any error. I am sure all dependencies were found.
can you also tell me why I don't have "raddb" in /etc/ ?. It makes me believe as If there something is wrong (which might ot might noe be true!!) The /etc/raddb is the default settings. In my debian box, radius files are in the directry /etc/freeradius/
In general you can get the list of the files from a deb package with the command line : $> dpkg -L <name of the package> Here we have : $> dpkg -L freeradius | grep etc /etc /etc/pam.d /etc/pam.d/radiusd /etc/init.d /etc/init.d/freeradius /etc/freeradius /etc/freeradius/preproxy_users /etc/freeradius/policy.conf /etc/freeradius/sites-enabled /etc/freeradius/clients.conf /etc/freeradius/sqlippool.conf /etc/freeradius/templates.conf /etc/freeradius/attrs.accounting_response /etc/freeradius/attrs /etc/freeradius/certs /etc/freeradius/hints /etc/freeradius/experimental.conf /etc/freeradius/users /etc/freeradius/huntgroups ... -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
Hi, I have ubuntu 9.10. Can you please tell me 1)Before running "radius -X" what all steps should be completed? 2)what should be the subdirectory structure for freeradius and where it should be formed in the directory structure? 3)which sub directory should I give the "radius -X" command. I guess these steps might help me nail down why I am getting this error : *radiusd: error while loading shared libraries: libfreeradius-radius-2.1.0.so: cannot open shared object file: No such file or directory* When I run "radius -X" under "/home/kartik/Downloads/freeradius-2.1.0+dfsg/" Thank you. On Wed, Aug 18, 2010 at 7:05 AM, Fabien COMBERNOUS <fcombernous@kezia.com>wrote:
kartik dadwal wrote:
Hi,
@Fablen: I first used "synaptic packet manger" to install free radius as it synaptic pkt. manger takes care of the dependencies. After insatlling freeradius through the synaptic pkt. manger I could not find any of the freeradius subdirectories. So, I removed freeradius completely again using synaptic manager.
Then I decided to download .tar.gz file from the link that I had sent earlier and ran: ./configure make make install I just got one error for some particular package, I googled the error and insatlled "libltdl-dev" package from http://packages.ubuntu.com/karmic/libltdl-dev After that everything went smoothly and I did face any error. I am sure all dependencies were found.
can you also tell me why I don't have "raddb" in /etc/ ?. It makes me believe as If there something is wrong (which might ot might noe be true!!)
The /etc/raddb is the default settings. In my debian box, radius files are in the directry /etc/freeradius/
In general you can get the list of the files from a deb package with the command line : $> dpkg -L <name of the package> Here we have : $> dpkg -L freeradius | grep etc /etc /etc/pam.d /etc/pam.d/radiusd /etc/init.d /etc/init.d/freeradius /etc/freeradius /etc/freeradius/preproxy_users /etc/freeradius/policy.conf /etc/freeradius/sites-enabled /etc/freeradius/clients.conf /etc/freeradius/sqlippool.conf /etc/freeradius/templates.conf /etc/freeradius/attrs.accounting_response /etc/freeradius/attrs /etc/freeradius/certs /etc/freeradius/hints /etc/freeradius/experimental.conf /etc/freeradius/users /etc/freeradius/huntgroups ...
-- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards Kartik
1)Before running "radius -X" what all steps should be completed?
... www.deployingradius.com, follow the how to ... and really and I mean REALLY read the documentation in the conf files ... all of them. Print them out in color ... all of them. Spread them out all over your work surface, make piles, arrange them in the order they will be processed in, etc. This is not a joke, it really helped me make sense of the program.
2)what should be the subdirectory structure for freeradius and where it should be formed in the directory structure?
... assuming you didn't change anything in the compilation command then on centOS it was in /usr/local/etc/raddb when I installed from source however this is related to your third question
3)which sub directory should I give the "radius -X" command. ... this is really a general linux question, if you cant find the radius command try " locate radius" in your favorite shell, if you haven't rebuilt your locate DB since you installed then "man locate" will be your best friend.
Alan, I hope it is ok to plug your site, I found it an invaluable tool : ) Jake Sallee Godfather Of Bandwidth Network Engineer Fone: 254-295-4658 Phax: 254-295-4221 From: freeradius-users-bounces+jake.sallee=umhb.edu@lists.freeradius.org [mailto:freeradius-users-bounces+jake.sallee=umhb.edu@lists.freeradius.o rg] On Behalf Of kartik dadwal Sent: Wednesday, August 18, 2010 3:39 PM To: FreeRadius users mailing list Subject: Re: Encountering error when using "radius -X" Hi, I have ubuntu 9.10. Can you please tell me 1)Before running "radius -X" what all steps should be completed? 2)what should be the subdirectory structure for freeradius and where it should be formed in the directory structure? 3)which sub directory should I give the "radius -X" command. I guess these steps might help me nail down why I am getting this error : radiusd: error while loading shared libraries: libfreeradius-radius-2.1.0.so <http://libfreeradius-radius-2.1.0.so/> : cannot open shared object file: No such file or directory When I run "radius -X" under "/home/kartik/Downloads/freeradius-2.1.0+dfsg/" Thank you. On Wed, Aug 18, 2010 at 7:05 AM, Fabien COMBERNOUS <fcombernous@kezia.com> wrote: kartik dadwal wrote: Hi, @Fablen: I first used "synaptic packet manger" to install free radius as it synaptic pkt. manger takes care of the dependencies. After insatlling freeradius through the synaptic pkt. manger I could not find any of the freeradius subdirectories. So, I removed freeradius completely again using synaptic manager. Then I decided to download .tar.gz file from the link that I had sent earlier and ran: ./configure make make install I just got one error for some particular package, I googled the error and insatlled "libltdl-dev" package from http://packages.ubuntu.com/karmic/libltdl-dev After that everything went smoothly and I did face any error. I am sure all dependencies were found. can you also tell me why I don't have "raddb" in /etc/ ?. It makes me believe as If there something is wrong (which might ot might noe be true!!) The /etc/raddb is the default settings. In my debian box, radius files are in the directry /etc/freeradius/ In general you can get the list of the files from a deb package with the command line : $> dpkg -L <name of the package> Here we have : $> dpkg -L freeradius | grep etc /etc /etc/pam.d /etc/pam.d/radiusd /etc/init.d /etc/init.d/freeradius /etc/freeradius /etc/freeradius/preproxy_users /etc/freeradius/policy.conf /etc/freeradius/sites-enabled /etc/freeradius/clients.conf /etc/freeradius/sqlippool.conf /etc/freeradius/templates.conf /etc/freeradius/attrs.accounting_response /etc/freeradius/attrs /etc/freeradius/certs /etc/freeradius/hints /etc/freeradius/experimental.conf /etc/freeradius/users /etc/freeradius/huntgroups ... -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Best Regards Kartik
kartik dadwal wrote:
Hi,
I have ubuntu 9.10. Can you please tell me 1)Before running "radius -X" what all steps should be completed? 2)what should be the subdirectory structure for freeradius and where it should be formed in the directory structure? 3)which sub directory should I give the "radius -X" command.
Before to try to give answers, do you really need to compile your own radius from sources ? Now you know that with radius binary .deb package, radius config is in /etc/freeradius directory. Can you consider to forget sources you downloaded ? If you can't, i never used the way you are following. You'll have to consided depends. And i have not enough time to try your way on a box.
On Wed, Aug 18, 2010 at 7:05 AM, Fabien COMBERNOUS <fcombernous@kezia.com <mailto:fcombernous@kezia.com>> wrote:
In general you can get the list of the files from a deb package with the command line : $> dpkg -L <name of the package> Here we have : $> dpkg -L freeradius | grep etc /etc /etc/pam.d /etc/pam.d/radiusd /etc/init.d /etc/init.d/freeradius /etc/freeradius
-- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
Hi Fabien, I will try to follow your method. Can you tell me how to get rid on the installation process that I have already done for freeradius? So that I can re-install it using other ways. I am a newbie so next question sound a little stupid but please still answer it. when you say 'radius binary .deb package', does '.deb' belongs to debian? I have ubuntu (I know ubuntu is a spun off from debian!). The only other way I know for installing something on my ubuntu us using "synaptic package manager". Do you mean to say I can search for freeradius on synaptic manager and install it from there as it takes care of all the dpendencies? Thank you so much for your help! On Thu, Aug 19, 2010 at 12:40 AM, Fabien COMBERNOUS <fcombernous@kezia.com>wrote:
kartik dadwal wrote:
Hi,
I have ubuntu 9.10. Can you please tell me 1)Before running "radius -X" what all steps should be completed? 2)what should be the subdirectory structure for freeradius and where it should be formed in the directory structure? 3)which sub directory should I give the "radius -X" command.
Before to try to give answers, do you really need to compile your own radius from sources ? Now you know that with radius binary .deb package, radius config is in /etc/freeradius directory. Can you consider to forget sources you downloaded ? If you can't, i never used the way you are following. You'll have to consided depends. And i have not enough time to try your way on a box.
On Wed, Aug 18, 2010 at 7:05 AM, Fabien COMBERNOUS <fcombernous@kezia.com<mailto: fcombernous@kezia.com>> wrote:
In general you can get the list of the files from a deb package with the command line : $> dpkg -L <name of the package> Here we have : $> dpkg -L freeradius | grep etc /etc /etc/pam.d /etc/pam.d/radiusd /etc/init.d /etc/init.d/freeradius /etc/freeradius
-- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards Kartik
kartik dadwal wrote: [...]
when you say 'radius binary .deb package', does '.deb' belongs to debian? I have ubuntu (I know ubuntu is a spun off from debian!). The only other way I know for installing something on my ubuntu us using "synaptic package manager". Do you mean to say I can search for freeradius on synaptic manager and install it from there as it takes care of all the dpendencies? With Debian and Ubuntu, the management of the world is done by .deb packages. If you want to get binaries (or sources also) the system use .deb. To do this you can use synaptic (gui), or aptitude (cli). So, yes you can search and find and install freeradius with synaptic. It will take care of all dependencies. And you'll have to remember to use /etc/freeradius instead of /etc/raddb when you'll read freeradius documents.
If you haven't a special request about your freeradius setup just install freeradius with synaptic. Here the command with aptitude : sudo aptitude install freeradius If you want a ldap backend : sudo aptitude install freeradius-ldap If you want a sqlbackend, it depand of the rdbms you want : sudo aptitude install freeradius-mysql sudo aptitude install freeradius-postgresql With this process you'll get a basic running freeradius. Then you'll have to fit your needs by modifying the setup. The search flag will give all the freeradius .deb possibilities. You can always use synaptic gui or aptitude cli as following : sudo aptitude search <pattern> Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
Hi Fabien, Can you tell me how to get rid of already installed freeradius? So that I can re-install it using synaptic or aptitude. On Fri, Aug 20, 2010 at 1:41 AM, Fabien COMBERNOUS <fcombernous@kezia.com>wrote:
kartik dadwal wrote:
[...]
when you say 'radius binary .deb package', does '.deb' belongs to debian?
I have ubuntu (I know ubuntu is a spun off from debian!). The only other way I know for installing something on my ubuntu us using "synaptic package manager". Do you mean to say I can search for freeradius on synaptic manager and install it from there as it takes care of all the dpendencies?
With Debian and Ubuntu, the management of the world is done by .deb packages. If you want to get binaries (or sources also) the system use .deb. To do this you can use synaptic (gui), or aptitude (cli). So, yes you can search and find and install freeradius with synaptic. It will take care of all dependencies. And you'll have to remember to use /etc/freeradius instead of /etc/raddb when you'll read freeradius documents.
If you haven't a special request about your freeradius setup just install freeradius with synaptic. Here the command with aptitude : sudo aptitude install freeradius
If you want a ldap backend : sudo aptitude install freeradius-ldap If you want a sqlbackend, it depand of the rdbms you want : sudo aptitude install freeradius-mysql sudo aptitude install freeradius-postgresql
With this process you'll get a basic running freeradius. Then you'll have to fit your needs by modifying the setup.
The search flag will give all the freeradius .deb possibilities. You can always use synaptic gui or aptitude cli as following : sudo aptitude search <pattern>
Regards,
-- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards Kartik
kartik dadwal wrote:
Hi Fabien,
Can you tell me how to get rid of already installed freeradius? So that I can re-install it using synaptic or aptitude.
Funny Makefile : ----------------------------------------- # The $(R) is a magic variable not defined anywhere in this source. # It's purpose is to allow an admin to create an installation 'tar' # file *without* actually installing it. e.g.: # # $ R=/home/root/tmp make install # $ cd /home/root/tmp # $ tar -cf ~/freeradius-package.tar * # # The 'tar' file can then be un-tar'd on any similar machine. It's a # cheap way of creating packages, without using a package manager. # Many of the platform-specific packaging tools use the $(R) variable # when creating their packages. # # For compatibility with typical GNU packages (e.g. as seen in libltdl), # we make sure DESTDIR is defined. # export DESTDIR := $(R) -------------------------------------------- So you probably don't have to take care of your make install. Perhaps i'm wrong i don't have more time to check. And if i'm wrong, then aptitude or synaptic will give an error message. Use aptitude or synapic and give us the result of the install. If you get an error message past it here. Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group
participants (5)
-
Alan DeKok -
Fabien COMBERNOUS -
kartik dadwal -
Sallee, Stephen (Jake) -
Suman Dash