Hi all,
In the last day of 2018...a serious problem with my Asterisk...I Can´t start the service!
Who can help me please? Below my tries...
You have mail in /var/spool/mail/root
[root@govoipgate ~]# sudo asterisk -rvvvvvvvvvvvvr
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@govoipgate ~]# service asterisk start
Starting asterisk: [ OK ]
You have mail in /var/spool/mail/root
[root@govoipgate ~]# asterisk -vvvr
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@govoipgate ~]# sudo asterisk -vvvr
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@govoipgate ~]# asterisk -rv
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@govoipgate ~]# asterisk -cv
Asterisk 1.2.31, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
Asterisk Management interface listening on port 5038
Dec 31 20:18:32 NOTICE[18641]: cdr.c:1214 do_reload: CDR simple logging enabled.
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
[Answer]
[BackGround]
[Busy]
[Congestion]
[DigitTimeout]
[Goto]
[GotoIf]
[GotoIfTime]
[ExecIfTime]
[Hangup]
[NoOp]
[Progress]
[ResetCDR]
[ResponseTimeout]
[Ringing]
[SayNumber]
[SayDigits]
[SayAlpha]
[SayPhonetic]
[SetAccount]
[SetAMAFlags]
[SetGlobalVar]
[SetLanguage]
[Set]
[SetVar]
[ImportVar]
[Wait]
[WaitExten]
Asterisk Dynamic Loader Starting:
[res_musiconhold.so] => (Music On Hold Resource)
[app_queue.so]Dec 31 20:18:32 WARNING[18641]: loader.c:326 __load_resource: /usr/lib/asterisk/m
The last lines of the log and the error I think...
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
== Registered application 'StartMusicOnHold'
== Registered application 'StopMusicOnHold'
== Parsing '/etc/asterisk/musiconhold.conf': Found
[app_queue.so]Dec 31 20:20:08 WARNING[30210]: loader.c:326 __load_resource: /usr/lib/asterisk/modules/app_queue.so: undefined symbol: ast_monitor_start
Dec 31 20:20:08 WARNING[30210]: loader.c:500 load_modules: Loading module app_queue.so failed!
You have new mail in /var/spool/mail/root
This asterisk has been in operation for a few years ... there had to be a mistake that led to the asterisk being suddenly "dead".
Other log
[root@govoipgate ~]# service asterisk status
asterisk morto mas o ficheiro com o pid existe
Translating from *Portuguese:
"...asterisk dead but file with pid exists"
That was the other suggestion, but I assumed you wanted queues.
I’m not certain, but the load order might be sensitive to to the order of files in the modules directory. It is possible something you did changed that.