返回列表 發帖

Elastix 出現error, 求助 (已解決)

本帖最後由 浮雲1965 於 2012-3-9 19:51 編輯

小弟的Elastix出現error. 現象如下:

在FreePBX Notice 上顯示:
Asterisk Manager Connection Failure
Failed to connect to the Asterisk manager through port: 5038

另外, 修改了任何設定后,按 Apply Configuration Changes后, 再按Continue with reload, 會出現以下error message:

Reload failed because retrieve_conf encountered an error: 1

exit: 1
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking for /etc/amportal.conf ..OK
Bootstrapping /etc/amportal.conf ..OK
Parsing /etc/amportal.conf ..OK
Parsing /etc/asterisk/asterisk.conf ..OK
Connecting to database..OK
PHP Warning:  Missing argument 1 for connectdirs::create(), called in /var/lib/asterisk/bin/retrieve_conf on line 434 and defined in /var/lib/asterisk/bin/retrieve_conf on line 13
Connecting to Asterisk manager interface..Thu, 08 Mar 2012 17:50:12 +0800 - Failed to login.
FAILED
[FATAL] Asterisk Manager Connection Failure Failed to connect to the Asterisk manager through port: 5038
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

請問如何將 /var/lib/asterisk/bin/retrieve_conf 發上來,給各位專家診斷一下?
p.s.我已試過restore前一周前兩周的setting, 但還是沒有解決問題。

/var/lib/asterisk/bin/retrieve_conf的13行如下:
function &create(&$db) {

/var/lib/asterisk/bin/retrieve_conf的434行如下:
$con_dirs = connectdirs::create();

請問如何解決?

TOP

Did you do an update in software? I think there is a problem in the database

TOP

Yes. That I did add Chinese 語音 into the system. I tested the 語音 worked. After that I try to enable PARK LOG, but when I save the setting, and do a reload, the Error comes out.

TOP

本帖最後由 浮雲1965 於 2012-3-9 19:46 編輯

我本來差不多弄回來了,應該是我手動改了一些password, 跟DB對不上,我改回了,就可以了。那個error沒有了。
因我的Elastix(Asterisk是1.6版的),我就做了些update, 包括 freepbx的一些更新, Freepbx更新到2.9版。 但之后就又出現問題了,可以登入Elastix的首頁,也可以進入如FAX、IM等功能頁,但不能進入pbx功能頁。瀏覽器會一直等沒反應,關了瀏覽器, 再開也是沒反應的。等很久很久,或重啟機器。就可以再進入Elastix的web管理頁。但沒反應時,如果另開瀏覽器畫面, 直接登入freepbx, 是可以登入的。並且freepbx所有功能都正常。
請問大家有經驗解決嗎?

TOP

返回列表