Re: radius Installation error

2012-10-18 Thread Fajar A. Nugraha
On Thu, Oct 18, 2012 at 6:06 PM, QASIM RAO  wrote:
>
> Sir i use this command while configuring and it works
>
> ./configure --disable-libltdl-install --with-system-libtool

You should need more flags since ltdl and libtool go together. See the
configure flags in my previous mail.
If it worked for you, well, my best guess is either you're lucky, or
the configure script is smarter now :)

>
>
> but i want to know i some servers i just use  "./configure" command and it
> works
>

Exactly. In general, it should be enough.

> but  in some it does not . so where is the problem acctually occurs
> in server or in my radius package.. ???

Not sure. Probably the difference is whether some packages are already
installed or not (e.g. libtldl-devel, or something like that).

Personally I prefer to use packages (e.g. RPM, or deb). Either distro
provided, or self-compiled using the provided recipe (e.g. spec files,
or debian directroy). That way:
- I only need to compile once. Which also means I only need to install
*-devel package once, on the compile server
- All deployment using that package will be relatively homogenous. No
sudden "surprise" because some module was included when compiling in
server A but not when compiling on server B, or something like that
- I can have clean upgrade path, no leftover files from previous versions.

-- 
Fajar
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: radius Installation error

2012-10-18 Thread QASIM RAO


Sir i use this command while configuring and it works
./configure --disable-libltdl-install --with-system-libtool

but i want to know i some servers i just use  "./configure" command and it works
but  in some it does not . so where is the problem acctually occurs in server 
or in my radius package.. ???


 Thanks,

> Date: Thu, 18 Oct 2012 17:28:55 +0700
> Subject: Re: radius Installation error
> From: l...@fajar.net
> To: freeradius-users@lists.freeradius.org
> 
> On Thu, Oct 18, 2012 at 5:18 PM, QASIM RAO  wrote:
> > hi,
> >
> > i am facing a problem in radius installation on red hat 5
> >
> > this error displays while running "make" command
> >
> > resolv -lpthread  -Wl,-soname -Wl,rlm_eap-1.1.6.so -o .libs/rlm_eap-1.1.6.so
> > /usr/lib/libltdl.so: could not read symbols: File in wrong format
> 
> Hmmm ... what is your configure line?
> 
> IIRC by default FR should use it's own libtool and libltdl, so it
> shouldn't use system one.
> 
> Or, you can try using the same configure line as in RPM SPEC:
> 
> %configure \
> --libdir=%{_libdir}/freeradius \
> --with-system-libtool \
> --with-system-libltdl \
> --disable-ltdl-install \
> --with-udpfromto \
> --with-gnu-ld \
> --with-threads \
> --with-thread-pool \
> --with-docdir=%{docdir} \
> --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
> --with-rlm-sql-postgresql-lib-dir=%{_libdir} \
> --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
> --with-mysql-lib-dir=%{_libdir}/mysql \
> --with-unixodbc-lib-dir=%{_libdir} \
> --with-rlm-dbm-lib-dir=%{_libdir} \
> --with-rlm-krb5-include-dir=/usr/kerberos/include \
> --with-modules="rlm_wimax" \
> --without-rlm_eap_ikev2 \
> --without-rlm_sql_iodbc \
> --without-rlm_sql_firebird \
> --without-rlm_sql_db2 \
> --without-rlm_sql_oracle
> 
> 
> (replacing the values for %{_*dir} manually as appropriate, of course)
> 
> Or better yet, just use the included redhat/freeradius.spec, and othe
> files on that directory, to build your FR-2.2.0 RPM :D
> 
> -- 
> Fajar
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  -
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: radius Installation error

2012-10-18 Thread Fajar A. Nugraha
On Thu, Oct 18, 2012 at 5:18 PM, QASIM RAO  wrote:
> hi,
>
> i am facing a problem in radius installation on red hat 5
>
> this error displays while running "make" command
>
> resolv -lpthread  -Wl,-soname -Wl,rlm_eap-1.1.6.so -o .libs/rlm_eap-1.1.6.so
> /usr/lib/libltdl.so: could not read symbols: File in wrong format

Hmmm ... what is your configure line?

IIRC by default FR should use it's own libtool and libltdl, so it
shouldn't use system one.

Or, you can try using the same configure line as in RPM SPEC:

%configure \
--libdir=%{_libdir}/freeradius \
--with-system-libtool \
--with-system-libltdl \
--disable-ltdl-install \
--with-udpfromto \
--with-gnu-ld \
--with-threads \
--with-thread-pool \
--with-docdir=%{docdir} \
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
--with-rlm-sql-postgresql-lib-dir=%{_libdir} \
--with-rlm-sql_mysql-include-dir=/usr/include/mysql \
--with-mysql-lib-dir=%{_libdir}/mysql \
--with-unixodbc-lib-dir=%{_libdir} \
--with-rlm-dbm-lib-dir=%{_libdir} \
--with-rlm-krb5-include-dir=/usr/kerberos/include \
--with-modules="rlm_wimax" \
--without-rlm_eap_ikev2 \
--without-rlm_sql_iodbc \
--without-rlm_sql_firebird \
--without-rlm_sql_db2 \
--without-rlm_sql_oracle


(replacing the values for %{_*dir} manually as appropriate, of course)

Or better yet, just use the included redhat/freeradius.spec, and othe
files on that directory, to build your FR-2.2.0 RPM :D

-- 
Fajar
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius installation

2006-09-22 Thread Christian Hahn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

you should check if php is installed and add this line to your httpd.conf

AddType application/x-httpd-php .php3

regards,
Christian

anyuru francis wrote:
> Hello, 
>  
> Am installing freeRadius with Mysql5 and dialup admin with a freebsd 5.4 box 
> well done most of the configs but dialup wont show the frame on the right in 
> browser when  I load it on the webserver
>  
>  
> Any help will be highly appreciated
>  
> Kind Regards
>  
> Francis
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFE48J6kMW7HW8620RAq1ZAJwIJ/ScL9H3L7boDUl7z6lTUJQM8gCcDkBW
8W+AlYepBSXpm+ugTbOMsU4=
=UWJs
-END PGP SIGNATURE-
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius installation

2006-09-21 Thread anyuru francis
Hello, 
 
Am installing freeRadius with Mysql5 and dialup admin with a freebsd 5.4 box 
well done most of the configs but dialup wont show the frame on the right in 
browser when  I load it on the webserver
 
 
Any help will be highly appreciated
 
Kind Regards
 
Francis
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius Installation

2006-09-05 Thread Alan DeKok
"Nico Gazzano" <[EMAIL PROTECTED]> wrote:
> Any examples on how to configure it?  

  To do... what, exactly?

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Radius Installation

2006-09-05 Thread Nico Gazzano
Any examples on how to configure it?  

Nico Gazzano
Network & Systems Admin
MIS Choice Inc.
1699 Wall ST Suite 602
Mount Prospect, IL 60056
Phone 847-690-1900 ext206
Fax 847-690-1350
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Alan DeKok
Sent: Tuesday, September 05, 2006 4:23 PM
To: FreeRadius users mailing list
Subject: Re: Radius Installation 

"Nico Gazzano" <[EMAIL PROTECTED]> wrote:
> I've gotten as far as installing version 1.1.3.  Are there any scripts to
> add users, and how do I configure the web interface?

  The web interface included with the server is dialup_admin.  It is a
PHP-based interface that administers users in an SQL database,
including adding, updating, and deleting users.

  The rest of the configuration files have to be edited by hand.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius Installation

2006-09-05 Thread Alan DeKok
"Nico Gazzano" <[EMAIL PROTECTED]> wrote:
> I've gotten as far as installing version 1.1.3.  Are there any scripts to
> add users, and how do I configure the web interface?

  The web interface included with the server is dialup_admin.  It is a
PHP-based interface that administers users in an SQL database,
including adding, updating, and deleting users.

  The rest of the configuration files have to be edited by hand.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius Installation

2005-05-05 Thread Alan DeKok
"Rupak" <[EMAIL PROTECTED]> wrote:
> under the etc direcrory the following are listed
> raddb[but there are no files under this directory]

  I don't get it.  When you do "make install", you get a listing of
which files are installed, and where they are being installed to.

  What's the problem?

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Radius Installation

2005-05-04 Thread Rupak









Thanx for the reply Tariq.

 

These directory are listed under /opt/freeradius.

 

bin  etc  include 
lib  man  sbin  share  var

 

under the bin directory the following are
listed

 

radeapclient  smbencrypt

 

under the etc direcrory the following are
listed

 

raddb    [but there are no
files under this directory]

 

under the lib directory the following are
listed

 

libeap-1.0.2.la   
rlm_eap_mschapv2-1.0.2.so

libeap-1.0.2.so   
rlm_eap_mschapv2.a

libeap.a  
rlm_eap_mschapv2.la

libeap.la 
rlm_eap_mschapv2.so

libeap.so 
rlm_eap.so

libltdl.a 
rlm_exec-1.0.2.la

libltdl.la
rlm_exec-1.0.2.so

libltdl.so
rlm_exec.a

libltdl.so.3  
rlm_exec.la

libltdl.so.3.1.0  
rlm_exec.so

libradius-1.0.2.la
rlm_expr-1.0.2.la

libradius-1.0.2.so
rlm_expr-1.0.2.so

libradius.a   
rlm_expr.a

libradius.la  
rlm_expr.la

libradius.so  
rlm_expr.so

rlm_acct_unique-1.0.2.la  
rlm_fastusers-1.0.2.la

rlm_acct_unique-1.0.2.so  
rlm_fastusers-1.0.2.so

rlm_acct_unique.a 
rlm_fastusers.a

rlm_acct_unique.la
rlm_fastusers.la

rlm_acct_unique.so
rlm_fastusers.so

rlm_always-1.0.2.la   
rlm_files-1.0.2.la

rlm_always-1.0.2.so   
rlm_files-1.0.2.so

rlm_always.a  
rlm_files.a

rlm_always.la 
rlm_files.la

rlm_always.so 
rlm_files.so

rlm_attr_filter-1.0.2.la  
rlm_mschap-1.0.2.la

rlm_attr_filter-1.0.2.so  
rlm_mschap-1.0.2.so

rlm_attr_filter.a 
rlm_mschap.a

rlm_attr_filter.la
rlm_mschap.la

rlm_attr_filter.so
rlm_mschap.so

rlm_attr_rewrite-1.0.2.la  rlm_ns_mta_md5-1.0.2.la

rlm_attr_rewrite-1.0.2.so  rlm_ns_mta_md5-1.0.2.so

rlm_attr_rewrite.a
rlm_ns_mta_md5.a

rlm_attr_rewrite.la   
rlm_ns_mta_md5.la

rlm_attr_rewrite.so   
rlm_ns_mta_md5.so

rlm_chap-1.0.2.la 
rlm_pap-1.0.2.la

rlm_chap-1.0.2.so 
rlm_pap-1.0.2.so

rlm_chap.a
rlm_pap.a

rlm_chap.la   
rlm_pap.la

rlm_chap.so   
rlm_pap.so

rlm_checkval-1.0.2.la 
rlm_passwd-1.0.2.la

rlm_detail-1.0.2.la   
rlm_passwd-1.0.2.so

rlm_detail-1.0.2.so   
rlm_passwd.a

rlm_detail.a  
rlm_passwd.la

rlm_detail.la 
rlm_passwd.so

rlm_detail.so 
rlm_preprocess-1.0.2.la

rlm_digest-1.0.2.la   
rlm_preprocess-1.0.2.so

rlm_digest-1.0.2.so   
rlm_preprocess.a

rlm_digest.a  
rlm_preprocess.la

rlm_digest.la 
rlm_preprocess.so

rlm_digest.so 
rlm_radutmp-1.0.2.la

rlm_eap-1.0.2.la  
rlm_radutmp-1.0.2.so

rlm_eap-1.0.2.so   rlm_radutmp.a

rlm_eap.a 
rlm_radutmp.la

rlm_eap_gtc-1.0.2.la  
rlm_radutmp.so

rlm_eap_gtc-1.0.2.so  
rlm_realm-1.0.2.la

rlm_eap_gtc.a 
rlm_realm-1.0.2.so

rlm_eap_gtc.la
rlm_realm.a

rlm_eap_gtc.so rlm_realm.la

rlm_eap.la
rlm_realm.so

rlm_eap_leap-1.0.2.la 
rlm_sql-1.0.2.la

rlm_eap_leap-1.0.2.so 
rlm_sql-1.0.2.so

rlm_eap_leap.a
rlm_sql.a

rlm_eap_leap.la   
rlm_sql.la

rlm_eap_leap.so   
rlm_sql.so

rlm_eap_md5-1.0.2.la  
rlm_unix-1.0.2.la

rlm_eap_md5-1.0.2.so  
rlm_unix-1.0.2.so

rlm_eap_md5.a 
rlm_unix.a

rlm_eap_md5.la
rlm_unix.la

rlm_eap_md5.so
rlm_unix.so

rlm_eap_mschapv2-1.0.2.la  rlm_x99_token-1.0.2.la


 

 

but what I was expecting is

 

raddb/clients.conf

 

etc/raddb/users

 

I think that these are the main
configuration file’s that should be edited

 

Thanx in Adv

 

Rupak

 

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tariq Rashid
Sent: Wednesday, May
 04, 2005 3:47 AM
To:
'freeradius-users@lists.freeradius.org'
Subject: RE: Radius Installation

 



here
what i have always done...





 





tar
-xvzf freeradius-1.0.2.tar.gz





 





cd
freeradius-1.0.2





./configure
--prefix=/opt/freeradius102





make





make
install





 





now
everything is in /opt/freeradius102





 





here is
a listing of my /opt/freeradius102 directory:





    ls /opt/freeradius102/
    bin etc
include lib man
sbin    share   var





 





 





which
files are you missing?





 





 





 





 





 





-Original Message-
From: Rupak
[mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:21
To:
freeradius-users@lists.freeradius.org
Subject: RE: Radius Installation

 

I did it
the way you told me..some files are created at /op/freeradius.But the other
files are not at /opt/freeradius/etc/raddb

 

When I
issued the command ./configure .the following doubtfull output came.

 

checking
whether build environment is sane... yes

 

 

I think
this is the problem.Do you have any idea on this..

 

 

 

 

 

 

 

 

 

 

 

 

-Origin

RE: Radius Installation

2005-05-04 Thread Tariq Rashid



here 
what i have always done...
 
tar 
-xvzf freeradius-1.0.2.tar.gz
 
cd 
freeradius-1.0.2
./configure --prefix=/opt/freeradius102
make
make 
install
 
now 
everything is in /opt/freeradius102
 
here 
is a listing of my /opt/freeradius102 directory:
    ls /opt/freeradius102/    
bin etc include 
lib man sbin    
share   var
 
 
which 
files are you missing?
 
 
 
 


  -Original Message-From: Rupak 
  [mailto:[EMAIL PROTECTED]Sent: 05 May 2005 00:21To: 
  freeradius-users@lists.freeradius.orgSubject: RE: Radius 
  Installation
  
   
  I did it the way you 
  told me..some files are created at /op/freeradius.But the other files are not 
  at /opt/freeradius/etc/raddb
   
  When I issued the 
  command ./configure .the following doubtfull output came.
   
  checking whether 
  build environment is sane... yes
   
   
  I think this is the 
  problem.Do you have any idea on this..
   
   
   
   
   
   
   
   
   
   
   
   
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tariq RashidSent: Wednesday, May 04, 
  2005 2:58 
  AMTo: 'freeradius-users@lists.freeradius.org'Subject: RE: Radius 
  Installation
   
  
   
  
  since 
  you configured with --prefix=/usr/local/freeradius, everything will be under 
  that directory.
  
   
  
  so 
  etc/raddb will be in /usr/local/freeradius/etc/raddb and so 
  on...
  
   
  
  if 
  you're going to use --prefix - why not completely separate if from the system 
  /usr and do a 
  
   
  
   --prefix=/opt/freeradius
  
   
  
  tariq
  
-Original 
Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: 04 May 
2005 23:30To: 
freeradius-users@lists.freeradius.orgSubject: Radius 
Installation
 
Hello all!!
 
I installed the latest radius 
software that is freeradius-1.0.2.Downloaded from 
www.freeradius.org
 
The installation step's are as 
follows
 
1 
#./configure 
--prefix=/usr/local/freeradius  [I tried ./configure only 
also]
2 
#make
3 
#make install.
 
But after installation when I go 
to /usr/local/etc/raddb.  There is nothing inside raddb directory.I am 
really confused.I tried the old version also  freeradius-1.0.0. But 
again the same problem.when I look at /usr/local/bin then there are 2 file's 
over there. "radeapclient"  
"smbencrypt".I was expecting the file's "/etc/raddb/users 
 and /etc/raddb/clients.conf This is my first 
installation So I am really getting in trouble.Please kindly give me some 
suggestion's.Thanking you...
 
  __ NOD32 1.1086 
  (20050502) Information __This message was checked by NOD32 
  antivirus system.http://www.nod32.com


Re: Radius Installation

2005-05-04 Thread guest01
Why don't you use a binary packet? I don't know which linux (?)
distribution you are currently using ... but there are freeradius
packages for most of them!

For example, I am using Debian with an precompiled package, it works
perfect! :-)

Binary packets are compiled by people who really know what they are doing!

hth

PS: in the /etc/raddb or /etc/freeradius or whatever are ONLY
configuration files, my main executeable freeradius is in /usr/sbin/

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Radius Installation

2005-05-04 Thread Rupak









 

I did it the way you told me..some files
are created at /op/freeradius.But the other files are not at /opt/freeradius/etc/raddb

 

When I issued the command ./configure .the
following doubtfull output came.

 

checking whether build environment is
sane... yes

 

 

I think this is the problem.Do you have
any idea on this..

 

 

 

 

 

 

 

 

 

 

 

 

-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tariq Rashid
Sent: Wednesday, May
 04, 2005 2:58 AM
To: 'freeradius-users@lists.freeradius.org'
Subject: RE: Radius Installation

 



 





since
you configured with --prefix=/usr/local/freeradius, everything will be under
that directory.





 





so
etc/raddb will be in /usr/local/freeradius/etc/raddb and so on...





 





if
you're going to use --prefix - why not completely separate if from the system /usr
and do a 





 





 --prefix=/opt/freeradius





 





tariq





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 04 May 2005 23:30
To:
freeradius-users@lists.freeradius.org
Subject: Radius Installation

 

Hello all!!

 

I installed the latest radius
software that is freeradius-1.0.2.Downloaded from www.freeradius.org

 

The installation step's are as
follows

 

1
#./configure
--prefix=/usr/local/freeradius  [I tried ./configure only
also]

2
#make

3
#make install.

 

But after installation when I go to
/usr/local/etc/raddb.  There is nothing inside raddb directory.I am really
confused.I tried the old version also  freeradius-1.0.0. But again the
same problem.when I look at /usr/local/bin then there are 2 file's over there.
"radeapclient" 
"smbencrypt".I was expecting the file's "/etc/raddb/users  and /etc/raddb/clients.conf This is my
first installation So I am really getting in trouble.Please kindly give me some
suggestion's.Thanking you...

 





__ NOD32 1.1086 (20050502) Information __

This message was checked by NOD32 antivirus system.
http://www.nod32.com








RE: Radius Installation

2005-05-04 Thread Tariq Rashid



 
since 
you configured with --prefix=/usr/local/freeradius, everything will be under 
that directory.
 
so 
etc/raddb will be in /usr/local/freeradius/etc/raddb and so 
on...
 
if 
you're going to use --prefix - why not completely separate if from the system 
/usr and do a 
 
 --prefix=/opt/freeradius
 
tariq

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 04 May 2005 23:30To: 
  freeradius-users@lists.freeradius.orgSubject: Radius 
  Installation
  
   
  Hello all!!
   
  I installed the latest radius 
  software that is freeradius-1.0.2.Downloaded from 
  www.freeradius.org
   
  The installation step's are as 
  follows
   
  1 
  #./configure 
  --prefix=/usr/local/freeradius  [I tried ./configure only 
  also]
  2 
  #make
  3 
  #make install.
   
  But after installation when I go 
  to /usr/local/etc/raddb.  There is nothing inside raddb directory.I am 
  really confused.I tried the old version also  freeradius-1.0.0. But again 
  the same problem.when I look at /usr/local/bin then there are 2 file's over 
  there. "radeapclient"  "smbencrypt".I 
  was expecting the file's "/etc/raddb/users  and 
  /etc/raddb/clients.conf This is my first 
  installation So I am really getting in trouble.Please kindly give me some 
  suggestion's.Thanking you...