<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff size=2>Yep 
had to go into the source and activate the DB logging for acc 
manually.</FONT></SPAN></DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff 
size=2>Recompiled acc and now it works properly.</FONT></SPAN></DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff size=2>Thank 
you for your help.</FONT></SPAN></DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff size=2>Kind 
regards</FONT></SPAN></DIV>
<DIV><SPAN class=361074816-20082006><FONT face=Arial color=#0000ff 
size=2>Roger</FONT></SPAN></DIV>
<DIV><SPAN class=361074816-20082006></SPAN>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> sip [mailto:sip@arcdiv.com] 
<BR><B>Skickat:</B> den 20 augusti 2006 17:23<BR><B>Till:</B> Roger Lewau; 
'Alberto Cruz'; 'Andy Thomas'<BR><B>Kopia:</B> serusers-bounces@lists.iptel.org; 
serusers@lists.iptel.org<BR><B>Ämne:</B> Re: SV: [Serusers] problem with acc 
module settings<BR></FONT><BR></DIV>
<DIV></DIV>
<P>Sounds to me like the acc module you have wasn't compiled with the db code 
active.&nbsp; When you compile the 0.9.x acc module, there's an option in the 
makefile to uncomment a flag to activate mysql accounting and another option to 
uncomment the flag to enable radius accounting. <BR></P>
<P>If your acc module was compiled with the defaults, none of the acc db-related 
functions will be available (this it NOT related to acc_db which is actually now 
a separate module). <BR></P>
<P>If you're using a package, you may need to download the source for 0.9.6, go 
into the modules/acc section, edit the Makefile, and look for the commented db 
flag (it's near the beginning), uncomment it, and then recompile just that 
module from the main src tree. Once the module has compiled, you can replace the 
module you currently have with the new one compiled to have the db functions 
enabled and start SER. <BR></P>
<P>Bit of a pain, but not too bad, really. <BR></P>
<P>N. <BR></P><FONT size=2><B><BR><BR><BR>On Sun, 20 Aug 2006 12:00:01 +0200, 
Roger Lewau wrote</B> <BR>&gt; <SPAN class=984154909-20082006><FONT face=Arial 
color=#0000ff size=2>I have just set up a new SER server using SER 0.9.6 on 
FreeBSD 6.1. I then copied my working config file from my SER 0.9.3 installation 
and run ser -c to verify the config file and get the following 
errors:</FONT></SPAN> <BR>&gt; <SPAN class=984154909-20082006></SPAN>&nbsp; 
<BR>&gt; <SPAN class=984154909-20082006><FONT face=Arial color=#0000ff 
size=2>sip1# ser -c <BR>&gt; &nbsp;0(68102) set_mod_param_regex: parameter 
&lt;db_url&gt; not found in module &lt;acc&gt; <BR>&gt; &nbsp;0(68102) parse 
error (49,20-21): Can't set module parameter <BR>&gt; &nbsp;0(68102) 
set_mod_param_regex: parameter &lt;db_flag&gt; not found in module &lt;acc&gt; 
<BR>&gt; &nbsp;0(68102) parse error (76,19-20): Can't set module parameter 
<BR>&gt; &nbsp;0(68102) set_mod_param_regex: parameter &lt;db_missed_flag&gt; 
not found in module &lt;acc&gt; <BR>&gt; &nbsp;0(68102) parse error (77,19-20): 
Can't set module parameter <BR>&gt; ERROR: bad config file (3 errors) <BR>&gt; 
</FONT></SPAN><BR>&gt; <SPAN class=984154909-20082006><FONT face=Arial 
color=#0000ff size=2>When I search this news list for answers I found the 
conversation below. But I found that there is no acc_db.so module anywhere. Not 
in source and not in /usr/local/lib/ser/modules. I looked in FreeBSD package, 
ports and even in released source code on iptel but no such module is to be 
found anywhere. I studied the realese documents but there is nothing said about 
changes in the acc module.</FONT></SPAN> <BR>&gt; <SPAN 
class=984154909-20082006></SPAN>&nbsp; <BR>&gt; <SPAN 
class=984154909-20082006><FONT face=Arial color=#0000ff size=2>Any one who had 
his issue and solved it?.</FONT></SPAN> <BR>&gt; <SPAN 
class=984154909-20082006></SPAN>&nbsp; <BR>&gt; <SPAN 
class=984154909-20082006><FONT face=Arial color=#0000ff size=2>Thanks in 
advance.</FONT></SPAN> <BR>&gt; <SPAN class=984154909-20082006><FONT face=Arial 
color=#0000ff size=2>Roger</FONT></SPAN> <BR>&gt; <SPAN 
class=984154909-20082006>&nbsp;</SPAN> <BR>&gt; <BR>&gt; 
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> serusers-bounces@lists.iptel.org 
[mailto:serusers-bounces@lists.iptel.org] <B>För </B>Alberto Cruz <BR>&gt; 
<B>Skickat:</B> den 27 juni 2006 04:27 <BR>&gt; <B>Till:</B> Andy Thomas 
<BR>&gt; <B>Kopia:</B> serusers@lists.iptel.org <BR>&gt; <B>Ämne:</B> Re: 
[Serusers] problem with acc module settings <BR>&gt; <B>Prioritet:</B> Hög 
<BR>&gt; </FONT><BR>&gt; <BR>&gt; You should remove the following line: <BR>&gt; 
loadmodule "/usr/lib/ser/modules/acc.so" <BR>&gt; <BR>&gt; And you need to add 
the following: <BR>&gt; loadmodule "/usr/lib/ser/modules/acc_db.so" <BR>&gt; 
<BR>&gt; Andy Thomas wrote: <BR>&gt; 
<BLOCKQUOTE cite=mid000001c6977c$c7db1340$0b0a000a@andyhome type="cite"><!-- style begin
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}

style end --><BR>&gt; <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">Hi,<O:P /></SPAN></FONT> <BR>&gt; 
  <FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P 
  /></SPAN></FONT><BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">I cant start Ser 0.9.6<O:P 
  /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P /></SPAN></FONT><BR>&gt; 
  <FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial">I 
  get the following error when I start it up<O:P /></SPAN></FONT> <BR>&gt; <FONT 
  face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial">0(4628) 
  set_mod_param_regex: parameter &lt;db_url&gt; not found in module 
  &lt;acc&gt;<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">&nbsp;0(4628) parse error 
  (87,20-21): Can't set module parameter<O:P /></SPAN></FONT> <BR>&gt; <FONT 
  face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">&nbsp;0(4628) set_mod_param_regex: 
  parameter &lt;db_missed_flag&gt; not found in module &lt;acc&gt;<O:P 
  /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">&nbsp;0(4628) parse error 
  (92,19-20): Can't set module parameter<O:P /></SPAN></FONT> <BR>&gt; <FONT 
  face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">&nbsp;0(4628) set_mod_param_regex: 
  parameter &lt;db_flag&gt; not found in module &lt;acc&gt;<O:P /></SPAN></FONT> 
  <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">&nbsp;0(4628) parse error 
  (93,19-20): Can't set module parameter<O:P /></SPAN></FONT> <BR>&gt; <FONT 
  face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial">ERROR: bad 
  config file (3 errors)<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial 
  size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P 
  /></SPAN></FONT><BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">Here’s my settings for the acc 
  module – can anyone see whats wrong with it??<O:P /></SPAN></FONT> <BR>&gt; 
  <FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P 
  /></SPAN></FONT><BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "db_url", 
  "mysql://ser:heslo@localhost/ser")<O:P /></SPAN></FONT> <BR>&gt; <FONT 
  face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "log_level", 
  1)<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "log_flag", 1)<O:P 
  /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "log_missed_flag", 
  2)<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "log_fmt", 
  "fimos")<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "db_missed_flag", 
  2)<O:P /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial">modparam("acc", "db_flag", 1)<O:P 
  /></SPAN></FONT> <BR>&gt; <FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P /></SPAN></FONT><BR>&gt; 
  <FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><O:P 
  /></SPAN></FONT><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
Serusers mailing list
<A class=moz-txt-link-abbreviated href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</A>
<A class=moz-txt-link-freetext href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</A>
  </PRE></BLOCKQUOTE><BR><BR><BR></FONT></BODY></HTML>