<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EstiloDeEmail18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Pessoal tenho dois servidores Asterisk com quatro placas
TDM2400P cada o que somam 96 ramais FXS. Acontece que de vez em quando o
asterisk reinicia do nada, nos logs não consegui encontrar nada de anormal,
simplesmente mostram as chamadas sendo processadas e com intervalo de
aproximadamente 40 segundos aparece o primeiro registro de inicialização do
asterisk.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Vejam os registros no log:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] VERBOSE[11714]
logger.c: -- Called 68<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] WARNING[11714] chan_iax2.c: No private
structure for packet?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] WARNING[11714] channel.c: Prodding channel
'IAX2/astk4_1-45' failed<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] VERBOSE[11714] logger.c:
-- Zap/68-1 is ringing<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] VERBOSE[11714]
logger.c: -- Hungup 'Zap/68-1'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] VERBOSE[11714] logger.c: ==
Spawn extension (from-astk, 7370, 1) exited non-zero on 'IAX2/astk4_1-45'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] VERBOSE[11714]
logger.c: -- Hungup 'IAX2/astk4_1-45'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:03:37] WARNING[11714] channel.c: Channel
'IAX2/astk4_1-45' may not have been hung up properly<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>---------------------- Até aqui estava tudo normal e
abaixo já mostra a inicialização do asterisk, este log é
sequencial------------------<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] cdr.c: CDR simple logging
enabled.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] loader.c: 156 modules will
be loaded.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] WARNING[11735] res_config_pgsql.c: Postgresql
RealTime: No database socket found, using '/tmp/pgsql.sock' as default.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] ERROR[11735] res_config_pgsql.c:
Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1.
Check debug for more info.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] WARNING[11735] res_config_pgsql.c:
Postgresql RealTime: Couldn't establish connection. Check debug.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] config.c: Registered Config
Engine pgsql<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] VERBOSE[11735] logger.c: Loading
[Sub]Agent Module<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] res_odbc.c: Adding ENV var:
INFORMIXSERVER=my_special_database<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] res_odbc.c: Adding ENV var:
INFORMIXDIR=/opt/informix<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] NOTICE[11735] res_odbc.c: Connecting
asterisk<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Feb 12 10:04:57] WARNING[11735] res_odbc.c: res_odbc: Error
SQLConnect=-1 errno=0 [u<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Já pesquisei bastante e não encontrei nada sobre este tipo
de falha.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Se alguém já tiver passado por algo do tipo de puder ajudar
já deixo antecipadamente meus agradecimentos.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Atenciosamente,<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:PersonName ProductID="Ricardo Aziz Barbosa" w:st="on"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Ricardo
Aziz Barbosa</span></font></st1:PersonName><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>