设为首页 收藏本站
开启辅助访问 切换到宽版
注册会员 找回密码

VoIP88

rrobin 发表于 2015-2-26 16:37 | 显示全部楼层 |阅读模式
    报错提示,根据126行提示,应该是用户名和密码,可是默认配置文件密码是没有修改的,只有mysql root密码改过,请大湿们指点,谢谢啦
retrieve_conf failed, config not applied

Reload failed because retrieve_conf encountered an error: 126
Added 4 weeks, 1 hour, 6 minutes ago
(freepbx.RCONFFAIL)



原配置文件(数字是126行数)如下:
   123
    124 // **** Parse out command-line options
    125
    126 $shortopts = "h?u:p:";
    127 $longopts = array("help","debug","dry-run","run-install","amportalconf=");
    128



james.zhu 发表于 2015-2-26 21:05 | 显示全部楼层
检查manager.conf 文件中的用户名和密码,可能修改密码导致amp的设置出现问题。
 楼主| rrobin 发表于 2015-2-27 14:09 | 显示全部楼层
在重新安装同一个版本对比后,发现对比发现,原始的是[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[admin]
secret = elastix456
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

#include manager_additional.conf
#include manager_custom.conf
而出现故障的只是加了
[AsterClick]
和另外一个账号,以上错误只是在reload的时候出现的,奇怪的是提示asterisk状态为红色的,可是后台电话什么的还能拨打就是不能管理分机什么的
 楼主| rrobin 发表于 2015-2-27 14:19 | 显示全部楼层
#include manager_additional.conf
#include manager_custom.conf
这个两个文件只有少量差异
 楼主| rrobin 发表于 2015-2-27 14:31 | 显示全部楼层
/etc/amportal.conf   这个文件倒是比对后,发现
1、SSHPORT改成了8848
mysql密码改了
2、# FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
# FOPPASSWORD=passw0rd
FOPPASSWORD=eLaStIx.2oo7
3、该文件最后一行加了一句话
MOHDIR=mohmp3
 楼主| rrobin 发表于 2015-2-27 14:34 | 显示全部楼层
本帖最后由 rrobin 于 2015-2-27 14:36 编辑

其它的就真没有改变什么了
/etc/amportal.conf中有一个注释项目
# This file contains settings for components of the Asterisk Management Portal
# Spaces are not allowed!
# Run /usr/src/AMP/apply_conf.sh after making changes to this file
说修改此文件必须运行,这个脚本,可是我发现是没有这个脚本的,如果真的是因为数据库mysql root密码修改造成,那如何修改还原回去呢
james.zhu 发表于 2015-3-2 09:59 | 显示全部楼层
你试试执行  ./retrieve_conf --debug 看看输出什么结果?  
 楼主| rrobin 发表于 2015-3-2 11:24 | 显示全部楼层

Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
[DEBUG-preDB] Debug mode enabled
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
Connecting to Asterisk manager interface..OK
[DEBUG-retrieve_conf] (devel-debug) Started retrieve_conf, DB Connection OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/voicemail/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/voicemail/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/irc/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/irc/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/announcement/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/announcement/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/phpagiconf/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/phpagiconf/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/backup/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/backup/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/dumpastdb.php already points to /var/www/html/admin/modules/backup/bin/dumpastdb.php - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/restoreastdb.php already points to /var/www/html/admin/modules/backup/bin/restoreastdb.php - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/ampbackup.pl already points to /var/www/html/admin/modules/backup/bin/ampbackup.pl - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/asterisk-cli/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/asterisk-cli/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/gabcast/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/gabcast/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/timeconditions/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/timeconditions/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/time_edit.png already points to /var/www/html/admin/modules/timeconditions/images/time_edit.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/time_link.png already points to /var/www/html/admin/modules/timeconditions/images/time_link.png - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/blacklist/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/blacklist/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/infoservices/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/infoservices/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/donotdisturb/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/donotdisturb/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/callforward/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/callforward/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/daynight/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/daynight/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/clock_link.png already points to /var/www/html/admin/modules/daynight/images/clock_link.png - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/music/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/music/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/paging/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/paging/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/intercom.wav already points to /var/www/html/admin/modules/paging/sounds/intercom.wav - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/miscapps/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/miscapps/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/pinsets/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/pinsets/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/phonebook/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/phonebook/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/ivr/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/ivr/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/queue_link.png already points to /var/www/html/admin/modules/ivr/images/queue_link.png - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/disa/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/disa/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/vmblast/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/vmblast/functions.inc.php processed OK
[DEBUG-retrieve-conf] (error) /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl already exists, and is not a symlink!
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/parking/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/parking/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/miscdests/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/miscdests/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/queueprio/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/queueprio/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/conferences/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/conferences/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/ringgroups/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/ringgroups/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/callwaiting/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/callwaiting/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/queues/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/queues/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/findmefollow/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/findmefollow/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/followme.sln already points to /var/www/html/admin/modules/findmefollow/sounds/followme.sln - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/manager/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/manager/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/languages/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/languages/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/printextensions/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/printextensions/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/pbdirectory/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/pbdirectory/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/pbdirectory already points to /var/www/html/admin/modules/pbdirectory/sounds/pbdirectory - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/pbdirectory successfully copied
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/speeddial/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/speeddial/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/speed-enterlocation.gsm already points to /var/www/html/admin/modules/speeddial/sounds/speed-enterlocation.gsm - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/to-change.gsm already points to /var/www/html/admin/modules/speeddial/sounds/to-change.gsm - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/speed-enternumber.gsm already points to /var/www/html/admin/modules/speeddial/sounds/speed-enternumber.gsm - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/to-enter-a-diff.gsm already points to /var/www/html/admin/modules/speeddial/sounds/to-enter-a-diff.gsm - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/cidlookup/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/cidlookup/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/inventorydb/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/inventorydb/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/weakpasswords/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/weakpasswords/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/featurecodeadmin/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/featurecodeadmin/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/customappsreg/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/customappsreg/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/callback/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/callback/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/callback already points to /var/www/html/admin/modules/callback/bin/callback - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/dashboard/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/dashboard/functions.inc.php processed OK
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_security.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_error.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_delete.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_warning.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_update.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_notice.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/notify_critical.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/dashboard-sysinfo.png already exists, and is not a symlink!
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/customerdb/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/customerdb/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/recordings/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/recordings/functions.inc.php processed OK
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/sound_delete.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/play.png already exists, and is not a symlink!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/application_link.png already exists, and is not a symlink!
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/dictate/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/dictate/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/dictation-being-processed.sln already points to /var/www/html/admin/modules/dictate/sounds/dictation-being-processed.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/dictation-being-processed.wav already points to /var/www/html/admin/modules/dictate/sounds/dictation-being-processed.wav - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/dictation-sent.wav already points to /var/www/html/admin/modules/dictate/sounds/dictation-sent.wav - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/dictation-sent.sln already points to /var/www/html/admin/modules/dictate/sounds/dictation-sent.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/enter-filename-short.sln already points to /var/www/html/admin/modules/dictate/sounds/enter-filename-short.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/audio-email.pl already points to /var/www/html/admin/modules/dictate/bin/audio-email.pl - OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/asteriskinfo/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/asteriskinfo/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/dundicheck/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/dundicheck/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/customcontexts/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/customcontexts/functions.inc.php processed OK
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/core/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/core/functions.inc.php processed OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/you-will-be-transfered-menu.sln already points to /var/www/html/admin/modules/core/sounds/you-will-be-transfered-menu.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/please-enter-your-extension-then-press-pound.sln already points to /var/www/html/admin/modules/core/sounds/please-enter-your-extension-then-press-pound.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/agent-login.sln already points to /var/www/html/admin/modules/core/sounds/agent-login.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/exited-vm-will-be-transfered.sln already points to /var/www/html/admin/modules/core/sounds/exited-vm-will-be-transfered.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/line-busy-transfer-menu.sln already points to /var/www/html/admin/modules/core/sounds/line-busy-transfer-menu.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/incoming-call-no-longer-avail.sln already points to /var/www/html/admin/modules/core/sounds/incoming-call-no-longer-avail.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/featurecode.sln already points to /var/www/html/admin/modules/core/sounds/featurecode.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/agent-logoff.sln already points to /var/www/html/admin/modules/core/sounds/agent-logoff.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/sounds/incoming-call-1-accept-2-decline.sln already points to /var/www/html/admin/modules/core/sounds/incoming-call-1-accept-2-decline.sln - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/bin/fax-process.pl already points to /var/www/html/admin/modules/core/bin/fax-process.pl - OK
[DEBUG-retrieve-conf] (devel-debug) /etc/asterisk/extensions.conf already points to /var/www/html/admin/modules/core/etc/extensions.conf - OK
[DEBUG-retrieve-conf] (devel-debug) /etc/asterisk/iax.conf already points to /var/www/html/admin/modules/core/etc/iax.conf - OK
[DEBUG-retrieve-conf] (devel-debug) /etc/asterisk/features.conf already points to /var/www/html/admin/modules/core/etc/features.conf - OK
[DEBUG-retrieve-conf] (devel-debug) /etc/asterisk/sip.conf already points to /var/www/html/admin/modules/core/etc/sip.conf - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/telephone_delete.png already points to /var/www/html/admin/modules/core/images/telephone_delete.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/user_delete.png already points to /var/www/html/admin/modules/core/images/user_delete.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/user_add.png already points to /var/www/html/admin/modules/core/images/user_add.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/email_edit.png already points to /var/www/html/admin/modules/core/images/email_edit.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/link.png already points to /var/www/html/admin/modules/core/images/link.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/user_go.png already points to /var/www/html/admin/modules/core/images/user_go.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/core_add.png already points to /var/www/html/admin/modules/core/images/core_add.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/core_delete.png already points to /var/www/html/admin/modules/core/images/core_delete.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/telephone_key.png already points to /var/www/html/admin/modules/core/images/telephone_key.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/user_edit.png already points to /var/www/html/admin/modules/core/images/user_edit.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/telephone_edit.png already points to /var/www/html/admin/modules/core/images/telephone_edit.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/recordingcheck successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/list-item-remove.php successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/user_login_out.agi successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/dialparties.agi successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/enumlookup.agi successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/directory successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/checksound.agi successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/lib/asterisk/agi-bin/fixlocalprefix successfully copied
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/th_call-compare.png already points to /var/www/html/admin/cdr/images/th_call-compare.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/sidenav-selected.gif already points to /var/www/html/admin/cdr/images/sidenav-selected.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/button-search.gif already points to /var/www/html/admin/cdr/images/button-search.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/header-projects.png already points to /var/www/html/admin/cdr/images/header-projects.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/call-logs.png already points to /var/www/html/admin/cdr/images/call-logs.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/pdf.png already points to /var/www/html/admin/cdr/images/pdf.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/jukebox_ti60.gif already points to /var/www/html/admin/cdr/images/jukebox_ti60.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/btn_top_12x12.gif already points to /var/www/html/admin/cdr/images/btn_top_12x12.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/excel.png already points to /var/www/html/admin/cdr/images/excel.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/icon_up_12x12.GIF already points to /var/www/html/admin/cdr/images/icon_up_12x12.GIF - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/header-faq.png already points to /var/www/html/admin/cdr/images/header-faq.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/corner-tl.png already points to /var/www/html/admin/cdr/images/corner-tl.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/printable.png already points to /var/www/html/admin/cdr/images/printable.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/clear.gif already points to /var/www/html/admin/cdr/images/clear.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/call-compare.png already points to /var/www/html/admin/cdr/images/call-compare.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/icon_down_12x12.GIF already points to /var/www/html/admin/cdr/images/icon_down_12x12.GIF - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/header-search.png already points to /var/www/html/admin/cdr/images/header-search.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/fleche-g.gif already points to /var/www/html/admin/cdr/images/fleche-g.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/asterisk.gif already points to /var/www/html/admin/cdr/images/asterisk.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/spacer.gif already points to /var/www/html/admin/cdr/images/spacer.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/fleche-d.gif already points to /var/www/html/admin/cdr/images/fleche-d.gif - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/header-download.png already points to /var/www/html/admin/cdr/images/header-download.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/corner-tr.png already points to /var/www/html/admin/cdr/images/corner-tr.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/th_call-logs.png already points to /var/www/html/admin/cdr/images/th_call-logs.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/corner-bl.png already points to /var/www/html/admin/cdr/images/corner-bl.png - OK
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/corner-br.png already points to /var/www/html/admin/cdr/images/corner-br.png - OK
[DEBUG-retrieve_conf] (devel-debug) Creating builtin_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating voicemail_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating irc_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating announcement_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating phpagiconf_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating backup_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating asterisk-cli_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating gabcast_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating timeconditions_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating blacklist_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating infoservices_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating donotdisturb_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating callforward_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating daynight_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating music_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating paging_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating miscapps_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating pinsets_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating phonebook_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating ivr_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating disa_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating vmblast_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating fw_fop_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating parking_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating miscdests_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating queueprio_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating conferences_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating ringgroups_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating phpinfo_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating fw_ari_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating callwaiting_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating fw_langpacks_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating queues_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating javassh_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating findmefollow_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating manager_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating languages_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating printextensions_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating pbdirectory_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating speeddial_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating cidlookup_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating inventorydb_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating logfiles_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating weakpasswords_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating featurecodeadmin_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating framework_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating customappsreg_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating callback_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating dashboard_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating customerdb_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating recordings_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating dictate_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating asteriskinfo_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating dundicheck_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating customcontexts_conf class
[DEBUG-retrieve_conf] (devel-debug) Creating core_conf class
Mon, 02 Mar 2015 11:18:45 +0800 - Got event.. peerstatus
Mon, 02 Mar 2015 11:18:45 +0800 - No event handler for event 'peerstatus'
[DEBUG-retrieve_conf] (devel-debug) Calling voicemail_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling announcement_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling gabcast_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling timeconditions_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling blacklist_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling infoservices_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling donotdisturb_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling callforward_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling daynight_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling paging_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling miscapps_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling pinsets_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling ivr_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling disa_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling vmblast_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling parking_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling miscdests_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling queueprio_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling conferences_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling ringgroups_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling callwaiting_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling queues_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling findmefollow_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling languages_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling pbdirectory_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling speeddial_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling cidlookup_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling weakpasswords_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling callback_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling recordings_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling dictate_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling customcontexts_get_config()
[DEBUG-retrieve_conf] (devel-debug) Calling core_get_config()
Mon, 02 Mar 2015 11:18:47 +0800 - Got event.. newstate
Mon, 02 Mar 2015 11:18:47 +0800 - No event handler for event 'newstate'
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib64/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = elastix456
[DEBUG-retrieve_conf] (devel-debug) Calling blacklist_hookGet_config()
[DEBUG-retrieve_conf] (devel-debug) Calling daynight_hookGet_config()
[DEBUG-retrieve_conf] (devel-debug) Calling pinsets_hookGet_config()
[DEBUG-retrieve_conf] (devel-debug) Calling languages_hookGet_config()
[DEBUG-retrieve_conf] (devel-debug) Calling cidlookup_hookGet_config()
[DEBUG-retrieve_conf] (devel-debug) Calling customcontexts_hookGet_config()
PHP Warning:  array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 292
PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 292
PHP Warning:  array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 292
PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 292
PHP Warning:  array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 292
PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 292
[DEBUG-retrieve_conf] (devel-debug) Writing extensions_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from pinsets_conf->pinset_1
[DEBUG-retrieve_conf] (devel-debug) Writing pinset_1
[DEBUG-retrieve_conf] (devel-debug) generateConf from conferences_conf
[DEBUG-retrieve_conf] (devel-debug) Writing meetme_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from queues_conf->queues_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing queues_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from queues_conf->queues_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing queues_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->sip_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing sip_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->sip_registrations.conf
[DEBUG-retrieve_conf] (devel-debug) Writing sip_registrations.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->iax_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing iax_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->iax_registrations.conf
[DEBUG-retrieve_conf] (devel-debug) Writing iax_registrations.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->sip_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing sip_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->iax_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing iax_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->features_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing features_general_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->features_applicationmap_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing features_applicationmap_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->features_featuremap_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing features_featuremap_additional.conf
[DEBUG-retrieve_conf] (devel-debug) generateConf from core_conf->chan_dahdi_additional.conf
[DEBUG-retrieve_conf] (devel-debug) Writing chan_dahdi_additional.conf
Unquoted string "old" may clash with future reserved word at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 42.
Number found where operator expected at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 42, near "old 232"
        (Do you need to predeclare old?)
Scalar found where operator expected at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 43, near "$buttonsizey"
        (Missing semicolon on previous line?)
"my" variable $db_file masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 233.
"my" variable $row masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 405.
"my" variable $row masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 428.
"my" variable $id masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 430.
"my" variable $row masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 478.
"my" variable $row masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 511.
"my" variable $row masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 528.
"my" variable $start masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 563.
"my" variable $xposition masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 565.
"my" variable $yposition masks earlier declaration in same scope at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 566.
syntax error at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 42, near "old 232"
Execution of /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl aborted due to compilation errors.
[ERROR] retrieve_op_conf_from_mysql.pl returned with an error code 255
Please update your modules and reload Asterisk by browsing to your server.
最后一个,在执行配置文件重写的时候,有错误
 楼主| rrobin 发表于 2015-3-2 13:18 | 显示全部楼层
第292行是        foreach (array_keys($this->_exts[$section][$extension]) as $idx) {
james.zhu 发表于 2015-3-2 17:00 | 显示全部楼层
好像你的extension.php 有问题,你把密码重新设置为以前的密码试试,如果不行,只能重新安装了。
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

关闭

站长推荐上一条 /1 下一条

手机版|VoIP88 ( 粤ICP备11095982号   填写您的邮件地址,订阅我们的精彩内容:

GMT+8, 2017-9-24 23:49 , Processed in 0.259399 second(s), 24 queries .

Powered by VoIP88

© 2001-2017 VoIP88

快速回复 返回顶部 返回列表