also, this line MUST be in your radiusclient.conf file dictionary /etc/radiusclient-ng/dictionary
with the path to your actual file, of course On Mon, Jun 16, 2008 at 2:31 PM, David Villasmil <[EMAIL PROTECTED]> wrote: > could it be that acc can't find the dictionary.ser? > > is the path to that file in you > /usr/local/etc/radiusclient-ng/dictionary an absolute path? > > On Mon, Jun 16, 2008 at 2:24 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: >> What config files do you need so that I publish those ? >> Thanks >> >> >> -----Original Message----- >> From: David Villasmil [mailto:[EMAIL PROTECTED] >> Sent: Monday, June 16, 2008 3:17 PM >> To: Ali Jawad >> Subject: Re: [OpenSER-Users] Acc/CDRTool Issue >> >> For some reason I can't figure out, openser can't either find the file >> or can't read it... >> >> can you post your config? >> >> On Mon, Jun 16, 2008 at 2:14 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: >>> >>> >>> Hi >>> >>> I have debug 6, I put it debug 9 and I am still getting the same ouput >>> >>> Jun 16 13:12:01 [4977] ERROR:acc:init_acc_rad: failed to read radius >>> dictionary >>> Jun 16 13:12:01 [4977] ERROR:acc:mod_init: failed to init radius >>> Jun 16 13:12:01 [4977] ERROR:core:init_mod: failed to initialize module acc >>> Jun 16 13:12:01 [4977] ERROR:core:main: error while initializing modules >>> Jun 16 13:12:01 [4977] DBG:xlog:destroy: destroy module... >>> >>> >>> -----Original Message----- >>> From: David Villasmil [mailto:[EMAIL PROTECTED] >>> Sent: Monday, June 16, 2008 3:10 PM >>> To: Ali Jawad >>> Subject: Re: [OpenSER-Users] Acc/CDRTool Issue >>> >>> make the debug higher, like 5 and re-run >>> >>> On Mon, Jun 16, 2008 at 2:03 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: >>>> Hi >>>> >>>> I did not reach that far yet, I am still trying to make it run with no >>>> errors. >>>> >>>> Thanks >>>> >>>> -----Original Message----- >>>> From: David Villasmil [mailto:[EMAIL PROTECTED] >>>> Sent: Monday, June 16, 2008 3:02 PM >>>> To: Ali Jawad >>>> Subject: Re: [OpenSER-Users] Acc/CDRTool Issue >>>> >>>> with >>>> log_flagyou are telling the system to log accounting on syslog... is >>>> that what you want? >>>> >>>> my whole module config is this: >>>> >>>> modparam("acc", "radius_config", >>>> "/etc/radiusclient-ng/radiusclient.conf") >>>> modparam("acc", "radius_flag", 2) >>>> modparam("acc", "radius_missed_flag", 3) >>>> >>>> I don't have any log flag, I'm already logging to radius... >>>> >>>> On Mon, Jun 16, 2008 at 2:00 PM, David Villasmil >>>> <[EMAIL PROTECTED]> wrote: >>>>> then take a look at the file's permissions... it all seems ok to me. >>>>> >>>>> On Mon, Jun 16, 2008 at 1:58 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: >>>>>> Hi >>>>>> Yes I did >>>>>> >>>>>> This is a part of my openser script >>>>>> >>>>>> modparam("acc", "log_flag", 1) >>>>>> modparam("acc", "log_missed_flag", 1) >>>>>> >>>>>> modparam("acc", >>>>>> "radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf") >>>>>> >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: David Villasmil [mailto:[EMAIL PROTECTED] >>>>>> Sent: Monday, June 16, 2008 2:55 PM >>>>>> To: Ali Jawad >>>>>> Subject: Re: [OpenSER-Users] Acc/CDRTool Issue >>>>>> >>>>>> did you tell the module where to find the dictionary? >>>>>> >>>>>> this is mine (I'm using 1.3): >>>>>> >>>>>> modparam("acc", "radius_config", >>>>>> "/etc/radiusclient-ng/radiusclient.conf") >>>>>> >>>>>> On Mon, Jun 16, 2008 at 1:51 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: >>>>>>> >>>>>>> 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:[EMAIL PROTECTED] >>>>>>> Sent: Monday, June 16, 2008 2:23 PM >>>>>>> To: Ali Jawad >>>>>>> Cc: users@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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki >>>>>>>> Baz Castillo >>>>>>>> Sent: Monday, June 16, 2008 1:01 PM >>>>>>>> To: users@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 >>>>>>>>> >>>>>>>>> [EMAIL PROTECTED] radiusclient-ng]# cd /etc/raddb/ >>>>>>>>> [EMAIL PROTECTED] raddb]# pwd >>>>>>>>> /etc/raddb >>>>>>>>> [EMAIL PROTECTED] raddb]# ls dictionary.ser >>>>>>>>> dictionary.ser >>>>>>>>> [EMAIL PROTECTED] raddb]# >>>>>>>> >>>>>>>> That's not enough. Check that you FreeRadius "dictionary" file has an >>>>>>>> #INCLUDE >>>>>>>> pointing to that file. >>>>>>>> >>>>>>>> -- >>>>>>>> Iñaki Baz Castillo >>>>>>>> [EMAIL PROTECTED] >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Users mailing list >>>>>>>> Users@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@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. >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> This message has been scanned for viruses and >>>>>> dangerous content by MailScanner, and is >>>>>> believed to be clean. >>>>>> >>>>>> >>>>> >>>> >>>> -- >>>> This message has been scanned for viruses and >>>> dangerous content by MailScanner, and is >>>> believed to be clean. >>>> >>>> >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> >>> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users