Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. root@PBX2:/usr/src/freepbx-2.10.0# ./install_amp --username humpty --password dumpty
  2. Checking for PEAR DB..OK
  3. Checking for PEAR Console::Getopt..OK
  4. Using username: humpty
  5. Using password: ******
  6. Checking user..OK
  7. Checking if Asterisk is running..running with PID: 20630..OK
  8. Checking for /etc/amportal.conf../etc/amportal.conf does not exist, copying default
  9. Creating new /etc/amportal.conf
  10. Enter your USERNAME to connect to the 'asterisk' database:
  11. [humpty]
  12. Enter your PASSWORD to connect to the 'asterisk' database:
  13. [dumpty]
  14. Enter the hostname of the 'asterisk' database:
  15. [localhost]
  16. Enter a USERNAME to connect to the Asterisk Manager interface:
  17. [admin]
  18. Enter a PASSWORD to connect to the Asterisk Manager interface:
  19. [amp111]
  20. Enter the path to use for your AMP web root:
  21. [/var/www/html]
  22.  
  23. Created /var/www/html
  24. Enter the IP ADDRESS or hostname used to access the AMP web-admin:
  25. [192.168.1.1] 10.1.1.243
  26. Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
  27. [extensions]
  28. Enter directory in which to store AMP executable scripts:
  29. [/var/lib/asterisk/bin]
  30.  
  31. Created /var/lib/asterisk/bin
  32. Enter directory in which to store super-user scripts:
  33. [/usr/local/sbin]
  34.  
  35. /etc/amportal.conf writtenAssuming new install, --install-moh added to command line
  36. OK
  37. Reading /etc/amportal.conf..parsed amp_conf variables from /etc/amportal.conf:
  38. amp_conf [AMPDBHOST] => [localhost]
  39. amp_conf [AMPDBENGINE] => [mysql]
  40. amp_conf [AMPENGINE] => [asterisk]
  41. amp_conf [AMPMGRUSER] => [admin]
  42. amp_conf [AMPMGRPASS] => [amp111]
  43. amp_conf [AMPBIN] => [/var/lib/asterisk/bin]
  44. amp_conf [AMPSBIN] => [/usr/local/sbin]
  45. amp_conf [AMPWEBROOT] => [/var/www/html]
  46. amp_conf [AMPCGIBIN] => [/var/www/cgi-bin ]
  47. amp_conf [FOPWEBROOT] => [/var/www/html/panel]
  48. amp_conf [FOPPASSWORD] => [passw0rd]
  49. amp_conf [AUTHTYPE] => [database]
  50. amp_conf [AMPEXTENSIONS] => [extensions]
  51. amp_conf [AMPDBUSER] => [humpty]
  52. amp_conf [AMPDBPASS] => [dumpty]
  53. amp_conf [AMPWEBADDRESS] => [10.1.1.243]
  54. amp_conf [AMPDBNAME] => [asterisk]
  55. OK
  56. Checking for /etc/asterisk/asterisk.conf../etc/asterisk/asterisk.conf does not exist, copying default
  57. OK
  58. Reading /etc/asterisk/asterisk.conf..OK
  59. Using asterisk as PBX Engine
  60. Checking for Asterisk version..1.8.13.0
  61. Checking for selinux..OK
  62. Connecting to database..OK
  63. Checking current version of AMP..2.10.0
  64. Installing new FreePBX files..OK (293 files copied, 0 skipped)
  65. amportal..no fpbx..freepbx_engine..freepbx_setting..gen_amp_conf.php..done
  66. mkdir: missing operand
  67. Try `mkdir --help' for more information.
  68. apply username/password changes to conf files:
  69. running apply_conf.sh from freepbx_settings
  70. sed: can't read /cdr_mysql.conf: No such file or directory
  71. sed: can't read /cdr_mysql.conf: No such file or directory
  72. sed: can't read /cdr_mysql.conf: No such file or directory
  73. sed: can't read /manager.conf: No such file or directory
  74. sed: can't read /manager.conf: No such file or directory
  75. Bootstrapping Configuration Settings
  76. Updating configuration...
  77. /cdr_mysql.conf user: [] password: [] hostname: []
  78. /manager.conf user: [] secret: []
  79. /vm_email.inc
  80. You might need to modify /etc/asterisk/vm_email.inc manually
  81. Done
  82. done with apply_conf.sh
  83. creating missing #include files..OK
  84. OK
  85. Setting permissions on files..mkdir: missing operand
  86. Try `mkdir --help' for more information.
  87. OK
  88. Checking for upgrades..1 found
  89. Upgrading to 2.10.1..
  90. -> Running PHP script /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php
  91. removing deprecated Advanced settings if needed..ok
  92. PHP Notice: Uninitialized string offset: 0 in /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php on line 35
  93. PHP Notice: Uninitialized string offset: 0 in /usr/src/freepbx-2.10.0/upgrades/2.10.1/migration.php on line 35
  94. writetimeout not present, adding
  95. writetimeout added to manager.conf
  96. Upgrading to 2.10.1..OK
  97. 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
  98. ..OK
  99. Generating AMP configs..
  100. Generating Configurations.conf, (if Asterisk is not running, you will get an error
  101. In case of error, start Asterisk and hit the red bar in the GUI to generate the Configurations.conf files
  102. sudo: /var/lib/asterisk/bin/retrieve_conf: command not found
  103. Generating AMP configs..OK
  104. Please update your modules and reload Asterisk by visiting http://10.1.1.243/admin
  105.  
  106. *************************************************************************
  107. * Note: It's possible that if you click the red 'Update Now' bar BEFORE *
  108. * updating your modules, your machine will start dropping calls. Ensure *
  109. * that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
  110. * as this is observed, your machine will be fully functional whilst the *
  111. * upgrade is in progress. *
  112. *************************************************************************
  113. root@PBX2:/usr/src/freepbx-2.10.0#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement