Freeradius-Users Digest, Vol 48, Issue 70

Khan khansfriend at gmail.com
Fri Apr 17 23:53:29 CEST 2009


On Fri, Apr 17, 2009 at 5:00 AM,
<freeradius-users-request at lists.freeradius.org> wrote:
> Send Freeradius-Users mailing list submissions to
>        freeradius-users at lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
>        freeradius-users-request at lists.freeradius.org
>
> You can reach the person managing the list at
>        freeradius-users-owner at lists.freeradius.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
>   1. FreeRADIUS 2 Installation failed on ubuntu hardy (Khan)
>   2. Re: problev with radius (A.L.M.Buxey at lboro.ac.uk)
>   3. Re: FreeRADIUS 2 Installation failed on ubuntu hardy
>      (A.L.M.Buxey at lboro.ac.uk)
>   4. Re: FreeRADIUS 2 Installation failed on ubuntu hardy
>      (EasyHorpak.com)
>   5. Re: FreeRADIUS 2 Installation failed on ubuntu hardy (Alan DeKok)
>   6. Re: radpostauth sql logging of bad passwords (Alan DeKok)
>   7. RE: rlm_perl behavior (Meyers, Dan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 17 Apr 2009 01:33:31 -0500
> From: Khan <khansfriend at gmail.com>
> Subject: FreeRADIUS 2 Installation failed on ubuntu hardy
> To: freeradius-users at lists.freeradius.org
> Message-ID:
>        <d0992c780904162333m676a83c9o65b1f5921922a753 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello everyone,
>
> I am new to VoIP, its my first time installing FR on my server. I
> followed the instructions and first installed dependencies and then
> FR.
>
> My installation process and other steps i took can be found on this
> link: http://voiprookie.blogspot.com/
>
> I tried to install it several time but no luck, first I used aptitude
> which installed the 1.x version so i removed it and then I used
> synaptic to install that didn't work, finally i took manual approach
> and installed it as posted on the link above.
>
> However during installation I have seen many warnings, I tried to
> capture the screen dump which can be found at this link:
> http://pastebin.com/f1d50a81
>
> Obviously it didn't install right but i have no clue where to go from
> here, could anyone please help me guide to the right procedure. The
> version on other information are posted on my bloggspot link.
>
> Does installing, removing, and re-installing several times screwed up
> my server and now it wouldn't let me install ?
>
> Please help!!!
>
>
> Thanks ya'all in advance...
>
>
> Khan
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 17 Apr 2009 08:38:29 +0100
> From: A.L.M.Buxey at lboro.ac.uk
> Subject: Re: problev with radius
> To: FreeRadius users mailing list
>        <freeradius-users at lists.freeradius.org>
> Message-ID: <20090417073829.GA14282 at lboro.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
>> Fri Apr 17 09:52:09 2009 : Auth: Login OK: [miracle] (from client st17-gw port 367362 cli 00:14:A4:46:73:26)
>> Fri Apr 17 09:52:12 2009 : Auth: Login OK: [stepanov] (from client st17-gw port 367363 cli 00:0E:A6:3A:A5:4E)
>> Fri Apr 17 09:52:13 2009 : Auth: Login OK: [260130] (from client rep-hsgw01 port 2151678103 cli 00:1F:C6:A6:F9:A6)
>>
>> What this mean this error?
>>
>
> it means your server is hanging around waiting for authentication stuff
> to be sorted out ...and the request is being asked again...and again...
>
> the cause is usually a very slow database or LDAP server.
>
> alan
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 17 Apr 2009 08:46:24 +0100
> From: A.L.M.Buxey at lboro.ac.uk
> Subject: Re: FreeRADIUS 2 Installation failed on ubuntu hardy
> To: FreeRadius users mailing list
>        <freeradius-users at lists.freeradius.org>
> Message-ID: <20090417074624.GB14282 at lboro.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
>> My installation process and other steps i took can be found on this
>> link: http://voiprookie.blogspot.com/
>>
>> I tried to install it several time but no luck, first I used aptitude
>> which installed the 1.x version so i removed it and then I used
>> synaptic to install that didn't work, finally i took manual approach
>> and installed it as posted on the link above.
>>
>> However during installation I have seen many warnings, I tried to
>> capture the screen dump which can be found at this link:
>> http://pastebin.com/f1d50a81
>
> http://wiki.freeradius.org/Build#Building_Ubuntu_packages
>
> what do you mean by 'it didnt install right'?  what happens when
> you run "radiusd -X"?

i get errors in modular installation and it fails:
rlm_eap: Failed to initialize type tls
/usr/local/etc/raddb/eap.conf[17]: Instantiation failed for module "eap"
/usr/local/etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find
module "eap".
/usr/local/etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing
authenticate section.

Detailed output is at this line: http://pastebin.com/m1c3688bc
Problem areas are highlighted in my guess but i could be wrong...

>
>> Does installing, removing, and re-installing several times screwed up
>> my server and now it wouldn't let me install ?
>
> only if you threw it all over the place and didnt clean up after. the
> server is pretty good at dealing with older bits in the wrong places
> (because it wont read them - as the location of files its supposed
> to read are in the config file!). if it installed into /usr/local/lib
> then is that in your LDPATH?
>

I was only in  usr/src directory when i followed installation
instructions, the step by step what i did is at my blogspot to review.
Here is the link to that:  http://voiprookie.blogspot.com/

> alan
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 17 Apr 2009 15:42:55 +0700
> From: "EasyHorpak.com" <info at easyhorpak.com>
> Subject: Re: FreeRADIUS 2 Installation failed on ubuntu hardy
> To: "FreeRadius users mailing list"
>        <freeradius-users at lists.freeradius.org>
> Message-ID: <002101c9bf38$80f73c10$03b6a8c0 at nznf80c39ca487>
> Content-Type: text/plain; format=flowed; charset="windows-874";
>        reply-type=original
>
> Ubuntu 8.04 hardy is  freeradius 1.7
>
> if Ubuntu 8.10 is freeradius 2.1
>
>
>
> ----- Original Message -----
> From: <A.L.M.Buxey at lboro.ac.uk>
> To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
> Sent: Friday, April 17, 2009 2:46 PM
> Subject: Re: FreeRADIUS 2 Installation failed on ubuntu hardy
>
>
>> Hi,
>>
>>> My installation process and other steps i took can be found on this
>>> link: http://voiprookie.blogspot.com/
>>>
>>> I tried to install it several time but no luck, first I used aptitude
>>> which installed the 1.x version so i removed it and then I used
>>> synaptic to install that didn't work, finally i took manual approach
>>> and installed it as posted on the link above.
>>>
>>> However during installation I have seen many warnings, I tried to
>>> capture the screen dump which can be found at this link:
>>> http://pastebin.com/f1d50a81
>>
>> http://wiki.freeradius.org/Build#Building_Ubuntu_packages
>>
>> what do you mean by 'it didnt install right'?  what happens when
>> you run "radiusd -X"?
>>
>>> Does installing, removing, and re-installing several times screwed up
>>> my server and now it wouldn't let me install ?
>>
>> only if you threw it all over the place and didnt clean up after. the
>> server is pretty good at dealing with older bits in the wrong places
>> (because it wont read them - as the location of files its supposed
>> to read are in the config file!). if it installed into /usr/local/lib
>> then is that in your LDPATH?
>>
>> alan
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 17 Apr 2009 11:07:42 +0200
> From: Alan DeKok <aland at deployingradius.com>
> Subject: Re: FreeRADIUS 2 Installation failed on ubuntu hardy
> To: FreeRadius users mailing list
>        <freeradius-users at lists.freeradius.org>
> Message-ID: <49E846DE.7040500 at deployingradius.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Khan wrote:
>> My installation process and other steps i took can be found on this
>> link: http://voiprookie.blogspot.com/
>
>  The discussion on editing the "configure" arguments is unnecessary.
> If you had read the rest of the debian/control file, you would see how
> OpenSSL *should* be enabled.
>
>> I tried to install it several time but no luck, first I used aptitude
>> which installed the 1.x version so i removed it and then I used
>> synaptic to install that didn't work, finally i took manual approach
>> and installed it as posted on the link above.
>
>  It didn't work because you didn't install the libssl-dev package.

It is already installed, i made sure i have dependencies installed
before i started to install but i might have forgotten something. As
you can see my libssl-dev is already installed
root at voipbiznet:~# apt-get install  libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
libssl-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up freeradius-iodbc (2.1.4-0) ...
 * Restarting FreeRADIUS server freeradius

                            [fail]
 * Failed to stop freeradius.
invoke-rc.d: initscript freeradius, action "restart" failed.
dpkg: error processing freeradius-iodbc (--configure):
 subprocess post-installation script returned error exit status 1
Setting up freeradius-krb5 (2.1.4-0) ...
 * Restarting FreeRADIUS server freeradius

                            [fail]
 * Failed to stop freeradius.
invoke-rc.d: initscript freeradius, action "restart" failed.
dpkg: error processing freeradius-krb5 (--configure):
 subprocess post-installation script returned error exit status 1
Setting up freeradius-ldap (2.1.4-0) ...
 * Restarting FreeRADIUS server freeradius

                            [fail]
 * Failed to stop freeradius.
invoke-rc.d: initscript freeradius, action "restart" failed.
dpkg: error processing freeradius-ldap (--configure):
 subprocess post-installation script returned error exit status 1
Setting up freeradius-mysql (2.1.4-0) ...
 * Restarting FreeRADIUS server freeradius

                            [fail]
 * Failed to stop freeradius.
invoke-rc.d: initscript freeradius, action "restart" failed.
dpkg: error processing freeradius-mysql (--configure):
 subprocess post-installation script returned error exit status 1
Setting up freeradius-postgresql (2.1.4-0) ...
 * Restarting FreeRADIUS server freeradius

                            [fail]
 * Failed to stop freeradius.
invoke-rc.d: initscript freeradius, action "restart" failed.
dpkg: error processing freeradius-postgresql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 freeradius-iodbc
 freeradius-krb5
 freeradius-ldap
 freeradius-mysql
 freeradius-postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
r

>
>> However during installation I have seen many warnings, I tried to
>> capture the screen dump which can be found at this link:
>> http://pastebin.com/f1d50a81
>
>  I've never understood why people get worried about compile warnings.
> Ignore them.

Thanks, now i know not to worry about warnings...


>
>> Does installing, removing, and re-installing several times screwed up
>> my server and now it wouldn't let me install ?
>
>  It takes a lot of hard work to break things that badly.

I guess working in the middle of night is not good idea, i have no
recollection of what happened :(


>
>  Alan DeKok.
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 17 Apr 2009 11:08:17 +0200
> From: Alan DeKok <aland at deployingradius.com>
> Subject: Re: radpostauth sql logging of bad passwords
> To: FreeRadius users mailing list
>        <freeradius-users at lists.freeradius.org>
> Message-ID: <49E84701.3080600 at deployingradius.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Guy Fraser wrote:
>> I have installed :
>> "radiusd: FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1,
>> built on Feb 26 2009 at 15:47:46"
>>
>> I have not been able figure out how to get it to log failed
>> authentication attempts
>> into the radpostauth sql table, like I had it working in Version 1.
>
>  What do you mean by that?
>
> Q: "I tried to do stuff, but it didn't work".
> A: Huh?
>
>  Alan DeKok.
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 17 Apr 2009 10:26:36 +0100
> From: "Meyers, Dan" <d.meyers at lancaster.ac.uk>
> Subject: RE: rlm_perl behavior
> To: "FreeRadius users mailing list"
>        <freeradius-users at lists.freeradius.org>
> Message-ID:
>        <9FFF610D5DF89A4CAC9CB450C756566302456448 at exchange-be4.lancs.local>
> Content-Type: text/plain;       charset="us-ascii"
>
>> >>  It should be running one Perl thread per system thread.  The
> server
>> >> core already manages min/max spare threads, idle threads, etc.
> <snip>
>> > I hope this implementation will satisfy Borislav too. Will he be
>> > able to
>> > instantiate different perl scripts for different needs?
>> >
>> > So, when do I start testing :)
>
> Just to say, we're currently using FreeRadius 2.1.3 with rlm_perl in a
> project currently in active development, and having read this i'm
> holding off upgrading to 2.1.4 as we also use the multiple perl threads
> functionality of the module to parallel process and increase throughput.
> We have a specific development server/environment, and would be more
> than happy to test any patches designed to fix this 2.1.4 issue on it.
>
> --
> Dan Meyers
> Network Specialist, Lancaster University
> E-Mail: d.meyers at lancaster.ac.uk
>
>
>
>
>
>
> ------------------------------
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
> End of Freeradius-Users Digest, Vol 48, Issue 70
> ************************************************
>




More information about the Freeradius-Users mailing list