Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@PBX2:/usr/src/freepbx-2.10.0# ./install_amp --username humpty --password dumpty
- Checking for PEAR DB..OK
- Checking for PEAR Console::Getopt..OK
- Using username: humpty
- Using password: ******
- Checking user..OK
- Checking if Asterisk is running..running with PID: 20630..OK
- Checking for /etc/amportal.conf../etc/amportal.conf does not exist, copying default
- Creating new /etc/amportal.conf
- Enter your USERNAME to connect to the 'asterisk' database:
- [humpty]
- Enter your PASSWORD to connect to the 'asterisk' database:
- [dumpty]
- Enter the hostname of the 'asterisk' database:
- [localhost]
- Enter a USERNAME to connect to the Asterisk Manager interface:
- [admin]
- Enter a PASSWORD to connect to the Asterisk Manager interface:
- [amp111]
- Enter the path to use for your AMP web root:
- [/var/www/html]
- Created /var/www/html
- Enter the IP ADDRESS or hostname used to access the AMP web-admin:
- [192.168.1.1] 10.1.1.243
- Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
- [extensions]
- Enter directory in which to store AMP executable scripts:
- [/var/lib/asterisk/bin]
- Created /var/lib/asterisk/bin
- Enter directory in which to store super-user scripts:
- [/usr/local/sbin]
- /etc/amportal.conf writtenAssuming new install, --install-moh added to command line
- OK
- Reading /etc/amportal.conf..parsed amp_conf variables from /etc/amportal.conf:
- amp_conf [AMPDBHOST] => [localhost]
- amp_conf [AMPDBENGINE] => [mysql]
- amp_conf [AMPENGINE] => [asterisk]
- amp_conf [AMPMGRUSER] => [admin]
- amp_conf [AMPMGRPASS] => [amp111]
- amp_conf [AMPBIN] => [/var/lib/asterisk/bin]
- amp_conf [AMPSBIN] => [/usr/local/sbin]
- amp_conf [AMPWEBROOT] => [/var/www/html]
- amp_conf [AMPCGIBIN] => [/var/www/cgi-bin ]
- amp_conf [FOPWEBROOT] => [/var/www/html/panel]
- amp_conf [FOPPASSWORD] => [passw0rd]
- amp_conf [AUTHTYPE] => [database]
- amp_conf [AMPEXTENSIONS] => [extensions]
- amp_conf [AMPDBUSER] => [humpty]
- amp_conf [AMPDBPASS] => [dumpty]
- amp_conf [AMPWEBADDRESS] => [10.1.1.243]
- amp_conf [AMPDBNAME] => [asterisk]
- OK
- Checking for /etc/asterisk/asterisk.conf../etc/asterisk/asterisk.conf does not exist, copying default
- OK
- Reading /etc/asterisk/asterisk.conf..OK
- Using asterisk as PBX Engine
- Checking for Asterisk version..1.8.13.0
- Checking for selinux..OK
- Connecting to database..OK
- Checking current version of AMP..2.10.0
- Installing new FreePBX files..OK (293 files copied, 0 skipped)
- amportal..no fpbx..freepbx_engine..freepbx_setting..gen_amp_conf.php..done
- mkdir: missing operand
- Try `mkdir --help' for more information.
- apply username/password changes to conf files:
- running apply_conf.sh from freepbx_settings
- sed: can't read /cdr_mysql.conf: No such file or directory
- sed: can't read /cdr_mysql.conf: No such file or directory
- sed: can't read /cdr_mysql.conf: No such file or directory
- sed: can't read /manager.conf: No such file or directory
- sed: can't read /manager.conf: No such file or directory
- Bootstrapping Configuration Settings
- Updating configuration...
- /cdr_mysql.conf user: [] password: [] hostname: []
- /manager.conf user: [] secret: []
- /vm_email.inc
- You might need to modify /etc/asterisk/vm_email.inc manually
- Done
- done with apply_conf.sh
- creating missing #include files..OK
- OK
- Setting permissions on files..mkdir: missing operand
- Try `mkdir --help' for more information.
- OK
- Checking for upgrades..1 found
- Upgrading to 2.10.1..
- -> Running PHP script /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php
- removing deprecated Advanced settings if needed..ok
- PHP Notice: Uninitialized string offset: 0 in /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php on line 35
- PHP Notice: Uninitialized string offset: 0 in /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php on line 35
- writetimeout not present, adding
- writetimeout added to manager.conf
- Upgrading to 2.10.1..OK
- Creating or updating freepbx_conf settings..PHP Notice: Undefined index: mainstyle_css_generated in /usr/src/freepbx-2.10.0/libfreepbx.install.php on line 2160
- ..OK
- 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
- sudo: /var/lib/asterisk/bin/retrieve_conf: command not found
- Generating AMP configs..OK
- Please update your modules and reload Asterisk by visiting http://10.1.1.243/admin
- *************************************************************************
- * Note: It's possible that if you click the red 'Update Now' bar BEFORE *
- * updating your modules, your machine will start dropping calls. Ensure *
- * that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
- * as this is observed, your machine will be fully functional whilst the *
- * upgrade is in progress. *
- *************************************************************************
- root@PBX2:/usr/src/freepbx-2.10.0#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement