Log ERROR and WARNING

Log ERROR and WARNING

  • Log ERROR and WARNING
  • lacks end

0 voters

Hello

My asterisk has the following log errors:

#tail -f /var/log/asterisk/full | egrep “lacks end”

May 21 14:39:43 WARNING[15553] cdr.c: CDR on channel ‘Local/612095@from-internal-e8d7,2’ lacks end
May 21 14:39:56 WARNING[15628] cdr.c: CDR on channel ‘Local/610249@from-internal-27ea,2’ lacks end
May 21 14:40:04 WARNING[15680] cdr.c: CDR on channel ‘Local/612095@from-internal-544a,2’ lacks end
May 21 14:40:12 WARNING[15727] cdr.c: CDR on channel ‘Local/610249@from-internal-a03f,2’ lacks end
May 21 14:40:27 WARNING[15944] cdr.c: CDR on channel ‘Local/610249@from-internal-b1b6,2’ lacks end
May 21 14:40:30 WARNING[16063] cdr.c: CDR on channel ‘Local/612095@from-internal-2e5c,2’ lacks end
May 21 14:40:43 WARNING[16276] cdr.c: CDR on channel ‘Local/610249@from-internal-e762,2’ lacks end
May 21 14:40:50 WARNING[16346] cdr.c: CDR on channel ‘Local/612095@from-internal-d93c,2’ lacks end
May 21 14:40:58 WARNING[16439] cdr.c: CDR on channel ‘Local/610249@from-internal-1051,2’ lacks end
May 21 14:41:11 WARNING[16624] cdr.c: CDR on channel ‘Local/612095@from-internal-2afa,2’ lacks end
May 21 14:41:14 WARNING[16659] cdr.c: CDR on channel ‘Local/610249@from-internal-1b87,2’ lacks end
May 21 14:41:19 WARNING[16718] cdr.c: CDR on channel ‘Local/612154@from-internal-799f,2’ lacks end
May 21 14:41:30 WARNING[16796] cdr.c: CDR on channel ‘Local/610249@from-internal-c1ce,2’ lacks end
May 21 14:41:31 WARNING[16814] cdr.c: CDR on channel ‘Local/612095@from-internal-06fc,2’ lacks end
May 21 14:41:45 WARNING[16898] cdr.c: CDR on channel ‘Local/610249@from-internal-ed68,2’ lacks end
May 21 14:41:52 WARNING[16944] cdr.c: CDR on channel ‘Local/612095@from-internal-58df,2’ lacks end
May 21 14:41:54 WARNING[15647] cdr.c: CDR on channel ‘SIP/610404-0617’ lacks end
May 21 14:42:01 WARNING[17012] cdr.c: CDR on channel ‘Local/610249@from-internal-9252,2’ lacks end
May 21 14:42:12 WARNING[17094] cdr.c: CDR on channel ‘Local/612095@from-internal-1fbe,2’ lacks end
May 21 14:42:16 WARNING[17126] cdr.c: CDR on channel ‘Local/610249@from-internal-be9a,2’ lacks end
May 21 14:42:32 WARNING[17294] cdr.c: CDR on channel ‘Local/610249@from-internal-216d,2’ lacks end
May 21 14:42:38 WARNING[17359] cdr.c: CDR on channel ‘Local/612095@from-internal-0ae6,2’ lacks end
May 21 14:42:47 WARNING[17390] cdr.c: CDR on channel ‘Local/610249@from-internal-a012,2’ lacks end
May 21 14:43:03 WARNING[17512] cdr.c: CDR on channel ‘Local/610249@from-internal-6511,2’ lacks end
May 21 14:43:14 WARNING[17607] cdr.c: CDR on channel ‘SIP/610109-2743’ lacks end
May 21 14:43:18 WARNING[17635] cdr.c: CDR on channel ‘Local/610249@from-internal-4ef4,2’ lacks end
May 21 14:43:34 WARNING[17764] cdr.c: CDR on channel ‘Local/610249@from-internal-0c99,2’ lacks end
May 21 14:45:14 WARNING[18408] cdr.c: CDR on channel ‘Local/612154@from-internal-780b,2’ lacks end
May 21 14:45:27 WARNING[18531] cdr.c: CDR on channel ‘Local/612154@from-internal-7fb0,2’ lacks end
May 21 14:45:49 WARNING[14474] cdr.c: CDR on channel ‘SIP/610303-3147’ lacks end
May 21 14:45:49 WARNING[14474] cdr.c: CDR on channel ‘SIP/611737-86ba’ lacks end
May 21 14:45:57 WARNING[18771] cdr.c: CDR on channel ‘Local/612154@from-internal-3c34,2’ lacks end
May 21 14:48:04 WARNING[20054] cdr.c: CDR on channel ‘SIP/610208-ac84’ lacks end
May 21 14:48:12 WARNING[20095] cdr.c: CDR on channel ‘SIP/610208-2bf8’ lacks end
May 21 14:48:33 WARNING[20265] cdr.c: CDR on channel ‘SIP/610816-6062’ lacks end

