I edited /etc/mysql/my.cnf with the following
<br />
<br />server-id               = 1
<br />log_bin                 = /var/log/mysql/mysql-bin.log
<br />binlog_do_db            = include_database_name
<br />binlog_ignore_db        = include_database_name
<br />
<br />When I restart mysql the following file is created under /var/log/mysql
<br />mysql-bin.000001
<br />
<br />But when I start up /etc/init.d/cdrtool start and /etc/init.d/freeradius start
<br />nothing shows up in the log file all that is there is
<br />CDRTool:/var/log/mysql# more mysql-bin.000001 
<br />KˆN2KuK^b5.0.51a-24+lenny2-logJ2K8
<br />
<br />
<br />Thats it. :(
<br />
<br />When is the radacctYYYYMM created?  Is it when cdrtool is started or when freeradius is started??  I see in the /etc/cron.d/cdrtool file that the following are commented out
<br /># Next two jobs are only used when using a central radacct table:
<br />#  0  3 1 * * root php /var/www/CDRTool/scripts/OpenSIPS/rotateTables.php &gt;/dev/null 
<br />#  0  4 * * * root php /var/www/CDRTool/scripts/purgeTables.php      &gt;/dev/null
<br />
<br />but the rotateTables looks like it would only create the new months table on the first of the month.  So that can&#39;t be my issue, but I am guessing that this does need to be uncommented for future table creations correct?
<br />
<br />
<br />On Dec 23, 2009 10:24am, &quot;Saul Ibarra Corretge [via OpenSIPS (Open SIP Server)]&quot; &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4209672&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On 23/12/09 4:40 PM, osiris123d wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; It still isn&#39;t working.  The radacctYYYYMM table is never created in the
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; radius database.  I have logging turned on in MySQL and I never see the
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; radius user execute the INSERT command to create the database.  Can you
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; explain to me when exactly does the radacctYYYYMM database get created?
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; That way I could pinput what is going on and why it&#39;s not working.
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; The tables get created by the stored procedure. Enable binary logging of 
<br />&gt; 
<br />&gt; 
<br />&gt; stored procedures to see if you are getting an error there.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Regards,
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; -- 
<br />&gt; 
<br />&gt; 
<br />&gt; Saúl Ibarra Corretgé
<br />&gt; 
<br />&gt; 
<br />&gt; AG Projects
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; _______________________________________________
<br />&gt; 
<br />&gt; 
<br />&gt; Users mailing list
<br />&gt; 
<br />&gt; 
<br />&gt; [hidden email]
<br />&gt; 
<br />&gt; 
<br />&gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; View message @ http://n2.nabble.com/CDRtool-freeradius-mysql-error-tp4200490p4209391.html
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; To unsubscribe from Re: CDRtool freeradius mysql error, click here.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt;</div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/CDRtool-freeradius-mysql-error-tp4200490p4209672.html">Re: Re: [OpenSIPS-Users] CDRtool freeradius mysql error</a><br>
Sent from the <a href="http://n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br>