[asterisk-users] Spontaneous reboots on asterisk 1.6.2.11

Jonas Kellens jonas.kellens at telenet.be
Wed Sep 15 03:36:08 CDT 2010


The reboot occured a 10:11:11, this my debug log :

...
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '252227026'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: 
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Query 
resultid 1 SELECT klantID, vakantieID, feestdagID, kantoorurenID, 
routeID, Accountco
deIN, backupID from DID where DID=252482233
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'resultid' to value '2'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Fetch 
fetchid 2 klantID vakantieID feestdagenID kantoorurenID routeID 
AccountcodeIN BACKUP
ID
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: ast_MYSQL_fetch: 
numFields=7
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'fetchid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Clear 2
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: 
data=Disconnect 1
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: 
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'

[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Query 
resultid 1 SELECT KNUMMER , vmcontext , accountcode_out , hostedformule 
, mohclass F
ROM AstDB where klantID=50
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'resultid' to value '2'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Fetch 
fetchid 2 KNUMMER VMCONTEXT ACCOUT FORMULE MOHCLASS
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: ast_MYSQL_fetch: 
numFields=5
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'fetchid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Clear 2
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: 
data=Disconnect 1
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'SetMusicOnHold'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: GoTo
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: Set
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '50'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '1'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '1'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Expression result is '0'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Not taking any branch
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Return'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '"252471126" 
<252471126>'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: 
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting var 
'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Query 
resultid 1 SELECT ast1 , ast2 , na , naID FROM vakantiedata where ID=58
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable 'IAXPEER' 
in tree 'description'
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable 'IAXVAR' 
in tree 'description'
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable 'AGENT' in 
tree 'description'
[Sep 15 10:11:23] DEBUG[12362] xmldoc.c: Cannot find variable 'SIPPEER' 
in tree 'description'
[Sep 15 10:11:23] DEBUG[12362] xmldoc.c: Cannot find variable 
'SIPCHANINFO' in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'IAXPEER' 
in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'IAXVAR' 
in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'AGENT' in 
tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'SIPPEER' 
in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 
'SIPCHANINFO' in tree 'description'
[Sep 15 10:15:47] DEBUG[12773] xmldoc.c: Cannot find variable 'IAXPEER' 
in tree 'description'
...


Do you guys see anything abnormal ?!


Thank you.

Kind regards,

Jonas.



On 09/14/2010 09:36 PM, Danny Nicholas wrote:
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
> Sent: Tuesday, September 14, 2010 2:30 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Spontaneous reboots on asterisk 1.6.2.11
>
> On 09/14/2010 09:12 PM, Carlos Chavez wrote:
>    
>> On Tue, 2010-09-14 at 20:27 +0200, Jonas Kellens wrote:
>>
>>      
>>> And again !! Without me doing anything !!
>>>
>>> PBX Core settings
>>> -----------------
>>>     Version:                     1.6.2.11
>>>     Build Options:               LOADABLE_MODULES
>>>     Maximum calls:               Not set
>>>     Maximum open file handles:   Not set
>>>     Verbosity:                   25
>>>     Debug level:                 0
>>>     Maximum load average:        0.000000
>>>     Minimum free memory:         0 MB
>>>     Startup time:                20:24:51
>>>     Last reload time:            20:24:51
>>>
>>>
>>> Jonas.
>>>
>>>        
>> 	The most common explanation is that your Asterisk is crashing and
>>      
> that
>    
>> safe_asterisk is restarting the process.  Check your system for core
>> files.
>>
>>      
> Thank you for your reaction. Can you be more specific ?! What "system
> core files" do I need to check and what am I looking for ?!
>
>
> I've recently upgraded from 1.4.30 to 1.6.2.11 and then these problems
> occurred. I had no problems before. Therefore I would think it has
> something to do with the version I'm currently using... But of course
> I'm not sure.
>
> Could it be my MySQL database ?
>
> In what situation does safe_asterisk restart ??
>
>
> Jonas.
>
> #1. look for core.* in /etc/asterisk (may be elsewhere, but if you did
> - cd /etc/asterisk
> - asterisk -vvgc
> The core.pid (pid being the unix process ID of the process) would be
> generated there.
> #2. always a possibility, but it shouldn't have "broken" going from 1.4 to
> 1.6
> #3. numerous answers, but basically anytime a module fails.
>
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100915/f90c7e83/attachment.htm 


More information about the asterisk-users mailing list