I can not find the reason for this to be hapening…

can someone have an idea of what is happening?

version : Asterisk 1.2.7.1
failing : all the phones lost registri sometimes, i get this on the full file at the time of the failing :

cat /var/log/asterisk/full | grep “12:07:[00-59]” | more
May 21 12:07:03 WARNING[19806] pbx.c: Timeout, but no rule ‘t’ in context 'from-internal’
May 21 12:07:03 WARNING[19806] cdr.c: CDR on channel ‘Local/610249@from-internal-6cb1,2’ not posted
May 21 12:07:03 WARNING[19806] cdr.c: CDR on channel ‘Local/610249@from-internal-6cb1,2’ lacks end
May 21 12:07:05 WARNING[17146] interface.c: Junk at the beginning of frame 49443303
May 21 12:07:19 WARNING[19823] pbx.c: Timeout, but no rule ‘t’ in context 'from-internal’
May 21 12:07:19 WARNING[19823] cdr.c: CDR on channel ‘Local/610249@from-internal-2de1,2’ not posted
May 21 12:07:19 WARNING[19823] cdr.c: CDR on channel ‘Local/610249@from-internal-2de1,2’ lacks end
May 21 12:07:34 WARNING[19833] pbx.c: Timeout, but no rule ‘t’ in context 'from-internal’
May 21 12:07:34 WARNING[19833] cdr.c: CDR on channel ‘Local/610249@from-internal-68ec,2’ not posted
May 21 12:07:34 WARNING[19833] cdr.c: CDR on channel ‘Local/610249@from-internal-68ec,2’ lacks end
May 21 12:07:50 WARNING[19886] pbx.c: Timeout, but no rule ‘t’ in context 'from-internal’
May 21 12:07:50 WARNING[19886] cdr.c: CDR on channel ‘Local/610249@from-internal-079d,2’ not posted
May 21 12:07:50 WARNING[19886] cdr.c: CDR on channel ‘Local/610249@from-internal-079d,2’ lacks end

cat /var/log/asterisk/full | grep “12:08:[00-59]”

May 21 12:08:01 WARNING[17146] interface.c: Junk at the beginning of frame 54414730

May 21 12:08:05 WARNING[19902] pbx.c: Timeout, but no rule ‘t’ in context ‘from-internal’

May 21 12:08:05 ERROR[19902] cdr_addon_mysql.c: cdr_mysql: Unknown connection error: (2002) Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
May 21 12:08:05 ERROR[19902] cdr_addon_mysql.c: cdr_mysql: cannot connect to database server localhost.

May 21 12:08:05 WARNING[19902] cdr.c: CDR on channel ‘Local/610249@from-internal-5ee4,2’ not posted
May 21 12:08:05 WARNING[19902] cdr.c: CDR on channel ‘Local/610249@from-internal-5ee4,2’ lacks end

May 21 12:08:08 WARNING[19895] chan_sip.c: sip_xmit of 0xb629baa8 (len 396) to 10.100.104.32:5060 returned -1: Network is unreachable
May 21 12:08:08 WARNING[18739] chan_sip.c: sip_xmit of 0x8c2e040 (len 405) to 10.100.252.15:5060 returned -1: Network is unreachable
May 21 12:08:08 WARNING[18701] chan_sip.c: sip_xmit of 0x8c35de8 (len 405) to 10.100.248.43:5060 returned -1: Network is unreachable
May 21 12:08:08 WARNING[18481] chan_sip.c: sip_xmit of 0x8b29228 (len 407) to 10.100.104.136:5060 returned -1: Network is unreachable
May 21 12:08:08 WARNING[18347] chan_sip.c: sip_xmit of 0x8c302e0 (len 373) to 10.100.248.70:5060 returned -1: Network is unreachable

and because it can not identify the cause of the error, I will start by clearing all errors and warnigs that may exist in the log file.