gpt4 book ai didi

php - 安装 Asterisk 13 + FreePBX 12.0.7

转载 作者:太空狗 更新时间:2023-10-29 12:29:41 24 4
gpt4 key购买 nike

我正在尝试在干净的 Ubuntu 14.04.2 LTS 服务器上安装带有 FreePBX 12.0.7 的 Asterisk 13。但是我在安装 FreePBX 时遇到了问题。我尝试在 clear Ubuntu 上重新安装它大约 5 次,但我遇到了同样的问题。

在 bash 中运行命令时:

./install_amp --installdb --username=asteriskuser --password=${ASTERISK_DB_PW}

检查 cdr 后,我收到很多 php 警告/通知,例如:

PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974

详细信息:

Checking cdr.. updated to 12.0.21
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
..OK
Setting freepbx settings form /etc/amportal.conf
freepbx setting [AMPDBHOST] DOES NOT EXIST, can't set to [localhost]
freepbx setting [AMPDBENGINE] DOES NOT EXIST, can't set to [mysql]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPENGINE] set to [asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPMGRUSER] set to [amiadmin]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPMGRPASS] set to [dK839sqA41]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPBIN] set to [/var/lib/asterisk/bin]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPSBIN] set to [/usr/local/sbin]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPWEBROOT] set to [/var/www]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPCGIBIN] set to [/var/www/cgi-bin ]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [FOPWEBROOT] set to [/var/www/html/panel]
freepbx setting [FOPPASSWORD] DOES NOT EXIST, can't set to [passw0rd]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AUTHTYPE] set to [database]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPEXTENSIONS] set to [extensions]
freepbx setting [AMPDBUSER] DOES NOT EXIST, can't set to [asteriskuser]
freepbx setting [AMPDBPASS] DOES NOT EXIST, can't set to [xxwDaUN5njRL0EDMu]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [AMPWEBADDRESS] set to [192.168.1.1]
freepbx setting [AMPDBNAME] DOES NOT EXIST, can't set to [asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTETCDIR] set to [/etc/asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTMODDIR] set to [/usr/lib/asterisk/modules]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTVARLIBDIR] set to [/var/lib/asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTAGIDIR] set to [/var/lib/asterisk/agi-bin]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTSPOOLDIR] set to [/var/spool/asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTRUNDIR] set to [/var/run/asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [ASTLOGDIR] set to [/var/log/asterisk]
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
PHP Notice: Undefined index: modified in /var/www/admin/libraries/BMO/Freepbx_conf.class.php on line 974
freepbx setting [FPBXDBUGFILE] set to [/var/log/asterisk/freepbx_debug]
Generating AMP configs..
Generating Configurations.conf, (if Asterisk is not running, you will get an error)
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configurations.conf files
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
Checking for PEAR Console::Getopt..OK
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
Running module install.php and install.sql scripts
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
Skipping extension and destination registry checks
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
no crontab for asterisk
no crontab for asterisk
Please update your modules and reload Asterisk by visiting http://192.168.1.1/admin
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112
PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied in /var/www/admin/libraries/utility.functions.php on line 112

另外,最重要的是,我得到了这个错误

Untaring..Done
Module ucp successfully downloaded
Refreshing all UCP Assets, this could take a while...
PHP Fatal error: Cannot redeclare class UCP\UCP in /var/www/admin/modules/ucp/htdocs/includes/UCP.class.php on line 217

运行时:

amportal a ma installall

最佳答案

已解决,问题出在 freepbx 脚本的某处。我使用的是 freepbx12.0.70.tgz 版本,所以我下载了 freepbx12.0.3.tgz,它解决了我的问题,它还自动更新到版本 12.0.71。

关于php - 安装 Asterisk 13 + FreePBX 12.0.7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31360155/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com