[asterisk-dev] infinit loop

Коньков Евгений kes-kes at yandex.ru
Tue Jan 3 11:12:37 CST 2012


Здравствуйте, Tzafrir.

Вы писали 3 января 2012 г., 14:52:11:

TC> On Tue, Jan 03, 2012 at 02:21:22AM +0200, Коньков Евгений wrote:
>> while installing GUI2.0 on FreeBSD I get:
>> 
>> 
>> 
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Saving '/usr/local/etc/asterisk/http.conf':   == Parsing '/usr/local/etc/asterisk/manager.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/extensions.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/sip.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/asterisk.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found
>>   == Parsing '/usr/local/etc/asterisk/http.conf':   == Found

TC> Not really a -dev question, but this is normally because of the GUI
TC> failing to write some configuration file or failing another sanity test.

GUI is static it is works through http.conf port 8088 interface. So, I
think it is related to asterisk or modules.

permitions on /usr/local/etc/asterisk is 644 and are owned by asterisk:asterisk

there must be logs that reports, at least, minimal errors

I think problem is with this
>>   == Parsing '/usr/local/etc/asterisk/dahdi_guiread.conf':   == Found
before that it is report error that can not run 'danhdi_genconf' file.
also in infinit loop. I create empty one and get these errors.

Also I notice that many paths are hardcoded so may feateres in source
files are linked to /var/lib/... directory or /etc/asterisk.conf file.

-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru




More information about the asterisk-dev mailing list