Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
Unknown connection error:
(2006) MySQL server has gone away
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 .
Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open master
file
/var/log/asterisk//cdr-csv//Master.csv : Permission denied
Permission error try chowning the directory to user which asterisk runs on
OR chmod 777 /var/log/asterisk/* -R
Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to re-open
master file
/var/log/asterisk/cdr-custom/Master.csv : Permission denied
Same permission error .
On 22/09/2007, Jody Gugelhupf <knueffle at yahoo.com>
wrote:>
> hi ppl, i have a problem, i get these messages in the asterisk CLI:
>
> Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
> Unknown connection error:
> (2006) MySQL server has gone away
>
> Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open
> master file
> /var/log/asterisk//cdr-csv//Master.csv : Permission denied
>
> Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to
> re-open master file
> /var/log/asterisk/cdr-custom/Master.csv : Permission denied
>
> how can i fix these errors?
> here some info about my system:
>
> debian etch 4.0
> kernel:
> 2.6.18-4-686
> Asterisk 1.2.13
> VoiceOne version is v. 0.5.0 using plugin subsystem v. 0.4pre3
> mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
> PHP 4.4.4-8+etch4 (cli) (built: Jun 30 2007 21:02:54)
> using grandstream(handytone) 486 as sip device, no other devices or PSTN
> connected, only using
> sip/voip providers
> behind router/NAT
>
> thx in advance :)
> jody :)
>
>
> ____________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
> favourite sites. Download it now at
> http://ca.toolbar.yahoo.com.
>
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th.
> http://www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070922/03ff791c/attachment.htm