Доброго времени суток! Вчера, без каких либо действий с моей стороны, отвалились все транки с Астера. Ребут сервера не помог. Астер пускается, но транки не зарегистрированы. В Trixbox начала тупить функция сохранения конфигурации через перезагрузку.(Менял провайдера) "Перезагрузка" через Trixbox происходила минут 20. После команды reload в CLI астер ребутнулся и транки зарегистрировались. После этого сервер тушили на ночь. Утром все запустилось как нужно, астер поднялся, транки зарегистрировались - все работает. Однако то, что произошло мне не внушает доверия. Просмотрев логи, Я нашел следующие ошибки:
[Jan 24 16:21:40] WARNING[3957] chan_dahdi.c: Ignoring any changes to 'signalling' (on reload) at line 12.
[Jan 24 16:21:40] WARNING[3957] chan_dahdi.c: Ignoring any changes to 'rxwink' (on reload) at line 13.
[Jan 24 16:21:40] VERBOSE[3957] logger.c: -- Reloading module 'codec_ulaw.so' (mu-Law Coder/Decoder)
[Jan 24 16:21:40] VERBOSE[3957] logger.c: -- Reloading module 'chan_jingle.so' (Jingle Channel Driver)
[Jan 24 16:21:40] VERBOSE[3957] logger.c: -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
[Jan 24 16:21:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 5 sec for mutex '&monlock'?
[Jan 24 16:21:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:21:45] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #1)
[Jan 24 16:21:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 10 sec for mutex '&monlock'?
[Jan 24 16:21:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:21:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 15 sec for mutex '&monlock'?
[Jan 24 16:21:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:21:55] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #2)
[Jan 24 16:22:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 20 sec for mutex '&monlock'?
[Jan 24 16:22:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 25 sec for mutex '&monlock'?
[Jan 24 16:22:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:05] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #2)
[Jan 24 16:22:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 30 sec for mutex '&monlock'?
[Jan 24 16:22:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 35 sec for mutex '&monlock'?
[Jan 24 16:22:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:15] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #2)
[Jan 24 16:22:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 40 sec for mutex '&monlock'?
[Jan 24 16:22:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 45 sec for mutex '&monlock'?
[Jan 24 16:22:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:25] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #3)
[Jan 24 16:22:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 50 sec for mutex '&monlock'?
[Jan 24 16:22:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 55 sec for mutex '&monlock'?
[Jan 24 16:22:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:35] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #3)
[Jan 24 16:22:40] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 60 sec for mutex '&monlock'?
[Jan 24 16:22:40] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 65 sec for mutex '&monlock'?
[Jan 24 16:22:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:45] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #3)
[Jan 24 16:22:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 70 sec for mutex '&monlock'?
[Jan 24 16:22:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 75 sec for mutex '&monlock'?
[Jan 24 16:22:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:22:55] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #4)
[Jan 24 16:23:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 80 sec for mutex '&monlock'?
[Jan 24 16:23:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 85 sec for mutex '&monlock'?
[Jan 24 16:23:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:05] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #4)
[Jan 24 16:23:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 90 sec for mutex '&monlock'?
[Jan 24 16:23:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 95 sec for mutex '&monlock'?
[Jan 24 16:23:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:15] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #4)
[Jan 24 16:23:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 100 sec for mutex '&monlock'?
[Jan 24 16:23:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 105 sec for mutex '&monlock'?
[Jan 24 16:23:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:25] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #5)
[Jan 24 16:23:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 110 sec for mutex '&monlock'?
[Jan 24 16:23:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 115 sec for mutex '&monlock'?
[Jan 24 16:23:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:35] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #5)
[Jan 24 16:23:40] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 120 sec for mutex '&monlock'?
[Jan 24 16:23:40] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 125 sec for mutex '&monlock'?
[Jan 24 16:23:45] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:45] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #5)
[Jan 24 16:23:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 130 sec for mutex '&monlock'?
[Jan 24 16:23:50] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 135 sec for mutex '&monlock'?
[Jan 24 16:23:55] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:23:55] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #6)
[Jan 24 16:24:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 140 sec for mutex '&monlock'?
[Jan 24 16:24:00] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 145 sec for mutex '&monlock'?
[Jan 24 16:24:05] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:05] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #6)
[Jan 24 16:24:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 150 sec for mutex '&monlock'?
[Jan 24 16:24:10] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 155 sec for mutex '&monlock'?
[Jan 24 16:24:15] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:15] NOTICE[3867] chan_sip.c: -- Registration for 'AGENSTVO@195.47.255.212' timed out, trying again (Attempt #6)
[Jan 24 16:24:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 160 sec for mutex '&monlock'?
[Jan 24 16:24:20] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 165 sec for mutex '&monlock'?
[Jan 24 16:24:25] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:25] NOTICE[3867] chan_sip.c: -- Registration for '659874326584@88.204.255.120' timed out, trying again (Attempt #7)
[Jan 24 16:24:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 170 sec for mutex '&monlock'?
[Jan 24 16:24:30] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20825 (restart_monitor): Deadlock? waited 175 sec for mutex '&monlock'?
[Jan 24 16:24:35] ERROR[3957] /usr/src/redhat/BUILD/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_sip.c line 20806 (do_monitor): '&monlock' was locked here.
[Jan 24 16:24:35] NOTICE[3867] chan_sip.c: -- Registration for '3139731@195.88.2.154' timed out, trying again (Attempt #7)
[Jan 24 16:24:35] VERBOSE[3867] logger.c: Reloading SIP
... и так далее. Если нужно - выложу больше логов.
Система: CentOS 5.6 kernel 2.6.18 Asterisk: 1.6.0.26-FONCORE-r78
Повешенных процессов нет. Процесс астера вел себя как обычно - загрузка ЦП 2-2,5% Подскажите пожалуйста, в чем причина проблемы и как ее избежать в будущем?
ну для начала обновится на 1.6.2.* хотябы.
Задан: 2013-01-25 07:44:06 +0400
Просмотрен: 821 раз
Обновлен: Jan 25 '13
Correct auth, but... потеря регистрации audiocodes
регистрация динамических агентов
Не считаются переадресованные вызовы
Перезагрузил маршрутизатор - перестали регистрироваться транки Asterisk [закрыт]
при команде Dial через ADDPAC нет звука
Как указать Астериску регистрировать транк через определенный прокси? [закрыт]
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
Не обновляли систему последние лет 5 ? проблем с интернетом и DNS в это время не было ?
awsswa ( 2013-01-25 08:07:11 +0400 )редактироватьawsswa, проблем с интернетом не было. DNS... хм... Нужно проверить, спасибо!
Yazov ( 2013-01-25 10:29:49 +0400 )редактироватьКакой смысл в обновлении? Мне не это нужно. Как минимум три месяца таких проблем не было. Думаю, не в обновлениях тут дело.
Yazov ( 2013-01-25 10:36:24 +0400 )редактироватьИтак, проблема вновь проявила себя. Точнее в данный момент. Интернет есть, транки не регаются. Пока Я писал сообщение, транки поднялись. Нашел инфу о том, что проблемы могут быть с DNS. Решил проверить, позвонил провайдеру, они подтвердили. Как только транки поднялись, они мне позвонили и сказали, что подняли бэкап за декабрь. Именно DNS. Я не первый, кто звонит на счет DNS. Я так понимаю проблема в этом, так как Я ничего не успел сделать, только логи открыл.
Yazov ( 2013-01-25 11:52:07 +0400 )редактироватьПоднимите свой DNS сервер и проблема уйдет
awsswa ( 2013-01-25 11:53:35 +0400 )редактировать