Hi All
I did add to in /etc/raddb/dictionary
$INCLUDE /usr/share/freeradius/dictionary
$INCLUDE /etc/raddb/dictionary.ser
I did add in /usr/local/etc/radiusclient-ng/dictionary
$INCLUDE /usr/local/etc/radiusclient-ng/dictionary.ser the the LAST line.
I did restart radiusd with no problems
When I restarted Openser I got
Jun 16 12:48:47 [4923] ERROR:acc:init_acc_rad: failed to read radius dictionary
Jun 16 12:48:47 [4923] ERROR:acc:mod_init: failed to init radius
Jun 16 12:48:47 [4923] ERROR:core:init_mod: failed to initialize module acc
Jun 16 12:48:47 [4923] ERROR:core:main: error while initializing modules
Jun 16 12:48:47 [4923] DBG:xlog:destroy: destroy module...
-----Original Message-----
From: David Villasmil [mailto:david.villasmil.work@gmail.com]
Sent: Monday, June 16, 2008 2:23 PM
To: Ali Jawad
Cc: users(a)lists.openser.org
Subject: Re: [OpenSER-Users] Acc/CDRTool Issue
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(a)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(a)lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf
Of Iñaki Baz Castillo
Sent: Monday, June 16, 2008 1:01 PM
To: users(a)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@localhost radiusclient-ng]# cd /etc/raddb/
[root@localhost raddb]# pwd
/etc/raddb
[root@localhost raddb]# ls dictionary.ser
dictionary.ser
[root@localhost raddb]#
That's not enough. Check that you FreeRadius "dictionary" file has an
#INCLUDE
pointing to that file.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
_______________________________________________
Users mailing list
Users(a)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(a)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.