>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.org] 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: 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