[OpenSER-Users] Acc/CDRTool Issue
David Villasmil
david.villasmil.work at gmail.com
Mon Jun 16 13:23:06 CEST 2008
this is my config:
on the server (radius):
ls -l /etc/freeradius/dictionary.ser
-rw-r--r-- 1 root freerad 4233 2008-06-11 04:03 /etc/freeradius/dictionary.ser
my /etc/freeradius/dictionary:
$INCLUDE /usr/share/freeradius/dictionary
$INCLUDE /etc/freeradius/dictionary.ser
on the client (openser):
ls -l /etc/radiusclient-ng/
total 48
-rw-r--r-- 1 root root 7375 2008-06-11 04:14 dictionary
-rw-r--r-- 1 root root 4233 2008-06-11 04:52 dictionary.ser
in the file /etc/radiusclient-ng/dictionary AT THE VERY END:
$INCLUDE /etc/radiusclient-ng/dictionary.ser
that's it.
d
On Mon, Jun 16, 2008 at 1:13 PM, Ali Jawad <ali.jawad at splendor.net> wrote:
>
>
> Hi Again
>
> I have re-read the howto and it states that I should comment out the include line for the dictionary.ser file in the dictionary file for radiusclient-ng. Should I do the same for the server ?
> I did it for the client by adding the following line to the radiusclient-ng file
>
> $INCLUDE /usr/local/etc/radiusclient-ng/dictionary.ser
>
> This gave the following errror
>
> Jun 16 12:08:12 [4781] ERROR:acc:init_acc_rad: failed to read radius dictionary
> Jun 16 12:08:12 [4781] ERROR:acc:mod_init: failed to init radius
> Jun 16 12:08:12 [4781] ERROR:core:init_mod: failed to initialize module acc
> Jun 16 12:08:12 [4781] ERROR:core:main: error while initializing modules
>
> However if I do edit the radiusclient.conf file and point the dictionary directly to /usr/local/etc/radiusclient-ng/dictionary.ser openser appears to launch normally. Although nothing is added to the radius db.
>
> In short.
>
> Should I include the server as well ?
>
> Is my include line for the client correct ?
>
> Thanks.
>
>
> -----Original Message-----
> From: users-bounces at lists.openser.org [mailto:users-bounces at lists.openser.org] On Behalf Of Iñaki Baz Castillo
> Sent: Monday, June 16, 2008 1:01 PM
> To: users at lists.openser.org
> Subject: Re: [OpenSER-Users] Acc/CDRTool Issue
>
> El Monday 16 June 2008 11:19:58 Ali Jawad escribió:
>> Hi
>> The server and client are on the same machine.
>>
>> The freeradius server config files are on /etc/raddb/
>>
>> So I did copy it to that dir
>>
>> [root at localhost radiusclient-ng]# cd /etc/raddb/
>> [root at localhost raddb]# pwd
>> /etc/raddb
>> [root at localhost raddb]# ls dictionary.ser
>> dictionary.ser
>> [root at localhost raddb]#
>
> That's not enough. Check that you FreeRadius "dictionary" file has an #INCLUDE
> pointing to that file.
>
> --
> Iñaki Baz Castillo
> ibc at in.ilimit.es
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list