VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Перестали регистрироваться транки

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

Ответить
Аватара пользователя
Yazov
Сообщения: 50
Зарегистрирован: 09 ноя 2012, 11:29
Откуда: Almaty
Контактная информация:

Перестали регистрироваться транки

Сообщение Yazov »

Приветствую всех присутствующих!! Вчера, без каких либо действий с моей стороны, отвалились все транки с Астера. Ребут сервера не помог. Астер пускается, но транки не зарегистрированы. В Trixbox начала тупить функция сохранения конфигурации через перезагрузку.(Менял провайдера) "Перезагрузка" через Trixbox происходила минут 20. После команды reload в CLI астер ребутнулся и транки зарегистрировались. После этого сервер тушили на ночь. Утром все запустилось как нужно, астер поднялся, транки зарегистрировались - все работает. Однако то, что произошло мне не внушает доверия. Просмотрев логи, Я нашел следующие ошибки:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:

Код: Выделить всё

[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; FrePBX

Подскажите пожалуйста, в чем причина проблемы и как ее избежать в будущем?
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Перестали регистрироваться транки

Сообщение ded »

Расследовать проблему только по логу, если она уже осталась во вчерашнем дне - дорогое удовольствие, не получится.
Накидать можно несколько вероятных причин такого поведения, а толку? Их надо подтвердить или опровергнуть. Задним числом это никак.
Подумайте о целесообразности заключения договора SLA (Service level agreement), тогда Вам будет кому задавать вопросы.
Аватара пользователя
Yazov
Сообщения: 50
Зарегистрирован: 09 ноя 2012, 11:29
Откуда: Almaty
Контактная информация:

Re: Перестали регистрироваться транки

Сообщение Yazov »

Спасибо за ответ!
Итак, проблема вновь проявила себя. Точнее в данный момент. Интернет есть, транки не регаются.
Пока Я писал сообщение, транки поднялись. Нашел инфу о том, что проблемы могут быть с DNS. Решил проверить, позвонил провайдеру, они подтвердили. Как только транки поднялись, они мне позвонили и сказали, что подняли бэкап за декабрь. Именно DNS. Я не первый, кто звонит на счет DNS.
Я так понимаю проблема в этом, так как Я ничего не успел сделать, только логи открыл.
Тем не менее, ded, не могли бы Вы мне накидать вариантов? Скорее всего проблема у провайдера, но Я не хочу сидеть и ждать с моря погоды. Просмотрю все возможные варианты, а там уже, надеюсь, будет видно.
ded
Сообщения: 15626
Зарегистрирован: 26 авг 2010, 19:00

Re: Перестали регистрироваться транки

Сообщение ded »

Если прозвучало - DNS, то причина понятна. Я называю её Проблема 53 (потому что порт named = 53, и как-то так совпало, что и лекарство от этого тоже под этим номером):
http://asterisk.ru/news/53
Аватара пользователя
Yazov
Сообщения: 50
Зарегистрирован: 09 ноя 2012, 11:29
Откуда: Almaty
Контактная информация:

Re: Перестали регистрироваться транки

Сообщение Yazov »

Большое спасибо Вам! :)
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH