Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql: Unknown connection error:<br>(2006) MySQL server has gone away<br><br>This part is more like mistake in /etc/asterisk/cdr_mysql.conf . Check it once and relaod asterisk , then you can type "cdr mysql status" in cli to check if it connects to mysql properly .
<br><br><br><br><br>Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open master file<br>/var/log/asterisk//cdr-csv/<div style="direction: ltr;">/Master.csv : Permission denied<br><br>Permission error try chowning the directory to user which asterisk runs on OR chmod 777 /var/log/asterisk/* -R
<br><br>Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to re-open master file<br>/var/log/asterisk/cdr-custom/Master.csv : Permission denied<br><br>Same permission error .<br></div><br><br><div><span class="gmail_quote">
On 22/09/2007, <b class="gmail_sendername">Jody Gugelhupf</b> <<a href="mailto:knueffle@yahoo.com">knueffle@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi ppl, i have a problem, i get these messages in the asterisk CLI:<br><br>Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql: Unknown connection error:<br>(2006) MySQL server has gone away<br><br>Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open master file
<br>/var/log/asterisk//cdr-csv//Master.csv : Permission denied<br><br>Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to re-open master file<br>/var/log/asterisk/cdr-custom/Master.csv : Permission denied<br>
<br>how can i fix these errors?<br>here some info about my system:<br><br>debian etch 4.0<br>kernel:<br>2.6.18-4-686<br>Asterisk 1.2.13<br>VoiceOne version is v. 0.5.0 using plugin subsystem v. 0.4pre3<br>mysql Ver 14.12 Distrib
5.0.32, for pc-linux-gnu (i486) using readline 5.2<br>PHP 4.4.4-8+etch4 (cli) (built: Jun 30 2007 21:02:54)<br>using grandstream(handytone) 486 as sip device, no other devices or PSTN connected, only using<br>sip/voip providers
<br>behind router/NAT<br><br>thx in advance :)<br>jody :)<br><br><br> ____________________________________________________<br>Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
<br><a href="http://ca.toolbar.yahoo.com">http://ca.toolbar.yahoo.com</a>.<br><br>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/">
http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>